:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #4ade80;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #06d6a0;
    --background: #ffffff;
    --surface: #f8fafc;
    --surface-light: #f1f5f9;
    --surface-elevated: #ffffff;
    --text: #0f172a;
    --text-light: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --border: #e2e8f0;
    --border-light: #cbd5e1;
    --shadow: 0 4px 24px rgba(34, 197, 94, 0.15);
    --shadow-light: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.3);
    --shadow-intense: 0 25px 50px rgba(34, 197, 94, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-surface: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: rgba(34, 197, 94, 0.2);
    color: var(--text);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

body {
    font-family: var(--font-family);
    color: var(--text);
    line-height: 1.7;
    background: var(--background);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 214, 160, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Enhanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: var(--primary);
    font-weight: 800;
    font-size: 26px;
    position: relative;
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover h2::after {
    width: 100%;
}

.nav-logo a {
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Enhanced Buttons */
.btn-primary,
a.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
    white-space: nowrap;
}

.btn-primary::before,
a.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.btn-primary:hover::before,
a.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover,
a.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3);
    filter: brightness(1.1);
}

.btn-secondary,
a.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-light);
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary::before,
a.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover::before,
a.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover,
a.btn-secondary:hover {
    border-color: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.2);
}

.btn-large,
a.btn-large {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

/* Common Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Footer */
.footer {
    background: var(--surface-elevated);
    color: var(--text-light);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
    padding: 4px 0;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .container {
        padding: 0 16px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0.4;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text);
    animation: fadeInUp 1s ease-out 0.2s both;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: morphGradient 4s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.hero-description {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-bottom: 32px;
}

.hero-note {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

/* Revolutionary Browser Preview */
.browser-preview {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(125, 211, 252, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 480px;
    position: relative;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
}


.browser-header {
    background: var(--surface-light);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.browser-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #555;
    transition: var(--transition-smooth);
    position: relative;
}

.browser-dots span:nth-child(1) { 
    background: #ff5f57;
    animation: pulse 3s ease-in-out infinite;
}
.browser-dots span:nth-child(2) { 
    background: #ffbd2e;
    animation: pulse 3s ease-in-out infinite 0.3s;
}
.browser-dots span:nth-child(3) { 
    background: #28ca42;
    animation: pulse 3s ease-in-out infinite 0.6s;
}

.browser-url {
    background: var(--background);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-light);
    flex: 1;
    border: 1px solid var(--border);
    font-family: 'Monaco', 'Menlo', monospace;
}

.browser-content {
    padding: 40px 32px;
    height: 280px;
    position: relative;
    background: var(--surface);
}

/* Epic Floating Assistant Button */
.floating-assistant {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--surface-light);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition-elastic);
    animation: float 4s ease-in-out infinite, pulse 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    font-size: 24px;
}

.floating-assistant::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}



.ai-btn-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-btn-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: var(--transition-smooth);
}

.floating-assistant:hover .ai-btn-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.ai-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner-ring {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.ai-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--surface-elevated);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid var(--border);
    font-weight: 600;
}

.ai-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: var(--surface-elevated);
}

.floating-assistant:hover .ai-tooltip {
    opacity: 1;
}

.hidden {
    display: none !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.page-content {
    margin-top: 24px;
}

.content-line {
    height: 12px;
    background: var(--border);
    border-radius: 6px;
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.content-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.content-line.short {
    width: 65%;
    animation-delay: 0.2s;
}

.content-line.medium {
    width: 85%;
    animation-delay: 0.4s;
}

/* Revolutionary Features Section */
.features {
    padding: 120px 0;
    background: var(--background);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.section-title {
    text-align: center;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 80px;
    color: var(--text);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--gradient-surface);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(125, 211, 252, 0.1);
    text-align: center;
    transition: var(--transition-elastic);
    border: 1px solid var(--border);
    animation: scaleIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.1), transparent);
    transition: left 1s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(125, 211, 252, 0.3);
    border-color: var(--primary);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-icon {
    font-size: 64px;
    margin-bottom: 24px;
    animation: float 6s ease-in-out infinite;
    display: inline-block;
}

.feature-card:nth-child(even) .feature-icon {
    animation-delay: -3s;
}

.feature-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* Enhanced How It Works */
.how-it-works {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.work-step {
    text-align: center;
    position: relative;
    animation: fadeInUp 1s ease-out;
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.work-step:hover {
    background: rgba(125, 211, 252, 0.05);
    transform: translateY(-8px);
}

.work-step:nth-child(1) { animation-delay: 0.1s; }
.work-step:nth-child(2) { animation-delay: 0.3s; }
.work-step:nth-child(3) { animation-delay: 0.5s; }

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 32px;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(125, 211, 252, 0.4);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.work-step h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.work-step p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text);
    animation: fadeInLeft 1s ease-out;
}

.about-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.use-case {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    animation: scaleIn 0.8s ease-out;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.use-case:nth-child(1) { animation-delay: 0.1s; }
.use-case:nth-child(2) { animation-delay: 0.2s; }
.use-case:nth-child(3) { animation-delay: 0.3s; }
.use-case:nth-child(4) { animation-delay: 0.4s; }

.use-case h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.use-case p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.platform-support {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border);
    animation: fadeInRight 1s ease-out 0.4s both;
}

.platform-support h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
    text-align: center;
}

