/* ==========================================================================
   DivineAccounts — Royal Burgundy & Rose Gold Theme
   ========================================================================== */
:root {
    --bg-body: #FDF8F4;
    --bg-cream: #FAF3ED;
    --bg-card: #FFFFFF;
    --bg-dark: #3B0A1A;
    --bg-darker: #2A0612;

    --burgundy: #7B1E3A;
    --burgundy-deep: #5A1028;
    --burgundy-light: #9E3055;
    --rose-gold: #C78D6D;
    --rose-gold-light: #E8C4A8;
    --rose-glow: rgba(199, 141, 109, 0.3);
    --rose-subtle: rgba(199, 141, 109, 0.08);

    --text-dark: #2A0612;
    --text-body: #5C3D4F;
    --text-muted: #8B7080;
    --text-light: #FAF3ED;
    --text-light-muted: #C9A8B8;

    --border: rgba(123, 30, 58, 0.08);
    --border-light: rgba(255,255,255,0.1);

    --font: 'Inter', sans-serif;
    --max-w: 1200px;
    --r-sm: 0.5rem;
    --r-md: 0.875rem;
    --r-lg: 1.25rem;
    --r-xl: 2rem;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    color: var(--text-body);
    background: var(--bg-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.75rem; border-radius: var(--r-md);
    font-weight: 600; font-size: 1rem; cursor: pointer;
    border: 2px solid transparent; transition: all 0.35s var(--ease);
}
.btn-burgundy { background: var(--burgundy); color: #fff; }
.btn-burgundy:hover {
    background: var(--burgundy-deep);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(123,30,58,0.3);
}
.btn-rose { background: var(--rose-gold); color: var(--bg-darker); }
.btn-rose:hover {
    background: var(--rose-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--rose-glow);
}
.btn-outline-dark {
    background: transparent; border-color: var(--burgundy); color: var(--burgundy);
}
.btn-outline-dark:hover {
    background: var(--burgundy); color: #fff; transform: translateY(-3px);
}
.btn-outline-light {
    background: transparent; border-color: rgba(255,255,255,0.3); color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1); border-color: var(--rose-gold); color: var(--rose-gold);
    transform: translateY(-3px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; text-align: center; justify-content: center; }

/* ── Navbar ──────────────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(253,248,244,0.7);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.nav.scrolled { background: rgba(253,248,244,0.95); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
    display: flex; justify-content: space-between; align-items: center; height: 76px;
}
.nav-logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.4rem; font-weight: 800; color: var(--burgundy);
}
.nav-logo i { font-size: 1.6rem; color: var(--rose-gold); }
.nav-menu { display: flex; gap: 2rem; }
.nav-menu a { font-weight: 500; color: var(--text-muted); position: relative; }
.nav-menu a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--rose-gold); transition: width 0.3s ease;
}
.nav-menu a:hover { color: var(--burgundy); }
.nav-menu a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 0.75rem; }
.hamburger {
    display: none; background: none; border: none; font-size: 1.5rem;
    color: var(--burgundy); cursor: pointer;
}

/* Mobile overlay */
.mob-overlay {
    display: none; position: fixed; top: 76px; left: 0; width: 100%; bottom: 0;
    background: rgba(253,248,244,0.98); backdrop-filter: blur(20px);
    z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mob-overlay.open { display: flex; }
.mob-overlay a { font-size: 1.4rem; font-weight: 600; color: var(--burgundy); }
.mob-overlay a:hover { color: var(--rose-gold); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding-top: 76px; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('assets/images/hero-bg-royal.png');
    background-attachment: fixed; background-position: center; background-size: cover;
    z-index: 0;
}
.hero-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(42,6,18,0.82) 0%, rgba(90,16,40,0.65) 50%, rgba(42,6,18,0.8) 100%);
}
.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-text { color: #fff; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.45rem 1rem; background: rgba(199,141,109,0.15);
    border: 1px solid rgba(199,141,109,0.25); border-radius: 2rem;
    font-size: 0.85rem; font-weight: 600; color: var(--rose-gold-light);
    margin-bottom: 1.5rem;
    animation: shimmer-border 4s ease-in-out infinite;
}
@keyframes shimmer-border {
    0%,100% { border-color: rgba(199,141,109,0.2); }
    50% { border-color: rgba(199,141,109,0.6); }
}
.hero-text h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800;
    line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.grad-text {
    background: linear-gradient(135deg, var(--rose-gold-light), var(--rose-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text p {
    font-size: 1.15rem; color: var(--text-light-muted);
    max-width: 500px; margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img {
    border-radius: var(--r-lg); border: 1px solid var(--border-light);
    position: relative; z-index: 2;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80%; height: 80%; background: var(--rose-gold);
    filter: blur(100px); opacity: 0.15; border-radius: 50%; z-index: 1;
}

/* Floating shapes */
.shape {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
}
.shape-1 {
    width: 300px; height: 300px; background: var(--burgundy);
    opacity: 0.06; filter: blur(60px);
    top: 15%; right: 5%;
    animation: drift 10s ease-in-out infinite alternate;
}
.shape-2 {
    width: 200px; height: 200px; background: var(--rose-gold);
    opacity: 0.08; filter: blur(50px);
    bottom: 20%; left: 10%;
    animation: drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
    0% { transform: translate(0,0) rotate(0deg); }
    100% { transform: translate(30px,-25px) rotate(5deg); }
}

/* ── Process / How It Works ──────────────────────────────── */
.process { padding: 6rem 0; }
.sec-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--burgundy); font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem;
}
.sec-label::before { content: ''; width: 28px; height: 2px; background: var(--rose-gold); }
.sec-heading {
    font-size: 2.5rem; font-weight: 800; color: var(--text-dark);
    margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.sec-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 540px; }
.sec-top { margin-bottom: 4rem; }
.sec-top.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-top.center .sec-label { justify-content: center; }
.sec-top.center .sec-sub { margin-left: auto; margin-right: auto; }

.timeline {
    position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
}
.timeline::before {
    content: ''; position: absolute; top: 42px; left: 10%; right: 10%;
    height: 2px; background: linear-gradient(90deg, var(--rose-gold), var(--burgundy), var(--rose-gold));
    opacity: 0.3;
}
.step {
    text-align: center; position: relative; padding-top: 1rem;
}
.step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: #fff; font-weight: 800; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem; position: relative; z-index: 2;
    box-shadow: 0 6px 20px rgba(123,30,58,0.25);
    transition: all 0.4s var(--ease);
}
.step:hover .step-num {
    transform: scale(1.15);
    box-shadow: 0 10px 35px rgba(123,30,58,0.4);
}
.step h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; max-width: 260px; margin: 0 auto; }

/* ── Features (Zigzag) ───────────────────────────────────── */
.features { padding: 6rem 0; background: var(--bg-cream); }
.zigzag {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    margin-bottom: 5rem;
}
.zigzag:last-child { margin-bottom: 0; }
.zigzag.reverse .zigzag-visual { order: -1; }
.zigzag-visual { position: relative; }
.zigzag-visual img {
    border-radius: var(--r-lg); border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.zigzag-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 60%; height: 60%; background: var(--rose-gold); filter: blur(80px);
    opacity: 0.1; border-radius: 50%;
}
.zigzag-text h3 {
    font-size: 2rem; font-weight: 800; color: var(--text-dark);
    margin-bottom: 1rem; letter-spacing: -0.01em;
}
.zigzag-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.check-row {
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 1rem;
}
.check-row i {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--rose-subtle); color: var(--rose-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; flex-shrink: 0;
}

/* ── Stats (Dark Banner) ─────────────────────────────────── */
.banner {
    background: var(--bg-dark); padding: 5rem 0; position: relative; overflow: hidden;
}
.banner::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, var(--burgundy) 0%, transparent 50%);
    opacity: 0.15;
}
.banner-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
    text-align: center; position: relative; z-index: 1;
}
.banner-stat h3 {
    font-size: 2.75rem; font-weight: 800; color: var(--rose-gold-light); margin-bottom: 0.25rem;
}
.banner-stat p {
    color: var(--text-light-muted); text-transform: uppercase;
    letter-spacing: 0.06em; font-size: 0.85rem;
}

