/* core.css */
:root {
    --nano-blue: #4a90e2;
    --nano-dark: #1a2a44;
    --nano-light: #f5f7fa;
    --nano-accent: #209ce9;
    --dark-theme-dark: #2d2f31;
    --dark-theme-dark2: #27292b;
    --dark-theme-dark3: #1e1e1e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-weight: 300; /* Adjust for thinner look */
    margin: 0;
   /* padding: 20px;  */
    background: var(--nano-light);
    color: var(--nano-dark);
    height: 100vh;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    display: flex;
    min-height: 100vh;
    position: relative; /* Contains absolute children */
    overflow-x: hidden; /* Prevents horizontal overflow */

}

body.dark {
    background: var(--dark-theme-dark2);
    color: var(--nano-light);
}

/*prevent the background color from changing on input autofill */
body.dark input:-webkit-autofill {
    -webkit-text-fill-color: var(--nano-light);  /* Keep original text color */
    caret-color: inherit !important;              /* Keep original cursor color */
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; /* Remove forced yellow bg */
    transition: background-color 9999s ease-in-out; /* Prevent Chrome from forcing colors */
 }


/* nanswap widget */
.ant-card {
    background-color: var(--nano-light) !important;
}
body.dark .ant-card {
    background-color: var(--dark-theme-dark2) !important;
}


.content-wrapper {
    flex: 1;
    margin-left: 250px;
    transition: margin-left 0.3s;
    min-height: 100vh;
    padding: 20px 0px;
    max-width: 100%;

}

.content-wrapper-expanded {
    margin-left: 60px;
}

#container {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

::selection {
    color: #24abff; /* Text color when highlighted */
    background-color: #0000001a;
}

button.call-to-action-btn {
    display: inline-block;
    background: linear-gradient(to right, #219de5, #30be78);
    color: #ffffff !important;
    padding: 0rem 2rem;
    border-radius: 50px;
    font-weight: 200;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 114, 245, 0.3);
    text-align: center;
    margin-top: 1.1em;
    height: 60px;
    font-size: 1.2em;
}

.call-to-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 114, 245, 0.5);
}

.nano-symbol {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}





body.dark .hero-content-text p  {
    background-color: #27292b; 
}

button {
    font-family: 'Outfit', sans-serif;
    font-weight: 300; /* Adjust for thinner look */
    min-width: 40px;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /*remove mobile highlight*/
}


