/* ===== Base & Reset ===== */
:root {
    --header-height: 80px; /* Add this line to define header height */
    /* Color System */
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #c4b5fd;
    --secondary: #6366f1;
    --accent: #f43f5e;
    --dark: #0f0e24;
    --darker: #0a0918;
    --dark-transparent: rgba(15, 14, 36, 0.9);
    --light: #f9fafb;
    --gray: #6b7280;
    --dark-gray: #1f2937;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Text Colors */
    --text: #f8fafc;
    --text-light: #f9fafb;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--darker), var(--dark));
    
    /* Glass Effect */
    --glass-bg: rgba(15, 14, 36, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    
    /* Card Styles */
    --card-bg: rgba(30, 27, 75, 0.4);
    --card-border: rgba(139, 92, 246, 0.2);
    --card-hover: rgba(139, 92, 246, 0.15);
    
    /* Transitions & Animations - Smoother and more refined */
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 0 40px rgba(139, 92, 246, 0.5);
    --shadow-primary: 0 0 30px rgba(139, 92, 246, 0.4);
    --shadow-primary-lg: 0 0 60px rgba(139, 92, 246, 0.6);
    
    /* Layout */
    --container-width: 1400px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* 3D Perspective */
    --perspective: 1000px;
    --depth: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth transitions for all interactive elements */
a, button, .btn, .card, .feature-card, .pricing-card, .benchmark-card, .testimonial-card {
    transition: var(--transition);
}

/* Smoother hover effects for links only */
a:not(.btn):hover {
    transform: translateY(-2px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: visible;
    height: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #0f172a;
    background: radial-gradient(ellipse at top, #0f1a2e 0%, #0f172a 100%);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
}
h2 { 
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.25;
}
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 6rem 0;
    position: relative;
    background: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title .highlight {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -o-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.bg-light {
    background: rgba(30, 41, 59, 0.4);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    margin: 1rem;
    padding: 2rem;
}

.bg-dark {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    color: white;
}

.bg-dark p, .bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: white;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px !important; /* Force rounded buttons */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.875rem;
}

.btn i {
    margin-left: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow);
    border-radius: 50px !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px !important;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    padding: 0.5rem 0;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
}

/* Main content area */
.page-wrapper {
    padding-top: var(--header-height);
    width: 100%;
}

/* Ensure sections have proper spacing */
.section {
    padding: 6rem 0;
    position: relative;
    background: transparent;
}

/* First section should have extra top padding */
.section:first-of-type {
    padding-top: 8rem;
}

/* Ensure content doesn't go under fixed header */
#features,
#testimonials,
#contact,
#pricing,
#showcase,
#versions {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* ===== Header & Navigation ===== */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .container {
    padding: 0 2rem;
    max-width: 100%;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    position: relative;
    z-index: 1001;
    padding: 0.25rem 0;
    width: 100%;
    gap: 3rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -moz-background-clip: text;
    -o-background-clip: text;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    z-index: 1;
    transition: var(--transition);
    justify-self: start;
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.logo:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.3;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-self: center;
    grid-column: 2;
}

/* Auth Actions - Far Right */
.nav-auth-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-self: end;
    grid-column: 3;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    margin: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a:hover {
    color: white;
    opacity: 1;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* CTA Button */
.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    margin-left: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta span {
    position: relative;
    z-index: 2;
}

.nav-cta i {
    position: relative;
    z-index: 2;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.5);
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-cta:hover i {
    transform: translateX(3px);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.nav-cta:hover {
    animation: pulse-glow 1.5s infinite;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-btn span:first-child {
    width: 100%;
}

.mobile-menu-btn span:nth-child(2) {
    width: 80%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.mobile-menu-btn span:last-child {
    width: 60%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.mobile-menu-btn:hover span {
    background: var(--primary);
}

.mobile-menu-btn:hover span:first-child {
    width: 60%;
}

.mobile-menu-btn:hover span:nth-child(2) {
    width: 100%;
}

.mobile-menu-btn:hover span:last-child {
    width: 80%;
}

.mobile-menu-btn.active span:first-child {
    transform: translateY(10.5px) rotate(45deg);
    width: 100%;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:last-child {
    transform: translateY(-10.5px) rotate(-45deg);
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    color: #ffffff; /* Ensure default text color is white */
}

.hero .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

.hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
padding: 4rem 0 0;
margin-top: calc(-1 * var(--header-height));
}

.hero::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 100%;
height: 200%;
background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
z-index: -1;
animation: pulse 15s infinite alternate;
}

.hero-content {
max-width: 900px;
margin: 0 auto;
text-align: center;
position: relative;
z-index: 1;
transform: translateY(calc(20px * (1 - var(--scroll-pos))));
opacity: calc(1 - (var(--scroll-pos) * 0.5));
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
will-change: transform, opacity;
}

.hero h1 {
font-size: 4rem;
margin-bottom: 1.5rem;
line-height: 1.1;
font-weight: 900;
letter-spacing: -0.03em;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
background: linear-gradient(to right, #fff, #e0e7ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
position: relative;
display: inline-block;
margin-left: auto;
margin-right: auto;
max-width: 90%;
}

.hero h1 .highlight {
position: relative;
display: inline-block;
}

.hero h1 .highlight::after {
content: '';
position: absolute;
bottom: 5px;
left: 0;
width: 100%;
height: 12px;
background: linear-gradient(90deg, rgba(79, 70, 229, 0.3), rgba(124, 58, 237, 0.3));
z-index: -1;
border-radius: 4px;
transform: scaleX(1.05) skewX(-15deg);
transform-origin: left;
transition: all 0.3s ease;
}

.hero h1:hover .highlight::after {
height: 16px;
bottom: 3px;
background: linear-gradient(90deg, rgba(79, 70, 229, 0.4), rgba(124, 58, 237, 0.4));
}

.hero-subtitle {
font-size: 1.35rem;
color: var(--text-muted);
margin-bottom: 2.5rem;
line-height: 1.7;
max-width: 700px;
margin-left: auto;
margin-right: auto;
font-weight: 400;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
opacity: 0.95;
}

.cta-buttons {
display: flex;
gap: 1.5rem;
margin-bottom: 4rem;
flex-wrap: wrap;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.875rem 1.75rem;
border-radius: 10px;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 2px solid transparent;
font-size: 1rem;
text-decoration: none;
position: relative;
overflow: hidden;
z-index: 1;
transform: translateZ(0);
will-change: transform, box-shadow;
}

.btn:not(.centered-feature .btn) i {
    transition: transform 0.3s ease;
}

.btn:not(.centered-feature .btn):hover i {
    transform: translateX(3px);
}

/* Centered-feature button has no icon animations */
.centered-feature .btn i {
    transition: none !important;
    transform: none !important;
}

.btn:not(.centered-feature .btn):active {
    transform: translateY(1px) scale(0.99);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn.nav-link-auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link-auth:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
}

.nav-link-auth i {
    font-size: 1rem;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn.tab-button {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #94a3b8;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-button:hover::before {
    opacity: 1;
}

.tab-button.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.tab-button.active .tab-icon {
    fill: white;
    transform: scale(1.1);
}

.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.btn.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hover);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4), 0 8px 10px -6px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.btn.btn-outline {
    background: transparent;
    color: white;
}

.feature-list li {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-list li:hover::before {
    opacity: 1;
}

.feature-list li .feature-icon {
    transition: transform 0.3s ease;
}

.feature-list li:hover .feature-icon {
    transform: scale(1.2);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%) translateY(calc(20px * var(--scroll-pos)));
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    opacity: calc(1 - (var(--scroll-pos) * 2));
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: transform, opacity;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-scroll:hover {
    color: var(--primary);
    transform: translateX(-50%) translateY(calc(20px * var(--scroll-pos) + 5px));
}

.hero-scroll:active {
    transform: translateX(-50%) translateY(calc(20px * var(--scroll-pos) + 2px)) scale(0.95);
}

.hero-scroll span {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 24px;
    margin-top: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero-scroll:hover .mouse {
    border-color: var(--primary);
    transform: scale(1.05);
}

.hero-scroll:active .mouse {
    transform: scale(0.95);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll 2s infinite;
    position: relative;
    transition: background 0.3s ease;
}

.hero-scroll:hover .wheel {
    background: var(--primary);
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ===== Pricing Section ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--success);
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 600;
    width: 150px;
    text-align: center;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
    color: white;
}

.pricing-features {
    margin-bottom: 2.5rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-light);
}

.pricing-features i {
    color: var(--success);
}

/* ===== Testimonials Section ===== */
.testimonials-slider {
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.author-info span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ===== CTA Section ===== */
.bg-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    margin: 1rem;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.cta-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMSkiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIvPjwvc3ZnPg==');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cta-buttons .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-buttons .btn-primary {
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.3);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.4);
}

.cta-buttons .btn-outline {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

/* ===== Custom Icons ===== */
.logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
    fill: var(--primary-color);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.badge-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    fill: var(--accent-color);
}

.tab-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    fill: currentColor;
    transition: transform 0.3s ease, fill 0.3s ease;
}

.pane-icon {
    width: 80px;
    height: 80px;
    fill: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: middle;
    fill: var(--accent-color);
    flex-shrink: 0;
}

/* ===== Tab System ===== */
.tab-system {
    background: rgba(15, 23, 42, 0.9);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

/* ===== Footer ===== */
.footer {
    background: rgba(15, 23, 42, 0.9);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
}

.footer-links-group h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-links-group a {
    display: block;
    color: var(--gray);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    width: fit-content;
}

.footer-links-group a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    position: relative;
    display: inline-block;
    color: var(--gray);
    font-size: 0.875rem;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a:hover {
    color: white;
}

.footer-legal a:hover::after {
    width: 100%;
}

/* ===== Centered Feature Section ===== */
.centered-feature {
    max-width: 800px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(30, 27, 75, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.centered-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed, #4f46e5);
}

.centered-feature p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.centered-feature .feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.centered-feature .feature-list li {
    padding: 1rem 1.5rem;
    background: rgba(30, 27, 75, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    transition: all 0.4s var(--ease-out-quint);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    opacity: 0;
    animation: slideInRight 0.5s var(--ease-out-quint) forwards;
}

.centered-feature .feature-list li:nth-child(1) { animation-delay: 0.1s; }
.centered-feature .feature-list li:nth-child(2) { animation-delay: 0.2s; }
.centered-feature .feature-list li:nth-child(3) { animation-delay: 0.3s; }

.centered-feature .feature-list li:hover {
    background: rgba(139, 92, 246, 0.25);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.centered-feature .feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #8b5cf6, #7c3aed);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out-quint);
}

.centered-feature .feature-list li:hover::before {
    transform: scaleY(1);
}

.centered-feature .feature-list i {
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.2rem;
    min-width: 24px;
}

.centered-feature .btn {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding: 1rem 3rem !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    color: white !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4),
                0 0 40px rgba(139, 92, 246, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    will-change: transform, box-shadow !important;
    animation: btnFloat 3s ease-in-out infinite, btnGlowPulse 2s ease-in-out infinite !important;
}

/* Floating animation keyframes */
@keyframes btnFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1);
    }
}

/* Glow pulse animation keyframes */
@keyframes btnGlowPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4),
                    0 0 40px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.6),
                    0 0 60px rgba(139, 92, 246, 0.5),
                    0 0 100px rgba(139, 92, 246, 0.2);
    }
}

