/* =========================
   VARIABLES / DESIGN TOKENS
========================= */
:root {
    --bg: #f8fafc;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-solid: #ffffff;

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;

    --success: #16a34a;
    --danger: #dc2626;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.06);

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* =========================
   PARTICLES
========================= */
#particles-js {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body > *:not(#particles-js) {
    position: relative;
    z-index: 1;
}

/* =========================
   LAYOUT
========================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

section {
    margin: 24px 0;
    border-radius: var(--radius-lg);
}

/* =========================
   TOP BANNER
========================= */
.top-banner {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.top-banner i {
    color: #facc15;
    margin-right: 8px;
}

.top-banner a {
    color: #facc15;
    margin-left: 12px;
    font-weight: 800;
    text-decoration: underline;
}

/* =========================
   HERO
========================= */
.hero {
    background: var(--surface);
    padding: 90px 0 70px;
}

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

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e2e8f0;
    color: #334155;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 760px;
    margin: auto;
    font-size: 1.2rem;
    color: #475569;
}

.badge-price {
    margin: 40px auto 25px;
    display: inline-flex;
    flex-direction: column;
    background: var(--danger);
    color: white;
    padding: 18px 48px;
    border-radius: var(--radius-pill);
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.25);
}

.badge-price small {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-note {
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.95rem;
}

/* =========================
   BUTTONS
========================= */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 42px;
    border-radius: var(--radius-pill);

    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;

    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--text);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

.cta-button.secondary:hover {
    background: var(--text);
    color: white;
}

.full-width {
    width: 100%;
}

/* =========================
   FEATURES
========================= */
.features {
    background: var(--surface);
    padding: 70px 0;
}

.features h2,
.usecases h2,
.contact-section h2 {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 12px;
}

.subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 50px;
    font-size: 1.05rem;
}

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

.card {
    background: var(--surface-solid);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
}

.card i {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card p {
    color: #475569;
}

/* =========================
   USE CASES
========================= */
.usecases {
    background: var(--surface);
    padding: 70px 0;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.usecase-item {
    display: flex;
    gap: 16px;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.usecase-item i {
    font-size: 1.6rem;
    color: var(--primary);
}

/* =========================
   CONTACT
========================= */
.contact-section {
    background: var(--surface);
    padding: 70px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.contact-container form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#charCounter {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.captcha-wrapper {
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.info-card i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 12px;
}

.info-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--muted);
}

/* =========================
   FORM STATUS
========================= */
#formStatus {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    display: none;
    font-weight: 600;
}

#formStatus.success {
    display: block;
    background: #dcfce7;
    color: #166534;
}

#formStatus.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 48px 0;
}

.footer-brand {
    font-size: 1.8rem;
    color: white;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-copy {
    margin-top: 20px;
    color: #64748b;
    font-size: 0.85rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        margin: 12px 0;
    }

    .hero {
        padding: 60px 0;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .badge-price {
        font-size: 1.4rem;
        padding: 14px 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .cta-button {
        width: 100%;
        max-width: 320px;
    }

    .features h2,
    .usecases h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }

    .contact-container form {
        padding: 24px;
    }
}