/* ── Testimonials ────────────────────────────────────────── */
.reviews { padding: 6rem 0; }
.reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem;
}
.review-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 2rem; transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.review-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--rose-gold));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.review-card:hover::before { transform: scaleX(1); }
.review-stars { color: #F59E0B; margin-bottom: 1rem; font-size: 0.85rem; }
.review-card blockquote {
    color: var(--text-body); font-size: 0.95rem; line-height: 1.7;
    margin-bottom: 1.5rem; font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--rose-gold));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; color: #fff; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.review-role { color: var(--text-muted); font-size: 0.8rem; }

/* ── Contact ─────────────────────────────────────────────── */
.cta { padding: 6rem 0; background: var(--bg-cream); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.cta-text h2 { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; }
.cta-text > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.cta-row i { font-size: 1.2rem; color: var(--rose-gold); margin-top: 0.2rem; }
.cta-row span { font-size: 1.05rem; color: var(--text-body); }
.cta-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.cta-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field label {
    display: block; margin-bottom: 0.4rem; font-weight: 500;
    color: var(--text-muted); font-size: 0.88rem;
}
.field input {
    width: 100%; padding: 0.8rem 1rem; background: var(--bg-cream);
    border: 1px solid var(--border); border-radius: var(--r-sm);
    color: var(--text-dark); font-family: inherit; font-size: 1rem; transition: all 0.3s ease;
}
.field input::placeholder { color: var(--text-muted); }
.field input:focus { outline: none; border-color: var(--rose-gold); box-shadow: 0 0 0 3px var(--rose-subtle); }

/* ── Footer ──────────────────────────────────────────────── */
.foot {
    background: var(--bg-darker); color: var(--text-light); padding-top: 4rem;
}
.foot-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
    padding-bottom: 3rem; border-bottom: 1px solid var(--border-light);
}
.foot-brand p { color: var(--text-light-muted); margin-top: 1rem; max-width: 280px; font-size: 0.95rem; }
.foot-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.foot-col li { margin-bottom: 0.6rem; }
.foot-col a { color: var(--text-light-muted); font-size: 0.95rem; }
.foot-col a:hover { color: var(--rose-gold); }
.foot-bottom { text-align: center; padding: 2rem 0; color: var(--text-light-muted); font-size: 0.85rem; }

