/* Base & Variables - Apple Premium Aesthetic */
:root {
    --bg-color: #000000; /* Pure infinite black */
    --surface-color: #111111; /* Very dark gray for contrast */
    --surface-glass: rgba(25, 25, 25, 0.6);
    --text-primary: #f5f5f7; /* Apple off-white */
    --text-secondary: #86868b; /* Apple subtle gray */
    
    --accent-gradient: linear-gradient(135deg, #A8C0FF 0%, #3f2b96 100%); /* Elegant subdued purple/blue */
    --accent-solid: #2997ff; /* Apple blue */
    
    --font-heading: 'Inter', -apple-system, system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth spring-like transition */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    animation: pageFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

*:focus-visible {
    outline: 2px solid var(--accent-solid);
    outline-offset: 4px;
    border-radius: 4px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: -0.04em; /* Tight tracking like Apple */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, #A8C0FF 0%, #3f2b96 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Structural Spacing */
.section-padding {
    padding: 5rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Ultra-Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(63, 43, 150, 0.3);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(63, 43, 150, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.03);
}

/* Tactile Click Physics */
.btn:active, .service-card:active, .process-step:active, .video-card:active, .faq-header:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Minimalist Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
}

.logo .highlight {
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
    padding: 0.5rem;
    margin-right: -0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle at center, rgba(168, 192, 255, 0.15) 0%, rgba(63, 43, 150, 0.1) 40%, transparent 70%);
    z-index: 0;
    filter: blur(60px);
    animation: drift 15s ease-in-out infinite alternate;
}

@keyframes drift {
    0% { transform: translate(-50%, -40%) scale(1); }
    100% { transform: translate(-40%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(41, 151, 255, 0.1);
    color: var(--accent-solid);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Sections */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Subtle Cards & Panels */
.glass-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 3rem;
    transition: var(--transition);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(35, 35, 35, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.process-step {
    padding: 2.5rem;
    background: #0a0a0a;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.process-step:hover {
    background: #111;
    border-color: rgba(255,255,255,0.08);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.4s ease;
}

.faq-body {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-secondary);
}

.faq-item.active {
    background: #111;
    border-color: rgba(255,255,255,0.1);
}

.faq-item.active .faq-body {
    padding: 0 1.8rem 1.8rem;
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #fff;
}

/* Video & Forms */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.video-card {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-content {
    padding: 2rem;
}

/* Custom Lists */
.premium-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.premium-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.pain-list li {
    background: rgba(255, 90, 90, 0.05);
    border: 1px solid rgba(255, 90, 90, 0.1);
    color: #ffb3b3;
}
.pain-list li:hover {
    background: rgba(255, 90, 90, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 90, 90, 0.3);
}
.pain-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(255, 90, 90, 0.2);
    color: #ff6b6b;
    border-radius: 50%;
}

.included-list li {
    background: rgba(41, 151, 255, 0.05);
    border: 1px solid rgba(41, 151, 255, 0.1);
    color: #e0f2fe;
}
.included-list li:hover {
    background: rgba(41, 151, 255, 0.12);
    transform: translateX(5px);
    border-color: rgba(41, 151, 255, 0.3);
}
.included-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(41, 151, 255, 0.2);
    color: #38bdf8;
    border-radius: 50%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
    background: #111;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 2rem 2rem;
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.85rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
        z-index: 1050;
        gap: 3rem;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links a:not(.btn) { font-size: 1.5rem; }

    .hero-title { font-size: 2.8rem; }
    .hero-cta-group { flex-direction: column; }
    .section-title { font-size: 2.2rem; }
    .section-padding { padding: 3rem 1.5rem; }
}
