/* Core Reset & Styles */
:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(22, 29, 49, 0.6);
    --border-card: rgba(255, 255, 255, 0.08);
    --primary: #5263ff;
    --primary-glow: rgba(82, 99, 255, 0.4);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --success: #10b981;
    --warning: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

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

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-card);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-card);
    padding: 20px 0;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85vh;
}

.hero-bg-gradient {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82,99,255,0.15) 0%, rgba(11,15,25,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(82, 99, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(82, 99, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 40%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Products Section */
.products {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(82, 99, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-icon {
    width: 54px;
    height: 54px;
    background-color: rgba(82, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.product-icon svg {
    width: 26px;
    height: 26px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 20px;
}

.status-badge.live {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.future {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

.product-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s;
    display: inline-block;
}

.product-link:hover {
    transform: translateX(4px);
}

.product-link.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

.product-link.disabled:hover {
    transform: none;
}

/* About / Our Approach Section */
.about {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.value-prop {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.value-icon {
    font-size: 2rem;
    line-height: 1;
}

.value-prop h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

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

.about-visual {
    background: #0f1322;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.visual-header {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

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

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

.about-visual pre {
    overflow-x: auto;
}

.about-visual code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #a78bfa;
}

/* Footer Section */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border-card);
}

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

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.email-link {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    transition: color 0.3s;
    border-bottom: 2px solid var(--primary);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-card);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsiveness */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-container {
        flex-direction: column;
    }
}

/* Language picker (shared, injected by i18n.js) */
.lang-picker {
    font-family: inherit;
    font-size: 0.9rem;
    padding: 7px 12px;
    border: 1px solid var(--border-card);
    border-radius: 8px;
    background-color: var(--bg-card);
    color: var(--text-main);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.3s;
}
.lang-picker:hover { border-color: var(--primary); }
.lang-picker:focus { outline: none; border-color: var(--primary); }
.lang-picker option { background-color: var(--bg-dark); color: var(--text-main); }
