/* -----------------------------------------------------------
GLOBAL RESET + BASE
----------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* -----------------------------------------------------------
APPLE ANIMATIONS (FADE + GRADIENT) - IMPROVED
----------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.8s; }
.delay-3 { animation-delay: 1.2s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Animated gradient */
.gradient-animated {
    background: linear-gradient(90deg, #4ceaff, #c4ffdd, #4ceaff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    55% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* -----------------------------------------------------------
NAVBAR (WITH GRADIENT UNDERLINE)
----------------------------------------------------------- */
.cc-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(0,0,0,0.55);
    border-bottom: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        linear-gradient(90deg, #4ceaff, #c4ffdd, #4ceaff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: navGradientFlow 6s ease infinite;
    opacity: 0;
    animation: navFadeIn 1s ease forwards, navGradientFlow 6s ease infinite;
}

@keyframes navFadeIn {
    to { opacity: 1; }
}

@keyframes navGradientFlow {
    0% { background-position: 0% 50%, 0% 50%; }
    55% { background-position: 0% 50%, 100% 50%; }
    100% { background-position: 0% 50%, 0% 50%; }
}

.cc-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cc-logo-image {
    height: 24px !important;
    width: auto !important;
    max-height: 24px !important;
    max-width: 120px !important;
    object-fit: contain !important;
    display: block;
    overflow: hidden;
}
.cc-logo-mark {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(200,255,220,0.8);
    font-size: 11px;
}

.cc-logo-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
}

.cc-nav-links {
    display: flex;
    gap: 20px;
}

.cc-nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    transition: 0.25s ease;
}

.cc-nav-links a:hover {
    color: #fff;
}

.cc-nav-cta {
    display: flex;
    gap: 10px;
}

/* -----------------------------------------------------------
BUTTONS
----------------------------------------------------------- */
.cc-btn {
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s ease;
    text-decoration: none;
}

.cc-btn-lg { padding: 10px 22px; }

.cc-btn-primary {
    background: linear-gradient(135deg, #86ffde, #68b6ff);
    color: #000;
    font-weight: 600;
}

.cc-btn-primary:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.cc-btn-outline {
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}

.cc-btn-outline:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
}

/* -----------------------------------------------------------
HERO (MINIMAL APPLE STYLE)
----------------------------------------------------------- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-inner {
    max-width: 800px;
}

.hero-header {
    margin-bottom: 28px;
}

.hero-overline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #4ceaff, #c4ffdd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.headline {
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 700;
    line-height: 1.02;
    margin-bottom: 0;
}

.accent {
    background: linear-gradient(90deg, #4ceaff, #c4ffdd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sub {
    font-size: clamp(17px, 1.4vw, 22px);
    color: #c9c9c9;
    max-width: 620px;
    margin: 0 auto 42px;
    line-height: 1.6;
}

.cta {
    display: inline-block;
    padding: 14px 34px;
    font-size: 17px;
    font-weight: 600;
    background: #0a84ff;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    transition: 0.25s ease;
}

.cta:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

/* -----------------------------------------------------------
SECTIONS & HEADERS
----------------------------------------------------------- */
.cc-section {
    padding: 90px 20px;
}

.cc-section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.cc-section-header {
    max-width: 780px;
    margin-bottom: 35px;
}

.cc-tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: rgba(180,190,220,0.85);
    margin-bottom: 10px;
}

.cc-section-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 10px;
}

.cc-section-lede {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(220,230,255,0.85);
    margin-bottom: 10px;
}

.gradient-text {
    background: linear-gradient(90deg, #e6fbff, #bafff6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* -----------------------------------------------------------
GRID & CARDS
----------------------------------------------------------- */
.cc-grid {
    display: grid;
    gap: 22px;
}

.cc-grid-3 {
    grid-template-columns: repeat(3,1fr);
}

.cc-card {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(76, 234, 255, 0.1);
}

.cc-card h3 {
    margin-bottom: 10px;
}

.cc-card p {
    font-size: 14px;
    color: rgba(230,230,255,0.88);
    line-height: 1.6;
}

.cc-card-numbered {
    position: relative;
    padding-top: 50px;
}

.cc-step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #4ceaff, #c4ffdd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.cc-card-numbered:hover .cc-step-number {
    opacity: 0.7;
}

/* -----------------------------------------------------------
MODES - UPDATED WITH CENTER ALIGNMENT & HOVER
----------------------------------------------------------- */
.cc-modes-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.cc-modes-grid .cc-mode-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
}

.cc-mode-card {
    background: rgba(10,10,12,0.85);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 22px;
    padding: 22px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc-mode-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(20,20,25,0.95);
    border-color: rgba(76, 234, 255, 0.3);
    box-shadow: 0 25px 50px rgba(76, 234, 255, 0.15);
}

.cc-mode-card h3 {
    margin-bottom: 12px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.cc-mode-card:hover h3 {
    background: linear-gradient(135deg, #4ceaff, #c4ffdd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cc-mode-card ul {
    list-style: none;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(220,230,255,0.9);
}

.cc-mode-card ul li {
    padding: 4px 0;
}

.cc-mode-note {
    font-size: 13px;
    color: rgba(180,190,220,0.85);
    font-style: italic;
}

/* -----------------------------------------------------------
WAITLIST FORM
----------------------------------------------------------- */
.cc-section-highlight {
    background: rgba(255,255,255,0.015);
}

.cc-form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(220,230,255,0.9);
}

.cc-form-row {
    display: flex;
    gap: 12px;
}

.cc-form-row input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(5,5,8,0.9);
    color: #fff;
    font-size: 15px;
    transition: 0.25s ease;
}

.cc-form-row input:focus {
    outline: none;
    border-color: #68b6ff;
    background: rgba(10,10,15,0.95);
}

/* -----------------------------------------------------------
FAQ
----------------------------------------------------------- */
.cc-faq details {
    background: rgba(255,255,255,0.03);
    padding: 16px;
    margin-bottom: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.cc-faq details:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
}

.cc-faq summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.cc-faq p {
    margin-top: 8px;
    color: rgba(215,225,255,0.9);
    font-size: 13px;
}

/* -----------------------------------------------------------
FOOTER
----------------------------------------------------------- */
.cc-footer {
    padding: 32px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.8);
}

.cc-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cc-footer-text {
    font-size: 13px;
    color: rgba(200,210,235,0.85);
}

.cc-footer-right {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: rgba(200,210,235,0.85);
}

.cc-footer-right a {
    color: rgba(200,210,235,0.85);
    text-decoration: none;
    transition: 0.25s ease;
}

.cc-footer-right a:hover {
    color: #fff;
}

/* -----------------------------------------------------------
RESPONSIVE
----------------------------------------------------------- */
@media (max-width: 900px) {
    .cc-grid-3 { grid-template-columns: 1fr; }
    .cc-modes-grid { 
        grid-template-columns: 1fr; 
    }
    
    .cc-modes-grid .cc-mode-card:nth-child(5) {
        grid-column: 1;
        max-width: 100%;
    }
    
    .cc-nav-inner {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .cc-nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .headline { font-size: 38px; }
    
    .cc-form-row {
        flex-direction: column;
    }
    
    .cc-nav-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .cc-nav-cta .cc-btn {
        width: 100%;
    }
    
    .cc-nav-cta .cc-btn,
    .no-underline {
    text-decoration: none !important;
    }
    
    .cc-footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}