/* ============================================
   ChatGPT Online - Premium Design CSS
   Modern & Conversion-Optimized 2025
   NO TAILWIND - Pure CSS
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --primary: #2563EB;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #7C3AED;
    --accent: #10B981;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --glow-blue: rgba(37, 99, 235, 0.4);
    --glow-purple: rgba(124, 58, 237, 0.3);

    /* Slate colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Blue colors */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;

    /* Other colors */
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-700: #047857;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --purple-900: #581c87;
    --pink-500: #ec4899;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-900: #14532d;
    --yellow-500: #eab308;
    --orange-400: #fb923c;
    --orange-600: #ea580c;
    --red-500: #ef4444;
    --red-800: #991b1b;
    --red-900: #7f1d1d;
    --indigo-600: #4f46e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: white;
    color: var(--slate-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::selection {
    background-color: var(--blue-100);
    color: var(--blue-900);
}

h1, h2, h3, .heading-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* === CONTAINER === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.container-sm {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-md {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-lg {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === HEADER === */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-100);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .header-inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .header-inner {
        padding: 0 2rem;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo svg {
    width: 32px;
    height: 32px;
    color: var(--slate-900);
}

.header-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-800);
}

.header-nav {
    display: none;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.header-nav a {
    color: var(--slate-600);
    transition: color 0.3s;
}

.header-nav a:hover {
    color: var(--blue-600);
}

.header-cta {
    background: var(--slate-900);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header-cta:hover {
    background: var(--slate-800);
    transform: scale(1.05);
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 11rem;
        padding-bottom: 8rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(48px);
    transition: transform 0.3s ease-out;
    animation: float-orb 20s ease-in-out infinite;
}

.hero-orb-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: linear-gradient(to bottom right, rgba(96, 165, 250, 0.3), rgba(139, 92, 246, 0.3));
    animation-delay: 0s;
}

.hero-orb-2 {
    top: 10rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: linear-gradient(to bottom right, rgba(167, 139, 250, 0.2), rgba(236, 72, 153, 0.2));
    animation-delay: -5s;
}

.hero-orb-3 {
    bottom: 5rem;
    left: 33%;
    width: 20rem;
    height: 20rem;
    background: linear-gradient(to bottom right, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.2));
    animation-delay: -10s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .hero-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
    }
}

/* Trust Badge */
.trust-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    backdrop-filter: blur(4px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--emerald-700);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1);
}

.trust-badge-hero .pulse-dot {
    position: relative;
    display: flex;
    height: 10px;
    width: 10px;
}

.trust-badge-hero .pulse-dot-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background: var(--emerald-400);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.trust-badge-hero .pulse-dot-core {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 10px;
    width: 10px;
    background: var(--emerald-500);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.trust-badge-hero .badge-year {
    background: var(--emerald-500);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

/* Hero Title */
.hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-title-line {
    display: block;
    color: var(--slate-900);
}

.hero-title-gradient {
    position: relative;
    display: inline-block;
}

.text-gradient-animated {
    background: linear-gradient(
        90deg,
        #2563EB 0%,
        #7C3AED 20%,
        #EC4899 40%,
        #7C3AED 60%,
        #2563EB 80%,
        #7C3AED 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-title-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
}

/* Hero Description */
.hero-description {
    font-size: 1.25rem;
    color: var(--slate-600);
    margin-bottom: 3rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(to right, var(--blue-600), var(--indigo-600));
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.5);
    transform: translateY(-4px);
}

.btn-primary .btn-text {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-primary .btn-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--indigo-600), var(--purple-600));
    opacity: 0;
    transition: opacity 0.3s;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    color: var(--slate-700);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 1rem;
    border: 2px solid var(--slate-200);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--blue-300);
    color: var(--blue-600);
}

.btn-secondary .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-secondary:hover .btn-icon {
    transform: translateY(4px);
}

/* Hero Stats */
.hero-stats {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-stats {
        gap: 4rem;
    }
}

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

.hero-stat-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--slate-900);
}

