:root {
    --primary: #0F172A;
    --primary-dark: #020617;
    --accent: #06B6D4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --purple: #8B5CF6;
    --bg: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-soft: rgba(255, 255, 255, 0.5);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .brand {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}
a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--purple);
    text-decoration: none;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 20px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.header-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(to right, #06B6D4, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tagline {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-top: 4px;
}
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #CBD5E1;
}
.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Main Layout */
main {
    max-width: 1040px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

/* Glow Background & Floating Blobs */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #EEF2F6 0%, #E2E8F0 100%);
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    mix-blend-mode: multiply;
    animation: float 20s infinite alternate ease-in-out;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.25); /* Cyan */
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}
.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.2); /* Purple */
    bottom: -10%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: 2s;
}
.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.15); /* Pink */
    top: 40%;
    left: 50%;
    animation-duration: 22s;
    animation-delay: 5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -50px) scale(1.1) rotate(120deg); }
    66% { transform: translate(-20px, 20px) scale(0.95) rotate(240deg); }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

/* Glassmorphism & 3D Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    /* 3D double shadow effect */
    box-shadow: 
        0 1px 3px rgba(15, 23, 42, 0.03),
        0 10px 40px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Force equal heights in grid/flex */
    justify-content: flex-start;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s;
}

.glass-card.hoverable:hover {
    /* 3D lift and tilt transition */
    transform: translateY(-8px) scale(1.01) rotateX(1.5deg) rotateY(1.5deg);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 
        0 20px 45px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(6, 182, 212, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 3D Tactile Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px; /* Sleeker, less bubbly */
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    position: relative;
    /* 3D Extrusion Effect */
    box-shadow: 
        0 4px 0 #0891B2, /* Darker cyan edge */
        0 8px 20px rgba(6, 182, 212, 0.35);
    transition: all 0.15s ease-out;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #0891B2,
        0 12px 24px rgba(6, 182, 212, 0.45);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #0891B2,
        0 4px 10px rgba(6, 182, 212, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 12px;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(6, 182, 212, 0.02);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.05);
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: rgba(6, 182, 212, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.12);
    color: var(--accent);
}

.btn-outline:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.05);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 60px;
    background: #fff;
}

/* Landing Page Grid & Hero Layouts */
.section {
    padding: 60px 0;
}
.section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 40px 0 60px 0;
}
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 16px;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
.hero-list {
    margin: 0 0 24px 0;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.device-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.benefits-grid h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.benefits-grid p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.pricing-grid h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--primary);
}
.pricing-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 12px 0 4px;
}
.pricing-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.pricing-grid ul {
    padding-left: 20px;
    margin-bottom: 24px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9rem;
}
.pricing-grid .btn-primary {
    margin-top: auto;
    width: 100%;
}

.affiliate-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 3D Immersive Template Scroll-Driven Background CSS */
#immersive-eye-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Place it behind the text and cards, but in front of background blobs */
    pointer-events: none; /* Let users click/scroll through it to select text */
    overflow: hidden;
    transition: opacity 0.5s ease;
}

/* Translucent glass cards for WebGL eye to peek through */
.glass-card {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.step-card {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(6, 182, 212, 0.08);
    line-height: 1;
    user-select: none;
    font-family: 'Outfit', sans-serif;
}

.step-title {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Vision Anaglyph Theme Text Styling */
.vision-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    /* Red-Cyan stereoscopic shadow effect */
    text-shadow: 
        -1.5px -0.5px 0px rgba(255, 0, 0, 0.45),
        1.5px 0.5px 0px rgba(6, 182, 212, 0.45);
    position: relative;
}

.vision-title-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
}

.logo-image:hover {
    transform: rotate(15deg) scale(1.1);
}

/* Extra Mobile friendly adjustments */
@media (max-width: 768px) {
    .glass-card {
        padding: 24px !important;
        background: rgba(255, 255, 255, 0.7) !important; /* Increase opacity slightly for text contrast on smaller screens */
    }
    
    header .brand {
        font-size: 1.2rem;
    }
    
    header .tagline {
        display: none; /* Hide tagline on mobile navbar to save space */
    }
}

/* Fix stacked glass cards height overflow on affiliate page */
.affiliate-container .glass-card {
    height: auto !important;
}