.line {
    position: relative;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.line::after {
    content: "";
    position: absolute;
    top: -1px; /* Aligns with the border */
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

body.dark .line::after {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section h1,
.section h2,
.section h3 {
    font-size: 3.0em;
    font-weight: 100;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--nano-accent), #34c759);
    -webkit-background-clip: text;
    color: transparent;
}

.tab-pane h1,
.tab-pane h2,
.tab-pane h3 {
    font-size: 2.5em;
    font-weight: 100;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--nano-accent), #34c759);
    -webkit-background-clip: text;
    color: transparent;
}

.tab-pane h2 {
    font-size: 2.0em;
}

.tab-pane h3 {
    font-size: 1.5em;
    text-align: center;
    font-weight: 200;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.theme-toggle:hover {
    opacity: 0.8;
}

.tab-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

body.dark .tab-container {
    background: var(--dark-theme-dark);
}

.tab-buttons {
    display: flex;
    background: #f5f7fa;
    border-radius: 10px 10px 0 0;
}

body.dark .tab-buttons {
    background: var(--dark-theme-dark2);
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: #f5f7fa;
    color: #272727;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

body.dark .tab-btn {
    background: var(--dark-theme-dark2);
    color: var(--nano-blue);
}

.tab-btn:hover {
    background: #ffffff9c;
}

body.dark .tab-btn:hover {
    background: #555;
}

.tab-btn.active {
    background: var(--nano-accent);
    color: white;
}

body.dark .tab-btn.active {
    background: var(--nano-blue);
    color: #ffffff;
}

.tab-content {
    padding: 10px 25px;
    text-align: left;
}


.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.sub-tab-pane {
    display: none;
}

.sub-tab-pane.active {
    display: block;
}

.sub-tab-btn {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--nano-dark);
    position: relative;
}

body.dark .sub-tab-btn{
    color: #ffffff;
}

.sub-tab-btn.active {
    box-shadow: inset 0 -2px 0 0 var(--nano-accent);
}

.sub-tabs {
    border-bottom: 1px solid #444;
    
}

.tab-content.sub-tabs {
    padding: 0px 25px;
    text-align: left;
    display: flex;
}

.sub-tab-btn svg {
    margin-right: 8px; /* space between icon and text */
}

tr {
    font-size: 14px;
}

#response a {
    color: var(--nano-accent) !important;
}

.credit-text {
    text-align: center;
}

.credit-text a {
    color: inherit;
    text-decoration: none;
}

.credit-link,
.credit-link:visited,
.credit-link:hover,
.credit-link:active,
.credit-link:focus {
    font-family: "Playwrite IT Moderna", serif;
    font-size: 30px;
    font-weight: bold;
    color: transparent !important;
    background: linear-gradient(90deg, var(--nano-accent), #34c759);
    -webkit-background-clip: text;
    background-clip: text;
    padding: 10px;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

a {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
  }


.xno-progress-bar-container {
    width: 100%;
    background-color: #d7d7d7;
    border-radius: 5px;
    margin-bottom: 10px;
}

body.dark .xno-progress-bar-container {
    background-color: #1e1e1e;
}

.xno-progress-bar {
    height: 2px;
    background-color: #a3a3a3;
    border-radius: 5px;
}

.xno-progress-bar-best {
    height: 2px;
    background-color: var(--nano-blue);
    border-radius: 5px;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-bottom: 80px;
    top: 20px;

.hero-content {
    text-align: center;
}

}
.hero-content h1 {
    font-size: 6em;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--nano-theme-dark2) !important;
    margin: 0;
}

body.dark .hero-content h1 {
    color: var(--nano-light) !important;
}
.hero-content-text p {
    background-color: #f5f7fa;
    padding: 5px 10px; 
    display: inline; 
    font-size: 2.0em;
    line-height: 1.8em;
}

.icon {
    width: 2.0rem;
    height: 2.0rem;
    margin-right: 0.5rem;
    stroke-width: 1;
    color: var(--nano-blue);

}

body.dark .icon {
color: var(--nano-blue);
}

.centered-icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

ul {
    padding-left: 20px;
    list-style-type: "";
}

a {
    color: var(--nano-accent);
}

body.dark a {
    color: var(--nano-accent);
}



.testimonial {
    background: linear-gradient(90deg, var(--nano-accent), #34c759);
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    font-size: 42px;
    font-weight: 500;
    margin-left: 17px;
    max-width: 75%;
    margin: 80px 30px 40px;
}

body.dark .testimonial {
    font-weight: 200;
}

.testimonial::before {
    content: "\201C";
    position: absolute;
    top: -50px;
    left: -20px;
    font-size: 5rem;
    background: inherit; /* Inherit gradient */
    -webkit-background-clip: text;
    color: transparent; /* Ensure transparency */
}

.testimonial-author {
    font-weight: 300;
    margin-top: 1rem;
    display: block;
    font-size: 30px;
}

label {
    color: #a0a0a0;
    font-size: small;
}

small {
    font-size: small;
}

 /* Pricing Section */
 .pricing {
    padding: 6rem 0;
  }
  
  .pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1rem 1rem;
    width: 250px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    box-shadow: 0 5px 10px rgba(0, 71, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;  /* Ensures that elements are spaced out */
  }
  

  .pricing-amount {
    width: 100%;
    text-align: center;
} 
  
  .pricing-card.popular {
  /*  background: linear-gradient(135deg, rgba(0, 71, 255, 0.15), rgba(0, 229, 255, 0.2));*/
    border: 1px solid rgba(0, 229, 255, 0.3);
  }
  
  .pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 71, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
  }
  
  .pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary);
  }
  
  .fee {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
  }

