/*
   Localify Landing Page Styles
   Premium gaming-inspired design with tech-forward aesthetics
*/

/* ===== CSS Variables ===== */
:root {
    /* Updated color palette - premium gaming aesthetic */
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --accent: #9333ea;
    --accent-secondary: #f43f5e;
    --accent-tertiary: #06b6d4;
    --accent-glow: rgba(147, 51, 234, 0.3);
    --text: #0f172a;
    --text-light: #64748b;
    --background: #f8fafc;
    --background-dark: #f1f5f9;
    --card-bg: #ffffff;
    --card-bg-hover: #ffffff;
    --white: #ffffff;
    --black: #0a0a10;
    --success: #10b981;
    --error: #ef4444;
    --gradient-start: #4f46e5;
    --gradient-end: #9333ea;
    --gradient-secondary: linear-gradient(135deg, #f43f5e, #ec4899);
    --gradient-tertiary: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-hero: linear-gradient(135deg, #3730a3, #4f46e5);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(241, 245, 249, 0.5) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(147, 51, 234, 0.8) 0%, rgba(79, 70, 229, 0) 70%);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Lexend', 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-accent: 0 10px 25px rgba(147, 51, 234, 0.25);
    --shadow-btn: 0 10px 20px rgba(147, 51, 234, 0.3);
    --shadow-card-hover: 0 20px 40px rgba(147, 51, 234, 0.2);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.215, 0.61, 0.355, 1);
    --transition-normal: 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
    --transition-slow: 500ms cubic-bezier(0.215, 0.61, 0.355, 1);

    /* Container widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;

    /* Colors */
    --text: #222;
    --text-light: #666;
    --white: #fff;
    --black: #000;
    --primary: #6366f1;
    --secondary: #4f46e5;
    --primary-gradient: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    --secondary-gradient: linear-gradient(90deg, var(--secondary) 0%, #3730a3 100%);
    --color-primary-rgb: 99, 102, 241;
    --color-primary-300: #a5b4fc;
    --color-primary-600: #4f46e5;
    --color-primary-700: #3730a3;
    --color-background-700: #1f2937;
    --color-background-800: #1a202c;
    --color-gray-200: #e4e4e7;
    --color-gray-300: #d4d4d8;
    --color-gray-400: #a1a1aa;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;

    --spacing-xs: var(--space-xs);
    --spacing-sm: var(--space-sm);
    --spacing-md: var(--space-md);
    --spacing-lg: var(--space-lg);
    --spacing-xl: var(--space-xl);
    --spacing-xxl: var(--space-xxl);

    /* Other */
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.5;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

ul,
ol {
    list-style-position: inside;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: var(--space-md);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    letter-spacing: -0.01em;
}

p {
    margin-bottom: var(--space-md);
}

.section-heading {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

/* ===== Layout ===== */
.container {
    width: 90%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-lg) 0;
    position: relative;
    margin-bottom: 0;
}

main section:nth-child(even) {
    background-color: var(--card-bg);
}

main section:nth-child(odd) {
    background-color: var(--background);
    position: relative;
    z-index: 1;
}

/* Custom Landing Page Section */
section.my-landing-page-section {
    /* Reset any inherited styles first */
    all: initial;

    /* Restore font family */
    font-family: var(--font-main);

    /* Background */
    background-color: rgb(255, 255, 255);
    background-image: none;
    background-size: auto;
    background-position: 0% 0%;
    background-repeat: repeat;

    /* Border */
    border: none;

    /* Padding */
    padding: 60px 20px;

    /* Margin */
    margin: 0px;

    /* Display and Layout */
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    /* Dimensions */
    width: 358px;
    height: 630px;

    /* Other */
    box-shadow: none;
    opacity: 1;

    /* Ensure proper positioning */
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text);
    letter-spacing: -0.02em;
    display: block;
}

.logo-accent {
    color: var(--accent);
    font-weight: 800;
}

.footer-logo-text {
    color: var(--white);
    font-size: 1.5rem;
}

.nav-list {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .header .container {
        justify-content: center;
    }

    .nav-list {
        display: none;
        /* Hide navigation on mobile */
    }

    .logo-text {
        font-size: 1.5rem;
        /* Slightly smaller logo on mobile */
    }
}

/* Tablet and larger screens */
@media (min-width: 769px) {
    .header .container {
        justify-content: space-between;
    }

    .nav-list {
        display: flex;
    }
}

.nav-list a {
    font-weight: 600;
    position: relative;
    padding: var(--space-xs) var(--space-sm);
    color: var(--text);
    transition: all var(--transition-normal);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width var(--transition-normal);
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a[href="#how-it-works"] {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.nav-list a[href="#how-it-works"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-list a[href="#how-it-works"]::after {
    display: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: var(--shadow-btn);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background-color: rgba(140, 82, 255, 0.1);
    color: var(--primary);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: var(--space-xxl) 0 calc(var(--space-xxl) * 1.5);
    background: var(--gradient-hero);
    overflow: hidden;
    margin-bottom: 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(147, 51, 234, 0.5) 0%, transparent 25%),
        radial-gradient(circle at 85% 70%, rgba(147, 51, 234, 0.5) 0%, transparent 25%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero h1,
.hero p {
    color: var(--white);
    max-width: 900px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-family: var(--font-heading);
    margin-bottom: var(--space-lg);
    background: linear-gradient(to right, #ffffff, #c5c8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeIn 1s ease-out forwards;
}

.hero p {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    margin-bottom: var(--space-xl);
    opacity: 0;
    max-width: 800px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.hero-floating-element {
    position: absolute;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0.4;
    filter: blur(20px);
}

.hero-element-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 15%;
    animation: float 12s ease-in-out infinite;
}

.hero-element-2 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 10%;
    animation: float 16s ease-in-out infinite;
    animation-delay: 1s;
    background: linear-gradient(135deg, var(--accent-tertiary), var(--primary));
}

.hero-element-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 25%;
    animation: float 14s ease-in-out infinite;
    animation-delay: 2s;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    animation: fade-in 0.8s ease forwards 1.5s;
}

.scroll-indicator::before {
    content: '';
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    margin-top: 8px;
    animation: scroll-down 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: 'Scroll';
    position: absolute;
    bottom: -25px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ===== Solution Section ===== */
.solution {
    position: relative;
    padding: var(--space-xl) 0;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--background), rgba(var(--color-primary-rgb), 0.03));
}

.solution-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.solution-content {
    position: relative;
}

.solution-text {
    max-width: 720px;
}

.solution-heading {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-description {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.4s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.6s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.8s;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
}

.solution-visual {
    position: relative;
    height: 600px;
}

.solution-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: floatIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0.6s;
}

.card-2 {
    top: 40%;
    right: 0;
    animation-delay: 0.8s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 1s;
}

.card-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(147, 51, 234, 0.1));
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.card-content {
    flex: 1;
}

.card-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.card-text {
    font-size: 0.875rem;
    color: var(--text-light);
}

.solution-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.gradient-orb.primary {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center,
            rgba(var(--color-primary-rgb), 0.15) 0%,
            rgba(var(--color-primary-rgb), 0) 70%);
    top: -200px;
    right: -100px;
    animation: float 20s infinite alternate;
}

.gradient-orb.secondary {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center,
            rgba(147, 51, 234, 0.15) 0%,
            rgba(147, 51, 234, 0) 70%);
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite alternate-reverse;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 20px);
    }

    100% {
        transform: translate(30px, -20px);
    }
}

