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

:root {
    --primary: #2DD4BF;
    --primary-dark: #14B8A6;
    --primary-light: #5EEAD4;
    --secondary: #0f172a;
    --accent: #2DD4BF;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --bg-dark: #0a0a0f;
    --bg-card: #111118;
    --bg-elevated: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --gradient-primary: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
}

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

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-danger {
    color: var(--danger);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(45, 212, 191, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--text-muted);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-login:hover {
    background: var(--bg-elevated);
    border-color: var(--text-muted);
}

.btn-signup,
.nav-links a.btn-signup {
    background: var(--gradient-primary);
    color: #0a0a0f;
}

.btn-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.logo-icon-svg {
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

.logo-ai {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(45, 212, 191, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-mascot {
    flex-shrink: 0;
    width: 380px;
    height: 650px;
    position: relative;
}

.mascot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.3));
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Problem Section */
.problem {
    padding: 120px 0;
    background: var(--bg-card);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--danger);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.problem-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-4px);
}

.problem-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    color: var(--danger);
    margin-bottom: 20px;
}

.problem-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.problem-callout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 32px;
}

.callout-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.callout-content h4 {
    color: var(--danger);
    margin-bottom: 8px;
}

/* Solution Section */
.solution {
    padding: 120px 0;
}

.solution .section-tag {
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.2);
    color: var(--primary-light);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.solution-feature {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.solution-feature:hover {
    background: var(--bg-card);
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.solution-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.visual-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.visual-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.visual-dot.red { background: #ef4444; }
.visual-dot.yellow { background: #f59e0b; }
.visual-dot.green { background: #10b981; }

.visual-content {
    padding: 32px;
}

.data-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.flow-item {
    text-align: center;
}

.flow-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.flow-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 12px;
    font-size: 1.2rem;
    margin: 0 auto;
}

.flow-item.private .flow-icon {
    background: var(--gradient-primary);
}

.flow-arrow {
    color: var(--success);
    font-size: 1.5rem;
}

.visual-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.visual-note .check {
    color: var(--success);
    font-weight: 700;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-card);
}

.features .section-tag {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

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

.feature-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-icon.blue { background: rgba(45, 212, 191, 0.15); color: var(--primary-light); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.feature-icon.red { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.feature-icon.teal { background: rgba(45, 212, 191, 0.15); color: var(--accent); }

.feature-card h4 {
    margin-bottom: 12px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta > .container > .cta-content > p {
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.cta-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.cta-form input,
.cta-form select {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.cta-form input::placeholder {
    color: var(--text-muted);
}

.cta-form select {
    cursor: pointer;
}

.cta-form select option {
    background: var(--bg-dark);
}

.cta-form button {
    width: 100%;
    margin-top: 8px;
}

.form-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    font-size: 1.25rem;
}

.footer-brand .logo-icon-svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 6px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h5 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-mascot {
        width: 280px;
        height: 350px;
    }

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

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

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

    .solution-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-mascot {
        width: 220px;
        height: 275px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .form-row {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-mascot {
        width: 180px;
        height: 225px;
    }

    .problem-card,
    .feature-card {
        padding: 24px;
    }

    .cta-form {
        padding: 24px;
    }
}
