:root {
    --ink: #061018;
    --ink-soft: #0d1f2a;
    --panel: #122736;
    --teal: #1a9b8a;
    --teal-bright: #2dd4bf;
    --lime: #b8f000;
    --lime-dark: #9acc00;
    --mist: #e8f4f1;
    --muted: #8aa3b0;
    --white: #ffffff;
    --danger: #e85d5d;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* Navbar */
.site-nav {
    background: rgba(6, 16, 24, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.12);
    padding: 0.75rem 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--teal), var(--lime));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 1.25rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    color: var(--white);
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.brand-text small {
    font-size: 0.65rem;
    color: var(--teal-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-nav .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--lime) !important;
}

.btn-accent {
    background: var(--lime);
    color: var(--ink);
    border: none;
    font-weight: 700;
    border-radius: 8px;
    transition: transform 0.2s, background 0.2s;
}

.btn-accent:hover {
    background: var(--lime-dark);
    color: var(--ink);
    transform: translateY(-1px);
}

.btn-outline-light-custom {
    border: 1.5px solid rgba(255,255,255,0.4);
    color: var(--white);
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-light-custom:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: var(--white);
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
    border: none;
    font-weight: 600;
    border-radius: 8px;
}

.btn-teal:hover {
    background: #158577;
    color: var(--white);
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(6,16,24,0.88) 0%, rgba(6,16,24,0.55) 45%, rgba(13,31,42,0.75) 100%),
        url('https://images.unsplash.com/photo-1593941707882-a5bba14938c7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 40%, rgba(45,212,191,0.18), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(184,240,0,0.12), transparent 40%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 5rem;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-brand span {
    display: block;
    color: var(--lime);
    font-size: 0.42em;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.35em;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.fade-up-delay { animation-delay: 0.2s; }
.fade-up-delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--mist);
}

.section-dark {
    background: var(--ink-soft);
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-dark .section-label {
    color: var(--lime);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
}

.section-dark .section-lead {
    color: rgba(255,255,255,0.65);
}

/* Feature blocks */
.feature-block {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.feature-block:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26,155,138,0.15), rgba(184,240,0,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--teal);
    flex-shrink: 0;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.4rem;
    color: var(--lime);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .stat-row { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Page banner */
.page-banner {
    background:
        linear-gradient(120deg, rgba(6,16,24,0.92), rgba(13,31,42,0.85)),
        url('https://images.unsplash.com/photo-1617788138017-80ad40651399?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: var(--white);
    padding: 4.5rem 0 3.5rem;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    max-width: 520px;
}

/* Forms */
.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(6,16,24,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid #d0dde4;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26,155,138,0.15);
}

/* Policy content */
.policy-content {
    max-width: 800px;
}

.policy-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--ink-soft);
}

.policy-content p,
.policy-content li {
    color: #3a5360;
    line-height: 1.7;
}

.policy-content ul {
    padding-left: 1.25rem;
}

/* Contact strip */
.contact-strip {
    background: linear-gradient(90deg, var(--ink), var(--panel));
    color: var(--white);
    padding: 2.5rem 0;
}

.contact-strip a {
    color: var(--lime);
    text-decoration: none;
    font-weight: 600;
}

.contact-strip a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
}

.footer-heading {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-text {
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.45rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--lime);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--teal-bright);
    margin-top: 0.15rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Service items */
.service-row {
    display: grid;
    gap: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    align-items: start;
    transition: background 0.25s;
}

.service-item:hover {
    background: rgba(26,155,138,0.04);
}

.service-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: #4a6570;
    margin: 0;
    line-height: 1.65;
}

/* About visual */
.about-visual {
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
    background:
        linear-gradient(160deg, rgba(6,16,24,0.3), rgba(26,155,138,0.4)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=900&q=80') center/cover;
}

.alert-success-custom {
    background: rgba(184,240,0,0.15);
    border: 1px solid rgba(184,240,0,0.4);
    color: var(--ink-soft);
    border-radius: 10px;
}

.alert-danger-custom {
    background: rgba(232,93,93,0.1);
    border: 1px solid rgba(232,93,93,0.3);
    color: #8b2e2e;
    border-radius: 10px;
}

/* Admin styles */
.admin-body {
    background: #f0f4f6;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--ink);
    min-height: 100vh;
    color: var(--white);
    padding: 1.5rem 1rem;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 0.25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(45,212,191,0.15);
    color: var(--lime);
}

.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid #e0e8ec;
    padding: 1rem 1.5rem;
}

.table-admin {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.table-admin th {
    background: var(--ink-soft);
    color: var(--white);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.badge-new {
    background: rgba(184,240,0,0.2);
    color: #5a7a00;
}

.badge-reviewed {
    background: rgba(45,212,191,0.2);
    color: #0d7377;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, var(--ink) 0%, var(--panel) 100%);
}

.login-box {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Home page — extended sections */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-trust span {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 500;
}

.hero-trust i {
    color: var(--lime);
    margin-right: 0.35rem;
}

.mini-stat {
    background: var(--mist);
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
    height: 100%;
}

.mini-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--ink-soft);
}

.mini-stat span {
    font-size: 0.85rem;
    color: #5a7380;
    line-height: 1.45;
}

.dark-feature {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    height: 100%;
}

.dark-feature i {
    font-size: 1.5rem;
    color: var(--lime);
    display: block;
    margin-bottom: 0.85rem;
}

.dark-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.dark-feature p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}

.audience-block {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.audience-block:hover {
    border-color: rgba(26,155,138,0.35);
    box-shadow: 0 8px 28px rgba(6,16,24,0.06);
}

.home-service {
    background: var(--white);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.home-service-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
    display: block;
    margin-bottom: 0.75rem;
}

.home-service h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.home-service p {
    color: #4a6570;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #3a5360;
    line-height: 1.5;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.model-card {
    background: var(--mist);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
}

.model-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.model-card > p {
    color: #4a6570;
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    line-height: 1.55;
}

.model-card ul {
    padding-left: 1.1rem;
    margin: 0;
    color: #3a5360;
    font-size: 0.88rem;
}

.model-card li { margin-bottom: 0.3rem; }

.process-step {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    height: 100%;
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.benefit-item {
    display: flex;
    gap: 0.75rem;
    background: var(--white);
    border-radius: 12px;
    padding: 1.1rem 1rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.benefit-item > i {
    color: var(--teal);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.benefit-item strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.benefit-item span {
    display: block;
    font-size: 0.82rem;
    color: #5a7380;
    line-height: 1.4;
}

.home-faq .accordion-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
}

.home-faq .accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    box-shadow: none !important;
}

.home-faq .accordion-button:not(.collapsed) {
    background: rgba(26,155,138,0.08);
    color: var(--ink-soft);
}

.home-faq .accordion-body {
    color: #3a5360;
    line-height: 1.65;
    font-size: 0.95rem;
}

.btn-outline-dark {
    border: 1.5px solid var(--ink-soft);
    color: var(--ink-soft);
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-dark:hover {
    background: var(--ink-soft);
    color: var(--white);
}

html { scroll-behavior: smooth; }

@media (max-width: 575px) {
    .hero { min-height: 85vh; }
    .hero-brand { font-size: 2.4rem; }
    .service-item { grid-template-columns: 50px 1fr; gap: 1rem; }
    .form-card { padding: 1.25rem; }
    .hero-trust { gap: 0.75rem 1rem; }
}