@media (min-width: 768px) {
    .hero-stat-value {
        font-size: 3rem;
    }
}

.hero-stat-value .star {
    color: var(--yellow-500);
}

.hero-stat-label {
    color: var(--slate-500);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Hero Brands */
.hero-brands {
    margin-top: 5rem;
}

.hero-brands-label {
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .hero-brands-list {
        gap: 3rem;
    }
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-600);
    font-weight: 700;
    font-size: 1.25rem;
}

.hero-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 900;
}

.hero-brand-icon-gpt {
    background: linear-gradient(to bottom right, var(--emerald-400), var(--cyan-500));
}

.hero-brand-icon-dalle {
    background: linear-gradient(to bottom right, var(--purple-400), var(--purple-500));
}

.hero-brand-icon-api {
    background: linear-gradient(to bottom right, var(--orange-400), var(--red-500));
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--slate-400);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-25%);
    }
}

/* === FADE IN ANIMATIONS === */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

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

/* === COMPARISON SECTION === */
.comparison-section {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid var(--slate-100);
}

.comparison-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
}

@media (min-width: 768px) {
    .comparison-title {
        font-size: 1.875rem;
    }
}

.comparison-title .highlight {
    color: var(--blue-600);
}

.comparison-subtitle {
    color: var(--slate-500);
    margin-top: 0.5rem;
}

.comparison-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comparison-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-card-negative {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.comparison-card-positive {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid var(--primary);
    box-shadow:
        0 8px 30px rgba(37, 99, 235, 0.15),
        0 0 0 4px rgba(37, 99, 235, 0.05);
}

.comparison-card-positive:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(37, 99, 235, 0.2),
        0 0 0 4px rgba(37, 99, 235, 0.1);
}

.comparison-badge {
    position: absolute;
    top: 0;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0 0 1rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.comparison-card-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.comparison-card-title svg {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.comparison-card-negative .comparison-card-title {
    color: var(--red-800);
}

.comparison-card-positive .comparison-card-title {
    color: var(--blue-900);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.comparison-card-negative .comparison-list {
    color: var(--red-900);
}

.comparison-card-positive .comparison-list {
    color: var(--slate-700);
}

.comparison-list li {
    display: flex;
    gap: 0.5rem;
}

.comparison-list li span.check {
    color: var(--green-500);
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-cta {
    margin-top: 1.5rem;
    display: block;
    width: 100%;
    text-align: center;
    background: var(--blue-600);
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: background 0.3s;
}

.comparison-cta:hover {
    background: var(--blue-700);
}

/* === FEATURES SECTION === */
.features-section {
    padding: 5rem 0;
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .features-title {
        font-size: 2.25rem;
    }
}

.features-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
}

.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(37, 99, 235, 0.1);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--slate-600);
}

.feature-card .trust-badge {
    margin-top: 1rem;
}

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #86efac;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.trust-badge .dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === CAPABILITIES SECTION (DARK) === */
.capabilities-section {
    padding: 5rem 0;
    background: var(--slate-900);
    color: white;
    overflow: hidden;
    position: relative;
}

.capabilities-bg-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(37, 99, 235, 0.2);
    filter: blur(100px);
    border-radius: 9999px;
}

.capabilities-content {
    position: relative;
    z-index: 10;
}

.capabilities-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .capabilities-title {
        font-size: 2.25rem;
    }
}

.capabilities-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.capabilities-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.capability-item {
    display: flex;
    gap: 1rem;
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.capability-icon-blue {
    background: var(--blue-600);
}

.capability-icon-purple {
    background: var(--purple-600);
}

.capability-icon-green {
    background: var(--green-600);
}

.capability-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.capability-item p {
    color: var(--slate-300);
}

/* Demo Card */
.demo-card {
    background: var(--slate-800);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--slate-700);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.demo-input {
    background: var(--slate-900);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--slate-300);
    font-size: 0.875rem;
    font-family: monospace;
    border: 1px solid var(--slate-700);
}

