@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

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

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --gradient: linear-gradient(135deg, #6c5ce7, #a29bfe, #74b9ff);
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lang-switch {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(136, 136, 160, 0.3);
    border-radius: 20px;
    transition: all 0.3s;
}

.lang-switch:hover {
    color: var(--accent-light);
    border-color: var(--accent);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, var(--accent-glow) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(116, 185, 255, 0.15) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    100% { transform: scale(1.1) rotate(5deg); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .line1 {
    display: block;
    color: var(--text);
}

.hero-title .line2 {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 25px var(--accent-glow);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--accent-glow);
}

.hero-visual {
    display: none;
}

/* Wave SVG animation */
.wave-container {
    width: 300px;
    height: 120px;
}

.wave-svg {
    width: 100%;
    height: 100%;
}

.wave {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.wave1 {
    stroke: var(--accent);
    animation: waveMove 3s ease-in-out infinite;
}

.wave2 {
    stroke: var(--accent-light);
    opacity: 0.6;
    animation: waveMove 3s ease-in-out infinite 0.5s;
}

.wave3 {
    stroke: #74b9ff;
    opacity: 0.3;
    animation: waveMove 3s ease-in-out infinite 1s;
}

@keyframes waveMove {
    0%, 100% { d: path("M0,40 Q25,10 50,40 T100,40 T150,40 T200,40"); }
    50% { d: path("M0,40 Q25,70 50,40 T100,40 T150,40 T200,40"); }
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature {
    background: var(--bg-card);
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 550px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-form input {
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(136, 136, 160, 0.2);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
}

.lead-form input:focus {
    border-color: var(--accent);
}

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

.submit-btn {
    padding: 1rem;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-glow);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(0, 184, 148, 0.15);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.form-message.error {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

/* Responsive */
@media (min-width: 900px) {
    .hero {
        flex-direction: row;
        gap: 4rem;
        text-align: left;
    }
    .hero-content {
        text-align: left;
    }
    .hero-desc {
        margin: 0 0 2.5rem;
    }
    .hero-visual {
        display: block;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    .hero {
        padding: 5rem 1.5rem 3rem;
    }
    .features {
        padding: 3rem 1.5rem;
    }
    .cta-section {
        padding: 3rem 1.5rem;
    }
}
