* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-500: #00D4D4;
    --navy-500: #1B3A5F;
    --navy-600: #162E4C;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #1B3A5F;
    --white: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition-fast: 150ms ease;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.125rem;
}

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

a:hover {
    color: var(--navy-500);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--navy-500);
    color: white;
    border-color: var(--navy-600);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-500);
    color: var(--navy-600);
    border-color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--primary-500);
    color: var(--primary-500);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

[data-theme="dark"] .logo-dark {
    display: inline-block;
}

[data-theme="dark"] .logo-light {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.navbar .logo img {
    height: 50px;
    width: auto;
    max-width: 220px;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--gray-100);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--gray-600);
}

.theme-toggle:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.theme-toggle .icon-sun {
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle {
    background: var(--gray-200);
    color: var(--gray-500);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--gray-300);
    color: var(--gray-300);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

.hero {
    position: relative;
    padding: 140px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #f8fafc 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 212, 212, 0.1), white);
    border: 1px solid rgba(0, 212, 212, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #008282;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
    color: white;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.cta {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 1.875rem;
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.cta .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.cta .btn-secondary:hover {
    background: white;
    color: var(--navy-600);
    border-color: white;
}

.footer {
    background: var(--gray-50);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-900);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    padding: 0.5rem 0;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-links a:hover {
    color: var(--primary-500);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (max-width: 1024px) {
    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

[data-theme="dark"] {
    --gray-50: #0a0a0f;
    --gray-100: #12121a;
    --gray-200: #1e1e2a;
    --gray-300: #2d2d3a;
    --gray-400: #4a4a5a;
    --gray-500: #6b6b7b;
    --gray-600: #9ca3af;
    --gray-700: #c9cdd5;
    --gray-800: #e5e7eb;
    --gray-900: #f3f4f6;
}

[data-theme="dark"] body {
    background-color: var(--gray-50);
    color: var(--gray-900);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--gray-900);
}

[data-theme="dark"] .navbar {
    background: rgba(10, 10, 15, 0.9);
    border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .navbar .logo {
    color: var(--gray-900);
}

[data-theme="dark"] .hero-bg {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 50%, var(--gray-50) 100%);
}

[data-theme="dark"] .hero-bg::before {
    background: radial-gradient(circle, rgba(0, 212, 212, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .hero-badge {
    background: linear-gradient(135deg, rgba(0, 212, 212, 0.1), var(--gray-100));
    border-color: var(--gray-300);
    color: #00ABAB;
}

[data-theme="dark"] .hero h1 {
    color: var(--gray-900);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--gray-600);
}

[data-theme="dark"] .features {
    background: var(--gray-50);
}

[data-theme="dark"] .feature-card {
    background: var(--gray-100);
}

[data-theme="dark"] .feature-card:hover {
    background: var(--gray-200);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--gray-900);
}

[data-theme="dark"] .feature-card p {
    color: var(--gray-600);
}

[data-theme="dark"] .cta {
    background: linear-gradient(135deg, #0a0a0f, #12121a);
}

[data-theme="dark"] .footer {
    background: var(--gray-100);
}

[data-theme="dark"] .footer-brand .logo {
    color: var(--gray-900);
}

[data-theme="dark"] .footer-brand p {
    color: var(--gray-500);
}

[data-theme="dark"] .footer-links h4 {
    color: var(--gray-900);
}

[data-theme="dark"] .footer-links a {
    color: var(--gray-600);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-500);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--gray-200);
}

[data-theme="dark"] .footer-bottom p {
    color: var(--gray-500);
}