.demo-output {
    background: rgba(30, 58, 138, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    color: white;
    font-size: 0.875rem;
    line-height: 1.625;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.demo-output-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--blue-300);
}

.demo-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.demo-cta a {
    display: block;
    width: 100%;
    background: white;
    color: var(--slate-900);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: background 0.3s;
}

.demo-cta a:hover {
    background: var(--slate-200);
}

/* === HOW IT WORKS SECTION === */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--slate-50);
}

.how-it-works-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.how-it-works-content {
    order: 2;
}

@media (min-width: 768px) {
    .how-it-works-content {
        order: 1;
    }
}

.how-it-works-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1rem;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: var(--blue-600);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-item h4 {
    font-weight: 700;
    color: var(--slate-900);
    font-size: 1.125rem;
}

.step-item p {
    color: var(--slate-600);
}

/* Demo Preview Card */
.demo-preview {
    order: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--slate-100);
    transform: rotate(2deg);
    transition: transform 0.5s;
}

@media (min-width: 768px) {
    .demo-preview {
        order: 2;
    }
}

.demo-preview:hover {
    transform: rotate(0deg);
}

.demo-preview-input {
    background: var(--slate-100);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--slate-500);
    font-family: monospace;
}

.demo-preview-skeleton {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-line {
    height: 8px;
    background: var(--slate-200);
    border-radius: 4px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton-line-full { width: 100%; }
.skeleton-line-5-6 { width: 83%; }
.skeleton-line-4-6 { width: 66%; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.demo-preview-text {
    font-size: 0.875rem;
    color: var(--slate-800);
    font-weight: 500;
    margin-top: 1rem;
}

/* === FAQ SECTION === */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 2.25rem;
    }
}

.faq-subtitle {
    color: var(--slate-500);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 1.25rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.faq-item[open] {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.75rem 1.5rem 1.75rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-cta {
    margin-top: 3rem;
    text-align: center;
}

.btn-primary-pulse {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.125rem 2.25rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary-pulse:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
}

.btn-primary-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-primary-pulse:hover::before {
    left: 100%;
}

.btn-primary-pulse .arrow {
    transition: transform 0.3s;
}

.btn-primary-pulse:hover .arrow {
    transform: translateX(4px);
}

/* === SEO CONTENT SECTION === */
.seo-section {
    padding: 4rem 0;
    background: white;
    color: var(--slate-700);
    border-top: 1px solid var(--slate-100);
}

.seo-content {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .seo-content {
        padding: 0 1.5rem;
    }
}

.seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.seo-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.seo-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.seo-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.seo-content li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.seo-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
}

.seo-cta-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(to right, var(--blue-50), rgba(99, 102, 241, 0.05));
    border-radius: 1rem;
    border: 1px solid var(--blue-100);
}

.seo-cta-box p:first-child {
    font-weight: 700;
    color: var(--blue-800);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.seo-cta-box p:nth-child(2) {
    color: var(--blue-900);
    margin-bottom: 1rem;
}

.seo-cta-box a {
    display: inline-block;
    background: linear-gradient(to right, var(--blue-600), var(--indigo-600));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
}

.seo-cta-box a:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* === FOOTER === */
.footer {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
    }
}

@media (min-width: 640px) {
    .footer-inner {
        padding: 0 1.5rem;
    }
}

.footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-brand {
        text-align: left;
        margin-bottom: 0;
    }
}

.footer-logo {
    font-weight: 700;
    color: var(--slate-900);
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-logo svg {
    width: 24px;
    height: 24px;
    color: var(--slate-900);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-nav a {
    color: var(--slate-500);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--blue-600);
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 2.5rem;
    border-top: 1px solid var(--slate-200);
    padding-top: 1.5rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* === HOVER EFFECTS === */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* === GLASSMORPHISM === */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === FOCUS STATES === */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 8px;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 60px;
    }

    .feature-card {
        padding: 1.75rem 1.5rem;
    }

    .comparison-card {
        padding: 1.5rem;
    }
}

/* === LOADING SKELETON === */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