@media (max-width: 1200px) {
    .solution-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .solution-text {
        max-width: 800px;
        margin: 0 auto;
    }

    .solution-stats {
        justify-content: center;
    }

    .solution-visual {
        height: 500px;
        order: -1;
    }

    .floating-card {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .solution {
        padding: var(--space-md) 0;
    }

    .solution-heading {
        font-size: 2rem;
    }

    .solution-description {
        font-size: 1.125rem;
    }

    .solution-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .solution-visual {
        height: 400px;
    }

    .floating-card {
        transform: scale(0.8);
    }

    .card-1 {
        left: -10%;
    }

    .card-2 {
        right: -10%;
    }

    .card-3 {
        left: 10%;
    }
}

/* Features Section */
.features {
    position: relative;
    padding: var(--space-lg) 0;
    background: linear-gradient(180deg, var(--background), rgba(var(--color-primary-rgb), 0.08));
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: var(--space-lg);
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(var(--color-primary-rgb), 0.1),
            rgba(147, 51, 234, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 14px;
    transition: transform 0.3s ease;
}

.feature-icon img {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    position: relative;
    width: 100%;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    width: 100%;
}

/* ===== Audience Section ===== */
.audience {
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--background), rgba(var(--color-primary-rgb), 0.05));
}

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

.audience-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.audience-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.audience-card-icon svg {
    width: 100%;
    height: 100%;
    color: white;
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.audience-card .benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audience-card .benefit-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
}