/* Shine animation keyframes */
@keyframes btnShine {
    0% {
        left: -150%;
    }
    50%, 100% {
        left: 150%;
    }
}

/* Hover glow pulse - faster and more intense */
@keyframes btnGlowPulseHover {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6),
                    0 0 60px rgba(139, 92, 246, 0.4),
                    0 0 100px rgba(139, 92, 246, 0.2);
    }
    50% {
        box-shadow: 0 8px 35px rgba(139, 92, 246, 0.7),
                    0 0 80px rgba(139, 92, 246, 0.5),
                    0 0 120px rgba(139, 92, 246, 0.3);
    }
}

.centered-feature .btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    z-index: -1 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50px !important;
}

/* Shine effect */
.centered-feature .btn::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -150% !important;
    width: 50% !important;
    height: 200% !important;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: rotate(25deg) !important;
    animation: btnShine 4s ease-in-out infinite !important;
    animation-delay: 0.5s !important;
    pointer-events: none !important;
}

.centered-feature .btn:hover::before {
    opacity: 1 !important;
}

.centered-feature .btn:hover {
    transform: translateY(-8px) scale(1.05) !important;
    animation: btnGlowPulseHover 1.5s ease-in-out infinite !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.centered-feature .btn:active {
    transform: translateY(-3px) scale(1.02) !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.5s ease-in-out;
    border: 1px solid var(--gray-light);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content p {
    margin-bottom: 1.5rem;
    color: var(--dark-2);
    font-size: 0.9375rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ===== Animations ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.3;
    }
}

@keyframes scroll {
    0% { 
        transform: translateY(0); 
        opacity: 1; 
    }
    80% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(12px); 
        opacity: 0; 
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 600px;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero h1 .highlight::after {
        height: 8px;
        bottom: 3px;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 90%;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        transform: translateX(-300px);
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links .btn-outline {
        margin: 1rem 0 0;
        padding: 0.75rem 1.5rem;
        width: 100%;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 7rem 0 5rem;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

/* ===== Accessibility: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable parallax effects */
    [data-parallax] {
        transform: none !important;
    }
}