.platform-list {
    display: grid;
    gap: 20px;
}

.platform-category h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.platform-category p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* Enhanced Detailed Features - Now Only 3 Items Centered */
.features-detailed {
    padding: 120px 0;
    background: var(--surface);
}

.detailed-features {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-detail {
    background: var(--background);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition-elastic);
    animation: scaleIn 0.8s ease-out;
}

.feature-detail:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-detail:nth-child(1) { animation-delay: 0.1s; }
.feature-detail:nth-child(2) { animation-delay: 0.2s; }
.feature-detail:nth-child(3) { animation-delay: 0.3s; }

.feature-detail h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-detail p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--background);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta .btn-primary {
    background: var(--background);
    color: var(--primary);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta .btn-primary:hover {
    background: var(--surface);
    transform: translateY(-6px) scale(1.05);
}

.cta-note {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Footer Enhancement */
.footer {
    background: var(--surface-elevated);
    color: var(--text-light);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
    padding: 4px 0;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-light);
}

.modal-header h3 {
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--surface);
    color: var(--text);
    transform: scale(1.1);
}

.modal-content {
    padding: 32px;
}

.modal-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 24px;
}

.modal-body {
    color: var(--text-light);
    line-height: 1.6;
}

.modal-body h4 {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.modal-body h4:first-of-type {
    margin-top: 16px;
}

.modal-body ul, .modal-body ol {
    margin: 12px 0 20px 20px;
}

.modal-body li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.modal-body p {
    margin-bottom: 16px;
    font-size: 16px;
}

/* Enhanced help links for modal triggers */
.help-link[data-modal] {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.help-link[data-modal]:hover {
    background: linear-gradient(135deg, var(--surface-light), var(--surface));
    transform: translateX(4px);
}

.help-link[data-modal]::after {
    content: '→';
    position: absolute;
    right: 12px;
    color: var(--primary);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.help-link[data-modal]:hover::after {
    opacity: 1;
}

/* Support Page Specific Styles */
.support-hero {
    padding: 140px;
    background: var(--surface);
    text-align: center;
    position: relative;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0.3;
}

.support-header {
    position: relative;
    z-index: 1;
}

.support-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text);
    animation: fadeInUp 1s ease-out;
}

.support-header p {
    font-size: 22px;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.support-content {
    padding: 80px 0;
    background: var(--background);
}

.support-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-card {
    background: var(--surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 40px;
    border: 1px solid var(--border);
    animation: fadeInLeft 1s ease-out 0.2s both;
}

.contact-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    transition: var(--transition-smooth);
    padding: 16px;
    border-radius: var(--radius);
}

.contact-item:hover {
    background: rgba(125, 211, 252, 0.05);
    transform: translateX(8px);
}

.contact-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: var(--surface-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.contact-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    text-decoration: underline;
    color: var(--primary-light);
}

.faq-section {
    background: var(--surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border);
    animation: fadeInLeft 1s ease-out 0.4s both;
}

.faq-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}

.faq-item {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: var(--primary);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.help-card,
.status-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 32px;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    animation: fadeInRight 1s ease-out;
}

.help-card:hover,
.status-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.help-card:nth-child(1) { animation-delay: 0.2s; }
.help-card:nth-child(2) { animation-delay: 0.3s; }
.help-card:nth-child(3) { animation-delay: 0.4s; }
.help-card:nth-child(4) { animation-delay: 0.5s; }

.help-card h3,
.status-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.help-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition-smooth);
    position: relative;
}

.help-link:hover {
    background: var(--surface-light);
    color: var(--text);
}

.help-icon {
    font-size: 18px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.status-item:hover {
    background: rgba(34, 197, 94, 0.05);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.status-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.status-link:hover {
    text-decoration: underline;
    color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detailed-features {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .browser-preview {
        width: 100%;
        max-width: 400px;
    }
    
    .modal-container {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .features,
    .how-it-works,
    .about,
    .features-detailed {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