.audience-card .benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236366f1'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.audience-visual {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.audience-image {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
}

.audience-image-game-studios {
    background-image: url('https://images.unsplash.com/photo-1493711662062-fa541adb3fc8?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1950&q=80');
}

.audience-image-agencies {
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1950&q=80');
}

.audience-image-translators {
    background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1950&q=80');
}

.audience-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.audience-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.audience-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.quote-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-style: italic;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-text {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.quote-author {
    font-size: 0.8rem;
    opacity: 0.8;
    font-style: normal;
    display: flex;
    align-items: center;
}

.quote-author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin-right: 0.5rem;
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-scale-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== How It Works Section ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.step {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.step-number {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    color: white;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.3;
    z-index: -1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

/* ===== FAQ Section ===== */
.faq {
    padding: var(--space-xl) 0;
    position: relative;
    background-color: var(--background);
}

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

.accordion-list {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.accordion-item {
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.accordion-header {
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.1);
    color: var(--primary);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-icon:before,
.accordion-icon:after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.accordion-icon:before {
    width: 2px;
    height: 16px;
    top: 4px;
    left: 50%;
    margin-left: -1px;
}

.accordion-icon:after {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 4px;
    margin-top: -1px;
}

.accordion-item.active .accordion-icon:before {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 var(--space-lg);
    color: var(--text-light);
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    opacity: 1;
    padding: var(--space-lg);
}

/* ===== CTA Section ===== */
.cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05), rgba(147, 51, 234, 0.08));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--color-background-700);
    color: var(--color-gray-200);
    padding: var(--space-lg) 0;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-bottom-link {
    color: var(--color-gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .audience-cards {
        grid-template-columns: 1fr;
    }

    .footer-wrapper {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* ===== Media Queries ===== */
@media (max-width: 991px) {
    .header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }

    .nav {
        order: 3;
        width: 100%;
    }

    .nav-list {
        justify-content: center;
    }

    .steps .step:not(:last-child)::after {
        display: none;
    }

    .solution-visual {
        height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-md) 0;
    }

    .tab-controls {
        flex-direction: column;
        align-items: center;
    }

    .tab-control {
        width: 100%;
        max-width: 300px;
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .cta {
        padding: var(--space-xl) 0;
    }

    .tab-content-wrapper {
        padding: var(--space-lg);
    }

    .accordion-header {
        padding: var(--space-lg);
    }

    .accordion-content {
        padding: var(--space-lg);
    }

    .hero {
        padding: var(--space-xl) 0 calc(var(--space-xl) * 1.5);
    }

    .tab-content {
        grid-template-columns: 1fr;
    }

    .audience-content,
    .audience-visual {
        width: 100%;
    }

    .audience-visual {
        min-height: 300px;
        order: -1;
    }

    .solution {
        padding-bottom: var(--space-xl);
    }

    .solution-cards {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .nav-list {
        gap: var(--space-md);
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: var(--space-xl) 0;
    }

    .btn {
        width: 100%;
    }

    .solution-visual {
        height: 200px;
    }

    .step {
        padding: var(--space-lg);
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-heading {
        margin-bottom: var(--space-md);
    }

    .solution-visual {
        margin-bottom: var(--space-md);
    }

    .solution p {
        margin-bottom: var(--space-sm);
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero h1,
.hero p,
.hero .btn {
    animation: fadeIn var(--transition-slow) forwards;
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero p {
    animation-delay: 0.4s;
}

.hero .btn {
    animation-delay: 0.6s;
}

/* Remove feature icon animation */
.feature-icon {
    /* animation: float 6s ease-in-out infinite; - removed */
    transition: transform 0.3s ease;
}

/* Remove animation delays */
.feature-card:nth-child(2) .feature-icon {
    /* animation-delay: 2s; - removed */
}

.feature-card:nth-child(3) .feature-icon {
    /* animation-delay: 4s; - removed */
}

/* Focus states for accessibility */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Utility classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Ensure proper z-index stacking */
main {
    position: relative;
    z-index: 1;
}

/* Fix tabs functionality */
.tab-content:not(.active) {
    display: none;
}

/* Responsive styles for the solution section */
@media (max-width: 992px) {
    .solution-card-content {
        flex-direction: column;
        padding: 2rem;
    }

    .solution-visual {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .solution-visual {
        display: none;
    }

    .solution-card {
        margin-top: 1.5rem;
    }
}

/* Legal Pages (Privacy Policy, Terms of Service) */
.legal-content {
    padding: var(--space-xl) 0;
    background: var(--background);
}

.legal-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--text);
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-text h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--primary);
    font-size: 1.5rem;
}

.legal-text h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text);
    font-size: 1.25rem;
}

.legal-text p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.effective-date {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

/* Pricing Page Styles */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: var(--space-xl) 0;
    text-align: center;
    color: white;
}

.pricing-title {
    margin-bottom: var(--space-sm);
    font-size: 3rem;
    font-weight: 800;
}

.pricing-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-plans {
    padding: var(--space-xl) 0;
    padding-top: var(--space-lg);
    background: var(--background);
}

.pricing-plans .section-heading {
    margin-bottom: var(--space-xl);
    padding-top: var(--space-md);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 3;
}

.pricing-card-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.pricing-plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.pricing-plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-unit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.pricing-plan-primary {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-plan-secondary {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.5;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-plan-description {
    color: var(--text-light);
    margin-bottom: 0;
}

.pricing-card-body {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236366f1'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.pricing-card-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.pricing-cta {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.pricing-cta.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--shadow-sm);
}

.pricing-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pricing-cta.secondary {
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--primary);
}

.pricing-cta.secondary:hover {
    background: rgba(var(--color-primary-rgb), 0.2);
}

.pricing-cta.tertiary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.pricing-cta.tertiary:hover {
    background: rgba(var(--color-primary-rgb), 0.05);
}

.pricing-faq {
    padding: var(--space-xl) 0;
    background: white;
}

.pricing-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: var(--space-lg);
}

.pricing-faq-item {
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.pricing-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pricing-faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.pricing-faq-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.pricing-cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05), rgba(147, 51, 234, 0.08));
    text-align: center;
}

.pricing-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-cta-content h2 {
    margin-bottom: var(--space-md);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-cta-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.25rem;
    color: var(--text);
}

@media (max-width: 992px) {
    .pricing-card.featured {
        transform: scale(1.02);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 var(--space-md);
    }

    .pricing-card {
        max-width: 100%;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: var(--space-md) 0;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px) scale(1);
    }

    .pricing-card-header {
        padding: 1.5rem;
    }

    .pricing-card-body {
        padding: 1.5rem;
    }

    .pricing-card-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        padding: 0 var(--space-sm);
    }

    .pricing-plan-name {
        font-size: 1.25rem;
    }

    .pricing-plan-price {
        font-size: 2rem;
    }

    .pricing-plan-secondary {
        font-size: 0.8rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform var(--transition-normal);
    animation: modal-slide-in 0.3s ease forwards;
}

@keyframes modal-slide-in {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 700;
}

.close-modal {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--accent);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Form Styles */
.demo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    display: block;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.submit-demo {
    width: 100%;
    padding: 0.75rem 1.5rem;
}

.form-status {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.success-message,
.error-message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.success-message {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .demo-form {
        grid-template-columns: 1fr;
    }
}

/* Phone input styling */
.phone-input-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.country-select {
    min-width: 140px;
    flex: 0 0 auto;
    padding: 8px;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    height: 40px;
    appearance: auto;
    cursor: pointer;
}

.country-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

#phoneNumber {
    flex: 1;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
}

#phoneNumber:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

/* Enhance form styling */
.form-group label::after {
    content: "";
}

.form-group label[for] {
    position: relative;
}

.form-group label[for]::after {
    content: "*";
    color: var(--accent);
    margin-left: 0.2em;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

/* Animation refinements */
.modal-content {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.submit-demo {
    position: relative;
    overflow: hidden;
}

.submit-demo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-demo:hover::before {
    width: 300%;
    height: 300%;
}

/* Success state styling */
.submit-demo.success {
    background-color: var(--success);
    border-color: var(--success);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-demo .checkmark {
    display: inline-block;
    animation: checkmark 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    font-weight: bold;
}

.submit-demo.success::before {
    display: none;
}

/* Loading spinner for submit button */
.submit-demo:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* Success animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Docker Modal Fix - Higher Priority */
.modal {
    z-index: 9999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.modal-content {
    z-index: 10000 !important;
    position: relative !important;
    background-color: #ffffff !important;
    margin: 10% auto !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

body.modal-open {
    overflow: hidden !important;
}
