/* --- VARIABLES --- */
:root {
    /* Palette */
    --color-bg: #0B0F19; /* Very dark navy */
    --color-surface: #151B2B; /* Slightly lighter for cards/footer */
    --color-primary: #3B82F6; /* Bright Blue */
    --color-accent: #8B5CF6; /* Purple */
    --color-text: #F1F5F9; /* Off-white text */
    --color-text-muted: #94A3B8; /* Muted text */
    --color-border: #1E293B;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --container-width: 1240px;
    --header-height: 80px;
    --radius-md: 12px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TYPOGRAPHY UTILS --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text);
}

.header__logo-icon {
    color: var(--color-primary);
}

.header__logo-dot {
    color: var(--color-accent);
    animation: pulse 2s infinite;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

.nav__link:hover, .nav__link.active {
    color: var(--color-text);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.header__burger {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-surface);
    padding: 80px 0 30px;
    margin-top: auto; /* Push to bottom if content is short */
    border-top: 1px solid var(--color-border);
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--color-text);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer__link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer__icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header__burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--color-surface);
        overflow: hidden;
        transition: height 0.4s ease-in-out;
        border-bottom: 1px solid var(--color-border);
    }

    .nav.is-open {
        height: 320px;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 20px;
    }

    .header__actions .btn {
        display: none; /* Hide CTA button on mobile header to save space, assuming it's in nav or elsewhere */
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* Buttons Update */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; border: none; text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5); }
.btn--outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text); }
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(59, 130, 246, 0.05); }
.btn--white { background: #fff; color: var(--color-bg); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); }

/* --- SECTIONS COMMON --- */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section__title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section__desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
    filter: blur(60px);
    z-index: -1;
    animation: pulse-glow 8s infinite alternate;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

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

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    min-height: 1.6em; /* Prevent layout jump during typing */
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero__note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* Hero Visual Animation */
.hero__visual {
    position: relative;
    height: 400px;
}

.hero__chat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 2;
}

.card-float-1 { animation: float 6s ease-in-out infinite; }
.card-float-2 { animation: float 7s ease-in-out infinite reverse; }

.chat-head { display: flex; gap: 6px; margin-bottom: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #EF4444; } .yellow { background: #F59E0B; } .green { background: #10B981; }

.chat-body { display: flex; flex-direction: column; gap: 12px; }
.msg { padding: 10px 16px; border-radius: 12px; font-size: 0.9rem; max-width: 85%; }
.msg.bot { background: rgba(59, 130, 246, 0.1); color: var(--color-text); align-self: flex-start; border-bottom-left-radius: 2px; }
.msg.user { background: var(--color-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }

.hero__stat-card {
    position: absolute;
    bottom: 40px;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 3;
    font-weight: 600;
}
.hero__stat-card i { color: #10B981; }

/* --- SOLUTIONS GRID --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

.card--featured {
    background: linear-gradient(145deg, var(--color-surface), rgba(59, 130, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
}

.card__icon-box {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.card__title { font-size: 1.25rem; margin-bottom: 12px; }
.card__text { color: var(--color-text-muted); font-size: 0.95rem; }

/* --- PROCESS STEPS --- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    position: relative;
    padding-top: 20px;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.step__num {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    margin-bottom: -20px;
    display: block;
}

.step__title { font-size: 1.25rem; margin-bottom: 10px; position: relative; }
.step__text { color: var(--color-text-muted); font-size: 0.9rem; }

/* --- BENEFITS --- */
.benefits__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}
.check-list i { color: var(--color-accent); width: 20px; }

.abstract-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.grid-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    height: 140px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-text-muted);
}
.box-2 { background: var(--color-primary); color: white; transform: translateY(20px); }
.box-3 { transform: translateY(-20px); }

/* --- BLOG / INFO BANNER --- */
.info-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    padding: 60px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.info-banner__content h3 { font-size: 2rem; margin-bottom: 10px; }
.info-banner__content p { font-size: 1.1rem; opacity: 0.9; max-width: 500px; }

/* --- ANIMATIONS --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}
/* --- CONTACT SECTION --- */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

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

.contact__badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-surface);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.contact__badge i {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact__badge h4 { font-size: 1rem; margin-bottom: 4px; }
.contact__badge span { font-size: 0.85rem; color: var(--color-text-muted); }

/* Form Styles */
.contact__form-box {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--color-border);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.captcha-group input {
    width: 100px; /* Smaller input for captcha */
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-checkbox input {
    margin-top: 4px;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p { font-size: 0.9rem; color: var(--color-text-muted); }
.cookie-content a { color: var(--color-primary); text-decoration: underline; }

/* --- POLICY PAGES STYLING --- */
.pages {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
}
.pages h1 { font-size: 2.5rem; margin-bottom: 30px; }
.pages h2 { font-size: 1.5rem; margin: 40px 0 20px; color: var(--color-text); }
.pages p { margin-bottom: 16px; color: var(--color-text-muted); }
.pages ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; color: var(--color-text-muted); }
.pages li { margin-bottom: 8px; }
.pages strong { color: var(--color-text); }
.pages a { color: var(--color-primary); text-decoration: underline; }

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero__container, .benefits__wrapper, .contact__wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero__actions { justify-content: center; }
    .hero__visual { display: none; }
    .info-banner { flex-direction: column; text-align: center; padding: 40px; }
    .contact__info { margin-bottom: 40px; }
    .contact__badges { flex-direction: row; justify-content: center; }
}
@media (max-width: 768px) {
    .header__burger { display: block; }
    .nav { position: fixed; top: var(--header-height); left: 0; width: 100%; height: 0; background-color: var(--color-surface); overflow: hidden; transition: height 0.4s ease-in-out; border-bottom: 1px solid var(--color-border); }
    .nav.is-open { height: 320px; }
    .nav__list { flex-direction: column; align-items: center; padding: 40px 0; gap: 20px; }
    .header__actions .btn { display: none; }
    .footer__container { grid-template-columns: 1fr; gap: 40px; }
    .contact__badges { flex-direction: column; }
    .cookie-content { flex-direction: column; text-align: center; }
}