/* ============================================================
   Deaku — Main CSS (Bootstrap-fresh, Option B)
   Accent: #ff6b6b | Theme: Light
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --bg: #f8f9fa;
    --surface: #ffffff;
    --surface2: #f0f2f5;
    --text: #1e293b;
    --text-muted: #64748b;
    --accent: #ff6b6b;
    --accent-dark: #e55555;
    --accent-light: #fff0f0;
    --border: rgba(0,0,0,0.08);
    --radius: 12px;
    --gap: 40px;
    --nav-height: 70px;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.9;
    overflow-x: hidden;
}

/* ── Override template uppercase/letter-spacing ── */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--text);
}

/* ── Links ── */
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* ── Sections ── */
section, .section { color: var(--text); }

.section { padding: 90px 0; }
.section-alt { background: var(--surface2); color: var(--text); }
.section-dark { background: #1e293b; color: #e8eaf0; }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #e8eaf0; }
.section-dark p,
.section-dark li { color: #cbd5e1; }
.section-dark a { color: var(--accent); }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}
.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.nav-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--text) !important;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.nav-brand span { color: var(--accent); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
    background: var(--accent-light);
    color: var(--accent);
}
.nav-links a.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}
.nav-links a.nav-cta:hover {
    background: var(--accent-dark);
    color: #fff !important;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

/* ── Hero Section ── */
.hero-section {
    background: var(--section-dark, #1e293b);
    color: #e8eaf0;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 100px 0;
}
.hero-section h1,
.hero-section h2,
.hero-section h3 { color: #ffffff; }
.hero-section p { color: #cbd5e1; }
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(255,107,107,0.12);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero-section h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 680px;
}
.hero-section .lead {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.75;
}
.btn-gap { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff !important;
    transform: translateY(-1px);
}
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #e8eaf0 !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    color: #fff !important;
}
.btn-secondary-dark {
    display: inline-block;
    background: transparent;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.btn-secondary-dark:hover {
    background: var(--accent);
    color: #fff !important;
}

/* ── Page Hero (interior pages) ── */
.page-hero {
    background: #1e293b;
    color: #e8eaf0;
    padding: 80px 0 70px;
}
.page-hero h1 { color: #ffffff; font-size: 48px; font-weight: 700; margin-bottom: 14px; }
.page-hero p { color: #cbd5e1; font-size: 18px; max-width: 560px; }

/* ── Section Headings ── */
.section-heading { font-size: 40px; font-weight: 700; line-height: 1.2; margin-bottom: 14px; color: var(--text); }
.section-sub { font-size: 18px; color: var(--text-muted); max-width: 540px; margin-bottom: 48px; }

/* ── Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--text);
}
.feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.feature-card p { font-size: 17px; color: var(--text-muted); line-height: 1.75; }
.feature-card .card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 22px;
}

/* ── Steps grid ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    color: var(--text);
}
.step-num {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.step p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* ── Stats row ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    text-align: center;
}
.stat-item { padding: 24px; color: var(--text); }
.stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1.1;
}
.stat-label { font-size: 15px; color: var(--text-muted); margin-top: 6px; }

/* ── Testimonials ── */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--text);
}
.testimonial-card .quote { font-size: 17px; color: var(--text); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testimonial-card .author { font-size: 15px; font-weight: 600; color: var(--text); }
.testimonial-card .author-role { font-size: 14px; color: var(--text-muted); }

/* ── Pricing ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    color: var(--text);
    position: relative;
}
.pricing-card.featured {
    border: 2px solid var(--accent);
    background: #fff;
    box-shadow: 0 12px 40px rgba(255,107,107,0.12);
    transform: translateY(-8px);
}
.pricing-card h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pricing-card .price {
    font-size: 44px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin: 16px 0 6px;
}
.pricing-card .price span { font-size: 18px; color: var(--text-muted); font-weight: 400; }
.pricing-card .price-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}
.pricing-card .features li {
    font-size: 15px;
    color: var(--text);
    padding: 7px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.pricing-card .features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 13px;
    top: 10px;
}
.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Team ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    color: var(--text);
}
.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    display: block;
    margin: 0 auto 18px;
    border: 3px solid var(--accent-light);
}
.team-card h3 { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.team-bio { font-size: 15px; color: var(--text-muted); line-height: 1.7; text-align: left; }
.team-email { display: inline-block; font-size: 14px; color: var(--accent); margin-top: 14px; }

/* ── Contact ── */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.contact-list li i { color: var(--accent); width: 20px; margin-top: 3px; }
.contact-list a { color: var(--accent); }

/* Bootstrap form override */
.form-control {
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    padding: 12px 16px;
    color: var(--text);
    background: var(--surface);
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,107,107,0.15);
    outline: none;
    color: var(--text);
    background: var(--surface);
}
textarea.form-control { resize: vertical; }

/* ── Blog ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    display: flex;
    flex-wrap: wrap;
}
.blog-grid > [class*="col-"] {
    display: flex;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.15s;
    color: var(--text);
    display: flex;
    flex-direction: column;
    width: 100%;
}
.blog-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.blog-card a { color: inherit; text-decoration: none; display: block; }
.blog-card-img {
    width: 100%;
    height: 200px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px;
    flex: 1;
}
.blog-card time { font-size: 13px; color: var(--text-muted); }
.blog-card h3 { font-size: 18px; font-weight: 600; margin: 8px 0 10px; color: var(--text); line-height: 1.4; }
.blog-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ── CTA Section ── */
.cta-section {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.88); margin-bottom: 32px; }
.cta-section .btn-white {
    display: inline-block;
    background: #fff;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
}
.cta-section .btn-white:hover { background: #ffe0e0; color: var(--accent) !important; }

/* ── Values / About ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    color: var(--text);
}
.value-card .val-icon { font-size: 28px; margin-bottom: 14px; color: var(--accent); }
.value-card h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── Footer ── */
.site-footer {
    background: #1e293b;
    color: #e8eaf0;
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 14px; display: block; }
.footer-brand span { color: var(--accent); }
.site-footer p { font-size: 15px; color: #94a3b8; line-height: 1.7; }
.footer-address { font-size: 14px; color: #64748b; margin-top: 10px; }
.site-footer h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #e2e8f0; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; }
.footer-links a { font-size: 15px; color: #94a3b8; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 28px;
    text-align: center;
}
.footer-bottom p { font-size: 14px; color: #64748b; }

/* ── FAQ Accordion ── */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: 10px !important;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: var(--text) !important;
    background: var(--surface) !important;
}
.accordion-button:not(.collapsed) {
    color: var(--accent) !important;
    background: var(--accent-light) !important;
    box-shadow: none !important;
}
.accordion-body { font-size: 16px; color: var(--text-muted); background: var(--surface); }

/* ── Cookie Banner ── */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #e8eaf0;
    border-radius: 14px;
    padding: 20px 28px;
    max-width: 640px;
    width: calc(100% - 40px);
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-content { display: contents; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; color: #fff; margin-bottom: 4px; font-size: 15px; }
.cookie-text p { font-size: 13px; color: #94a3b8; margin: 0; line-height: 1.6; }
.cookie-text a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 10px; }
#cookie-decline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #94a3b8;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
#cookie-accept {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#cookie-accept:hover { background: var(--accent-dark); }

/* ── About 2-col story ── */
.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--surface2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    overflow: hidden;
}
.story-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ── Integration badges ── */
.integrations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.integration-badge {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 500;
}

/* ── Backed-by section ── */
.backed-by {
    background: var(--surface2);
    color: var(--text);
    padding: 56px 0;
    text-align: center;
}
.backed-by h2 { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.backed-by p { font-size: 17px; color: var(--text-muted); max-width: 580px; margin: 0 auto; }
.vc-name {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin: 18px 0 12px;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .pricing-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .story-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 40px; }
    .section-heading { font-size: 32px; }
    .page-hero h1 { font-size: 34px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .btn-gap { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ARTICLE / LEGAL CONTENT WIDTH (max 720px centered)
   ============================================================ */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Site Logo */
.site-logo { height: 36px; width: auto; vertical-align: middle; margin-right: 8px; }

/* Nav menu-trigger inline fix */
.navicon { float: none !important; margin-left: auto !important; }
.menu-trigger {
  display: flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
}
.menu-trigger .icon {
  font-size: 20px;
  line-height: 1;
}
.menu-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Nav row flex fix */
.navbar .row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
}
.brand { float: none !important; }
