/* CSS Variables for Modern Aesthetics */
:root {
    --primary: #1F93FF;
    --primary-dark: #0077E6;
    --primary-light: #E0F2FE;
    
    --bg-page: #ffffff;
    --bg-sec: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    --purple: #8b5cf6;
    --orange: #f97316;
    --green: #10b981;

    --font: '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), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px -10px rgba(31, 147, 255, 0.4);
}

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

body {
    font-family: var(--font);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 99px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(31, 147, 255, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(31, 147, 255, 0.23);
    color: white;
}

.btn-outline {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background-color: var(--bg-sec);
    border-color: #cbd5e1;
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

.btn-login {
    color: var(--text-muted);
    font-weight: 500;
}

.btn-login:hover {
    color: var(--text-main);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
    border-right: 1px solid var(--border);
    padding-right: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: var(--primary);
    background: var(--bg-sec);
}

.lang-btn.active {
    color: var(--primary-dark);
    background: var(--primary-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 147, 255, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-image-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid var(--border);
    background: white;
    padding: 8px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-page));
}

/* Features */
.features {
    padding: 100px 0;
    background-color: var(--bg-sec);
}

.section-title {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-wrapper.bg-blue { background: #E0F2FE; color: var(--primary); }
.icon-wrapper.bg-purple { background: #EDE9FE; color: var(--purple); }
.icon-wrapper.bg-orange { background: #FFEDD5; color: var(--orange); }
.icon-wrapper.bg-green { background: #D1FAE5; color: var(--green); }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Integrations */
.integrations {
    padding: 100px 0;
}

.integrations-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.integrations-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.integrations-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-list i {
    color: var(--green);
    font-size: 1.25rem;
}

.integrations-image img {
    width: 100%;
    height: auto;
}

/* CTA Section */
.cta-section {
    padding: 60px 0 120px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

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

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary-dark);
}

.cta-box .btn-primary:hover {
    background: var(--bg-sec);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

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

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

.link-column h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.link-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .integrations-inner {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}