.pricing-features {
    margin: 0rem 0;
    list-style: none;
    height: 80%;
  }
  
  .pricing-features li {
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
  }
  
  .pricing-features i {
    color: var(--success);
    margin-right: 0.5rem;
  }
  

   /* How It Works */
   .how-it-works {
    padding: 2rem 0;
  }
  

  /* Floating animation for the step number */
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }
  
  
/* Additional styling for steps container */
.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    padding-bottom: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.stepsv2 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.stepv2 {
    display: flex;
    align-items: center;
    gap: 10px; /* Spacing between number and text */
    text-align: left; /* Left-align the text */
}

.stepv2 .step-number {
    width: 1.5em;
    height: 1.5em;
    animation: none;
}

.step h3 {
    padding: 0px 0px;
    margin: 0px 0px;
}
.step p {
    padding: 0px 0px;
    margin: 0px 0px;
}

  /* Step number styling with gradient */
.step-number {
    background: linear-gradient(90deg, var(--nano-accent), #34c759);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
    position: relative; /* Required for positioning the speed lines */
    animation: float 3s ease-in-out infinite; /* Floating animation */
    box-shadow: 0 4px 15px rgba(0, 114, 245, 0.3);
  }
  

.section {
    /* Spacious padding for full-width blocks */
    padding: 2rem clamp(1rem, 5vw, 3rem);
    
    /* Matte background with a subtle top sheen */
    background: #f8f9fa; /* Light mode: off-white */
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15) 0%, /* Faint sheen */
        transparent 10%
    );
    /* Sharp left accent with PlayStation blue */
    border-left: 3px solid var(--nano-accent); /* Thicker for visibility on big blocks */
    border-bottom: 1px solid rgba(0, 0, 0, 0.04); /* Light bottom edge */
    border-radius: 0; /* Edge-to-edge for full-width */
    
    /* Minimal shadow for subtle lift */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);


    line-height: 1.5;
    color: #1a1a1a;

    margin-top: 20px;
    margin-bottom: 20px;
}

/* Separator: Thin, full-width divider */
.section + .section {
    margin-top: 0; /* Stacked directly */
    position: relative;
}

.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.02),
        rgba(0, 0, 0, 0.06) 20%,
        rgba(0, 0, 0, 0.06) 80%,
        rgba(0, 0, 0, 0.02)
    );
}

/* Dark mode: PlayStation’s deep, techy aesthetic */
body.dark .section {
    background: var(--dark-theme-dark);
    background-image: linear-gradient(
        to bottom,
        var(--dark-theme-dark2) 0%, /* Subtle sheen */
        transparent 10%
    );
    border-left-color: var(--nano-accent);
    border-bottom-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    color: #d9d9d9; /* Soft white text */
}

body.dark .section + .section::before {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.08) 20%,
        rgba(255, 255, 255, 0.08) 80%,
        rgba(255, 255, 255, 0.02)
    );
}


/* Mobile Styles for Core Elements */
@media (pointer: coarse), (max-width: 1024px) {
    body {
        padding-bottom: 70px;
    }


    #container {
        max-width: 100%;
    }

    .section {
        padding: 1.5rem clamp(0.75rem, 4vw, 2rem);
        border-left-width: 3px; /* Slightly thinner on mobile */
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    }

    button {
        height: 40px;
    }
    

    .call-to-action-btn {
        display: inline-block;
        margin: 10px auto;
    }
    /* center action button */

    .testimonial {
        max-width: 100%;
        font-size: 32;
    }

    .section h1 {
        font-size: 2.5em;
    }
    .section h2 {
        font-size: 2.0em;
    }

    .section h3 {
        font-size: 2.0em;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        font-size: 1.2em;
    }

    .tab-buttons {
        flex-direction: column;
        border-radius: 10px;
    }

    .tab-btn {
        padding: 10px;
        font-size: 16px;
    }

    .tab-content {
        padding: 15px;
        padding-bottom: 100px;
    }

    .content-wrapper {
        padding: 30px 0px;
        margin-left: 0;
    }

    .credit-text {
        font-size: 20px;
    }

    .hero-content h1 {
        line-height: 1.2; /* Improve spacing */
        font-size: 4.5em;
    }

    .hero-content-text p {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {

    .section h2 {
        font-size: 1.8em;
    }

    .section h3 {
        font-size: 1.3em;
    }

    .tab-btn {
        font-size: 14px;
        padding: 8px;
    }
}