/* ── Scroll Animations ───────────────────────────────────── */
.anim-up { opacity: 0; transform: translateY(50px); transition: all 0.9s var(--ease); }
.anim-left { opacity: 0; transform: translateX(-60px); transition: all 0.9s var(--ease); }
.anim-right { opacity: 0; transform: translateX(60px); transition: all 0.9s var(--ease); }
.anim-scale { opacity: 0; transform: scale(0.92); transition: all 0.9s var(--ease); }
.anim-rotate { opacity: 0; transform: rotate(-3deg) translateY(30px); transition: all 0.9s var(--ease); }
[style*="--d"] { transition-delay: var(--d); }
.visible {
    opacity: 1 !important;
    transform: translate(0) scale(1) rotate(0deg) !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .zigzag { grid-template-columns: 1fr; text-align: center; }
    .zigzag.reverse .zigzag-visual { order: 0; }
    .zigzag-text p { margin-left: auto; margin-right: auto; }
    .check-row { justify-content: center; }
    .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-menu, .nav-actions { display: none; }
    .hamburger { display: block; }
    .timeline { grid-template-columns: 1fr; gap: 3rem; }
    .timeline::before { display: none; }
    .banner-grid { grid-template-columns: 1fr 1fr; }
    .sec-heading { font-size: 2rem; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
}
@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: center; }
    .banner-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
}
