@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --primary-color: #9A7B4F;
    --primary-soft: rgba(154, 123, 79, 0.12);
    --border-radius: 14px;
    --border: 1px solid rgba(26, 24, 20, 0.08);
    --border-color: rgba(26, 24, 20, 0.10);
    --box-shadow: 0 12px 40px rgba(26, 24, 20, 0.06);
    --box-shadow-card: 0 4px 24px rgba(26, 24, 20, 0.05);
    --sidebar-width: 270px;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F6F2;
    --bg-hero: #F3F0EA;
    --bg-section: #EFEBE3;
    --bg-dark: #141210;
    --text-primary: #1A1814;
    --text-secondary: rgba(26, 24, 20, 0.68);
    --heading-color: #141210;
    --text-muted: rgba(26, 24, 20, 0.52);
    --text-on-dark: #F8F6F2;
    --brand-from: #141210;
    --brand-mid: #7A6548;
    --brand-to: #C4A574;
    --brand-grad: linear-gradient(135deg, var(--brand-from) 0%, var(--brand-mid) 48%, var(--brand-to) 100%);
    --accent-glow: rgba(196, 165, 116, 0.35);
    --header-bg: rgba(248, 246, 242, 0.88);
    --header-border: rgba(26, 24, 20, 0.06);
    --header-shadow: 0 4px 24px rgba(26, 24, 20, 0.04);
}

[data-theme="dark"] {
    --bg-primary: #141210;
    --bg-secondary: #1C1A17;
    --bg-hero: #181614;
    --bg-section: #1E1C18;
    --bg-dark: #0E0D0B;
    --text-primary: #F0EBE3;
    --text-secondary: rgba(240, 235, 227, 0.72);
    --heading-color: #FAF8F5;
    --text-muted: rgba(240, 235, 227, 0.52);
    --border-color: rgba(255, 255, 255, 0.08);
    --border: 1px solid var(--border-color);
    --primary-soft: rgba(196, 165, 116, 0.14);
    --box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    --box-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.22);
    --header-bg: rgba(20, 18, 16, 0.88);
    --header-border: rgba(255, 255, 255, 0.06);
    --header-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --brand-from: #FAF8F5;
    --brand-mid: #C4A574;
    --brand-to: #E8D5B0;
}

.container {
    max-width: 1080px;
    width: 90%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4,
.hero-title,
.hero-mega-title,
.section-header .title,
.page-hero-title,
.about-title,
.automation-title,
.footer-brand-name,
.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--header-shadow);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(196, 165, 116, 0.06), transparent 70%);
    opacity: 0.9;
}

[data-theme="dark"] .header::before {
    background: linear-gradient(180deg, rgba(196, 165, 116, 0.12), transparent 70%);
}

.header-row {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 14px 0;
    gap: 24px;
}

.header-logo {
    flex-shrink: 0;
    min-width: 0;
}

.header-nav {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.logo {
    width: auto;
    height: 42px;
    max-width: min(220px, 40vw);
    display: block;
    object-fit: contain;
    object-position: left center;
}

/* Light/dark logo switching */
.logo-light {
    display: inline-block;
}
.logo-dark {
    display: none;
}
[data-theme="dark"] .logo-light {
    display: none;
}
[data-theme="dark"] .logo-dark {
    display: inline-block;
}

/* Brand row: logo image + site title */
.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

/* Text fallback when no logo image is configured */
.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Site name next to uploaded logo */
.logo-text--with-logo {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    max-width: min(220px, 28vw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-link a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--heading-color);
    letter-spacing: -0.1px;
    transition: color 0.2s ease;
}

.header-link a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-link a:hover {
    color: var(--brand-mid);
}

.header-link a:hover::after {
    transform: scaleX(1);
}

[data-theme="dark"] .header-link a:hover {
    color: var(--brand-to);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--primary-color);
    font-size: 24px;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    max-height: 0;
    width: 100%;
    padding: 0;
    background-color: var(--bg-primary);
    border-top: 1px solid transparent;
    box-shadow: var(--box-shadow-card);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
    z-index: 999;
}

.mobile-menu-list {
    padding: 0 5%;
}

.mobile-menu.active {
    max-height: 500px;
    padding: 20px 0;
    opacity: 1;
    transform: translateY(0);
    border-top-color: var(--border-color);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-item:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-menu-item:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-menu-item:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-menu-item:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-item a:hover {
    color: var(--primary-color);
}

.mobile-menu-item a i {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-menu-toggle {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.btn {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.1px;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

.btn i {
    font-size: 18px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 2px solid var(--brand-mid);
    outline-offset: 3px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border: 1.5px solid var(--header-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.btn-secondary:hover {
    color: var(--brand-mid);
    border-color: rgba(154, 123, 79, 0.45);
    background-color: var(--primary-soft);
}

[data-theme="dark"] .btn-secondary {
    color: #e4e6eb;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

[data-theme="dark"] .btn-secondary:hover {
    color: var(--brand-to);
    border-color: rgba(196, 165, 116, 0.55);
    background-color: rgba(196, 165, 116, 0.14);
}

.btn-primary {
    background: var(--brand-grad);
    background-size: 180% 180%;
    background-position: 0% 50%;
    color: #ffffff;
    box-shadow: 0 8px 22px -6px rgba(26, 24, 20, 0.18), 0 2px 6px -2px rgba(154, 123, 79, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 14px 28px -6px rgba(26, 24, 20, 0.22), 0 4px 10px -2px rgba(196, 165, 116, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px -6px rgba(26, 24, 20, 0.16);
}

/* ============================================================
   HERO — Premium landing header
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: clamp(580px, 85vh, 880px);
    padding: clamp(88px, 12vw, 132px) 0 clamp(40px, 5vw, 64px);
    overflow: hidden;
    background: var(--bg-hero, #faf8f5);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% 18%, rgba(196, 165, 116, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 45% 38% at 82% 78%, rgba(154, 123, 79, 0.08) 0%, transparent 55%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-stage {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 28px;
    border-radius: 100px;
    border: 1px solid rgba(154, 123, 79, 0.22);
    background: rgba(196, 165, 116, 0.1);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    animation: heroFadeUp 0.5s ease 0.05s forwards;
}

.hero-badge i {
    font-size: 14px;
}

.hero-eyebrow {
    margin: 0 0 20px;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    animation: heroFadeUp 0.5s ease 0.12s forwards;
}

.hero-mega-title {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vw, 14px);
    margin: 0 0 clamp(24px, 4vw, 36px);
    width: 100%;
}

.hero-mega-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    opacity: 0;
    animation: heroFadeUp 0.55s ease 0.18s forwards;
}

.hero-mega-line--accent {
    background: linear-gradient(135deg, var(--text-primary) 0%, #9a7b4f 48%, #c4a574 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation-delay: 0.24s;
}

.hero-mega-sub {
    max-width: 640px;
    margin: 0 auto clamp(32px, 5vw, 44px);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.75;
    color: var(--text-muted);
    opacity: 0;
    animation: heroFadeUp 0.5s ease 0.3s forwards;
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    opacity: 0;
    animation: heroFadeUp 0.5s ease 0.4s forwards;
}

.hero-actions .hero-buttons {
    justify-content: center;
}

.hero-cta-primary {
    height: 56px;
    padding: 0 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    min-width: 240px;
    box-shadow: 0 14px 32px -10px rgba(26, 24, 20, 0.18), 0 0 24px rgba(196, 165, 116, 0.15);
}

.hero-benefits {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    opacity: 0;
    animation: heroFadeUp 0.5s ease 0.5s forwards;
}

.hero-benefits .hero-benefit {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-benefits .hero-benefit i {
    color: var(--accent);
}

.hero-benefits .hero-benefit strong {
    color: var(--text-primary);
}

.hero-proof {
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: heroFadeUp 0.5s ease 0.58s forwards;
}

.hero-proof .hero-proof-stars {
    color: var(--text-muted);
}

.hero-proof .hero-proof-stars i {
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-cta-secondary {
    height: 54px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    min-width: 120px;
}

.hero-cta-quiet {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-benefit i {
    font-size: 16px;
    flex-shrink: 0;
}

.hero-benefit strong {
    font-weight: 600;
}

.hero-proof-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
}

.hero-proof-stars span {
    margin-left: 8px;
    font-weight: 500;
}

/* Hero reviews marquee */
.hero-reviews-band {
    margin-top: clamp(48px, 6vw, 72px);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.55);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: heroMarquee 40s linear infinite;
}

.hero-reviews-band:hover .hero-reviews-track {
    animation-play-state: paused;
}

@keyframes heroMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-review-pill {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 280px;
    max-width: 320px;
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px -12px rgba(26, 24, 20, 0.12);
}

.hero-review-pill i {
    color: var(--accent);
    font-size: 14px;
}

.hero-review-pill p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    font-style: italic;
}

.hero-review-pill span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.h-full {
    height: 100%;
}

.stats {
    padding: 50px 0;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.stats-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-icon {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--primary-soft);
}

.stats-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.stats-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats-text h3 {
    color: var(--heading-color);
    font-size: 20px;
}

.stats-text p {
    white-space: nowrap;
    font-size: 14px;
    color: var(--heading-color);
}

.about-section {
    width: 100%;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.section-header .subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 100px;
    padding: 6px 16px 6px 14px;
    border: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: var(--primary-soft);
}

.section-header .title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--heading-color);
    letter-spacing: -0.02em;
}

.section-header .desc {
    color: var(--text-muted);
    font-size: 15px;
}

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

.about-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-item {
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.about-item.active {
    opacity: 1;
}

.about-item.active .about-title {
    color: var(--primary-color);
}

.about-item:hover {
    opacity: 1;
}

.about-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.about-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.about-item.active .about-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.about-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 0;
}

.about-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--bg-section), var(--bg-dark));
    padding: 40px;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.about-image.fade-out {
    opacity: 0;
}

.about-image.fade-in {
    opacity: 1;
}

.features {
    padding: 100px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.features-card {
    padding: 24px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.35s ease;
}

.features-card:hover {
    border-color: rgba(154, 123, 79, 0.35);
    box-shadow: 0 16px 40px rgba(26, 24, 20, 0.08);
    transform: translateY(-3px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.feature-text h3 {
    color: var(--heading-color);
    font-size: 20px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.automation-section {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-section);
}

.automation-cards-container {
    position: relative;
    height: 1500px;
}

.automation-card {
    position: sticky;
    top: 100px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    padding: 30px;
    border-radius: 32px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.automation-card:nth-child(1) {
    background: linear-gradient(145deg, #F8F6F2 0%, #E8E2D6 100%);
}

.automation-card:nth-child(2) {
    background: linear-gradient(145deg, #FAF7F2 0%, #EDE4D4 100%);
}

.automation-card:nth-child(3) {
    background: linear-gradient(145deg, #F5F3EF 0%, #E5DDD0 100%);
}

.automation-card:nth-child(4) {
    background: linear-gradient(145deg, #F3F0EA 0%, #DDD4C4 100%);
}

[data-theme="dark"] .automation-card:nth-child(1) {
    background: linear-gradient(145deg, #1C1A17 0%, #252118 100%);
}

[data-theme="dark"] .automation-card:nth-child(2) {
    background: linear-gradient(145deg, #1A1814 0%, #2A2318 100%);
}

[data-theme="dark"] .automation-card:nth-child(3) {
    background: linear-gradient(145deg, #181614 0%, #222018 100%);
}

[data-theme="dark"] .automation-card:nth-child(4) {
    background: linear-gradient(145deg, #141210 0%, #1E1A14 100%);
}

.automation-card:last-child {
    margin-bottom: 0;
}

.automation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(26, 24, 20, 0.10);
}

.automation-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.automation-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.2;
    margin: 0;
}

.automation-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.automation-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.automation-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--heading-color);
}

[data-theme="dark"] .automation-title,
[data-theme="dark"] .automation-desc,
[data-theme="dark"] .automation-feature-item {
    color: #ffffff;
}

.automation-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 24, 20, 0.08);
}

.automation-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.integration-section {
    width: 100%;
    padding: 100px 0;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.integration-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    transition: all 0.35s ease;
}

.integration-card:hover {
    border-color: rgba(154, 123, 79, 0.3);
    box-shadow: var(--box-shadow-card);
}

.integration-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.integration-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.integration-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.integration-text p {
    font-size: 14px;
    color: var(--heading-color);
}

/* Theme toggle — compact pill with sun/moon glyphs */
.theme-toggle {
    display: inline-flex;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
}

.toggle-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.toggle-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 58px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--brand-grad);
    background-size: 200% 200%;
    background-position: 0% 50%;
    cursor: pointer;
    transition: background-position 0.4s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20), 0 4px 12px -4px rgba(26, 24, 20, 0.25);
}

.toggle-icon {
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.95);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 1;
}

.toggle-icon-sun {
    transform: translateX(0) rotate(0deg);
}

.toggle-icon-moon {
    transform: translateX(0) rotate(0deg);
}

.toggle-label .toggle-text {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.30), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* Checked = dark mode = thumb on right (covers moon) */
.toggle-switch input:checked + .toggle-label .toggle-text {
    transform: translateX(28px);
}

.toggle-switch input:checked + .toggle-label {
    background-position: 100% 50%;
}

.toggle-switch input:focus-visible + .toggle-label {
    outline: 2px solid var(--brand-mid);
    outline-offset: 3px;
}

.reviews-section {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-section);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(196, 165, 116, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlowPulse 6s ease-in-out infinite;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.review-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.review-card:hover {
    border-color: rgba(154, 123, 79, 0.35);
    box-shadow: 0 20px 48px rgba(26, 24, 20, 0.08);
    transform: translateY(-8px) scale(1.02);
}

.review-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.review-rating i {
    font-size: 18px;
    color: #f59e0b;
}

.review-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--brand-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar i {
    font-size: 24px;
    color: var(--text-on-dark);
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
}

.review-role {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 24px;
    }
}

.steps {
    background: linear-gradient(165deg, var(--bg-dark) 0%, #1E1A14 100%);
    padding: 100px 0;
    color: var(--text-on-dark);
}

.steps .subtitle {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.steps .desc {
    color: var(--text-on-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.steps-card {
    padding: 20px 24px 24px;
    background-color: var(--bg-primary);
    border-radius: 14px;
}

.steps-card h3 {
    color: var(--heading-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.steps-card p {
    font-size: 14px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.step-image img {
    width: 100%;
}

.faq {
    padding: 100px 0;
}

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

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--box-shadow-card);
    transition: all 0.35s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 20px;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding-top: 0;
}

.faq-answer.active {
    max-height: 500px;
    opacity: 1;
    padding-top: 16px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.cta {
    padding: 100px 0;
    width: 100%;
    background: linear-gradient(165deg, var(--bg-dark) 0%, #1E1A14 100%);
    color: var(--text-on-dark);
}

.cta .subtitle {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.cta .desc {
    color: var(--text-on-dark);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-white {
    background-color: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--bg-primary);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-on-dark);
    border: 2px solid var(--text-on-dark);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark);
}

.footer {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--heading-color);
}

.footer-tagline {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-list li a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-list li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.website-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.website-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.social-icon i {
    font-size: 20px;
}

/* Scroll Animation Styles - Pure CSS */
section:not(.hero) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section:not(.hero).animate {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.stats-card {
    opacity: 0;
    transform: translateY(36px) scale(0.95);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stats-card.animate .stats-text h3 {
    animation: statPop 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.features-card,
.integration-card,
.steps-card,
.faq-item,
.automation-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-card.animate,
.integration-card.animate,
.steps-card.animate,
.faq-item.animate,
.automation-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for cards */
.stats-card:nth-child(1) { transition-delay: 0.1s; }
.stats-card:nth-child(2) { transition-delay: 0.2s; }
.stats-card:nth-child(3) { transition-delay: 0.3s; }
.stats-card:nth-child(4) { transition-delay: 0.4s; }

.features-card:nth-child(1) { transition-delay: 0.1s; }
.features-card:nth-child(2) { transition-delay: 0.2s; }
.features-card:nth-child(3) { transition-delay: 0.3s; }
.features-card:nth-child(4) { transition-delay: 0.4s; }
.features-card:nth-child(5) { transition-delay: 0.5s; }
.features-card:nth-child(6) { transition-delay: 0.6s; }

.integration-card:nth-child(1) { transition-delay: 0.1s; }
.integration-card:nth-child(2) { transition-delay: 0.2s; }
.integration-card:nth-child(3) { transition-delay: 0.3s; }
.integration-card:nth-child(4) { transition-delay: 0.4s; }
.integration-card:nth-child(5) { transition-delay: 0.5s; }
.integration-card:nth-child(6) { transition-delay: 0.6s; }

.steps-card:nth-child(1) { transition-delay: 0.1s; }
.steps-card:nth-child(2) { transition-delay: 0.2s; }
.steps-card:nth-child(3) { transition-delay: 0.3s; }

.review-card:nth-child(1) { transition-delay: 0.1s; }
.review-card:nth-child(2) { transition-delay: 0.2s; }
.review-card:nth-child(3) { transition-delay: 0.3s; }
.review-card:nth-child(4) { transition-delay: 0.4s; }
.review-card:nth-child(5) { transition-delay: 0.5s; }
.review-card:nth-child(6) { transition-delay: 0.6s; }

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }

.automation-card:nth-child(1) { transition-delay: 0.1s; }
.automation-card:nth-child(2) { transition-delay: 0.2s; }
.automation-card:nth-child(3) { transition-delay: 0.3s; }
.automation-card:nth-child(4) { transition-delay: 0.4s; }

.cta,
.footer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta.animate,
.footer.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes statPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-reviews-track,
    .hero-badge,
    .hero-eyebrow,
    .hero-mega-line,
    .hero-mega-sub,
    .hero-actions,
    .hero-benefits,
    .hero-proof,
    .reviews-section::before {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    section, .section-header, .stats-card, .features-card,
    .integration-card, .steps-card, .faq-item, .automation-card,
    .review-card, .cta, .footer {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Legal, Privacy, Support content pages - theme-aware */
.content-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 20px;
}

.legal-page .page-title,
.support-page .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.legal-page .page-date,
.support-page .page-intro {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-page .page-body,
.support-page .page-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.legal-page .page-body section,
.support-page .page-body section {
    margin-bottom: 2.5rem;
}

.legal-page .page-body h2,
.support-page .page-body h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.legal-page .page-body h3,
.support-page .page-body h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.legal-page .page-body ul,
.legal-page .page-body ol,
.support-page .page-body ul,
.support-page .page-body ol {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.legal-page .page-body p,
.support-page .page-body p {
    margin: 0 0 0.5em;
}

.legal-page .page-body p.page-contact-detail,
.support-page .page-body p.page-contact-detail {
    margin-top: 0.5rem;
}

.legal-page .page-body a,
.support-page .page-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-page .page-body a:hover,
.support-page .page-body a:hover {
    text-decoration: underline;
}

.support-page .contact-box {
    background-color: var(--bg-section);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

.support-page .contact-box p {
    margin-bottom: 0.5rem;
}

.support-page .contact-box p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   Premium landing-page additions
   ============================================================ */

/* Hero trust strip */
.hero-trust {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 28px;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-trust-item i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Hero "OTP inbox" mock */
.hero-mock {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(26, 24, 20, 0.25);
    overflow: hidden;
    animation: floatUpDown 4s ease-in-out infinite;
}
.hero-mock-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background-color: var(--bg-section);
    border-bottom: 1px solid var(--border-color);
}
.hero-mock-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ff5f56; }
.dot-amber { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.hero-mock-title {
    margin-left: 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-mock-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}
.hero-msg {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background-color: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-msg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(26, 24, 20, 0.08);
}
.hero-msg-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--bg-primary);
    color: var(--primary-color);
    font-size: 20px;
    border: 1px solid var(--border-color);
}
.hero-msg-text {
    display: flex;
    flex-direction: column;
}
.hero-msg-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
}
.hero-msg-sub {
    font-size: 13px;
    color: var(--text-muted);
}
.hero-msg-sub strong {
    color: var(--primary-color);
    letter-spacing: 1px;
}
.hero-msg-time {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* About icons inline */
.about-title i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* About-right feature stack */
.about-feature-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.about-feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    background-color: var(--bg-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(26, 24, 20, 0.08);
}
.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-soft);
    color: var(--primary-color);
    font-size: 22px;
    flex-shrink: 0;
}
.about-feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
}
.about-feature-sub {
    font-size: 14px;
    color: var(--text-muted);
}

/* Override the original about-image-wrapper background for stack */
.about-right .about-image-wrapper { display: none; }
.about-right .about-feature-stack { display: flex; }

/* Steps numbering */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--brand-grad);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(26, 24, 20, 0.15);
}

/* Automation illustrations (no images) */
.automation-illustration {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    padding: 36px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}
[data-theme="dark"] .automation-illustration {
    background: rgba(255, 255, 255, 0.06);
}
.auto-flag {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.auto-flag-pill {
    padding: 10px 18px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 100px;
    font-weight: 600;
    color: var(--heading-color);
    box-shadow: 0 4px 14px rgba(26, 24, 20, 0.06);
    font-size: 14px;
}
[data-theme="dark"] .auto-flag-pill {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.auto-phone {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9 / 14;
    background-color: var(--bg-dark);
    border-radius: 26px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(26, 24, 20, 0.25);
}
.auto-phone-screen {
    background-color: #fff;
    border-radius: 18px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 14px;
}
.auto-phone-line {
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-dark);
    letter-spacing: 1px;
}
.auto-phone-status {
    color: #16a34a;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.auto-phone-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
    animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
    100% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
}
.auto-otp {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.auto-otp-digit {
    width: 60px;
    height: 76px;
    background-color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(26, 24, 20, 0.08);
}
[data-theme="dark"] .auto-otp-digit {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Inner page hero (Support / Terms / Privacy) */
.page-hero {
    padding: 110px 0 60px;
    text-align: center;
    background-color: var(--bg-hero);
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(196, 165, 116, 0.10) 0%, transparent 60%);
}
.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background-color: var(--bg-primary);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--box-shadow);
    margin-bottom: 18px;
}
.page-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.page-hero-sub {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
}

.content-section {
    padding: 70px 0;
}
.content-section--alt {
    background-color: var(--bg-section);
}

/* Support cards grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.support-card {
    padding: 28px;
    background-color: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    color: var(--heading-color);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: block;
}
.support-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 18px 36px rgba(26, 24, 20, 0.08);
}
.support-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background-color: var(--primary-soft);
    color: var(--primary-color);
    font-size: 26px;
    margin-bottom: 16px;
}
.support-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--heading-color);
}
.support-card p {
    margin: 0 0 8px;
    color: var(--text-muted);
    font-size: 15px;
}
.support-meta {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Legal page (used inside content-section) */
.legal-page {
    max-width: 880px;
    margin: 0 auto;
    line-height: 1.75;
}
.legal-page h2 {
    font-size: 22px;
    margin: 36px 0 12px;
    color: var(--heading-color);
}
.legal-page h3 {
    font-size: 17px;
    margin: 18px 0 8px;
    color: var(--heading-color);
}
.legal-page p,
.legal-page li {
    color: var(--text-primary);
    font-size: 15.5px;
}
.legal-page ul,
.legal-page ol {
    padding-left: 22px;
    margin: 8px 0 12px;
}
.legal-page section {
    padding-bottom: 6px;
}
.page-contact-detail {
    background-color: var(--bg-section);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 12px;
    display: inline-block;
}

/* CTA strip (used at bottom of pages) */
.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 36px;
    border-radius: 22px;
    background: var(--brand-grad);
    color: #fff;
    flex-wrap: wrap;
}
.cta-strip-text h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 24px;
}
.cta-strip-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}
.cta-strip-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cta-strip .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.cta-strip .btn-hero-secondary {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}
.cta-strip .btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1024px) {
    .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { padding: 90px 0 40px; }
    .page-hero-title { font-size: 34px; }
    .support-grid { grid-template-columns: 1fr; }
    .cta-strip { flex-direction: column; align-items: stretch; text-align: center; }
    .cta-strip-actions { justify-content: center; }
    .auto-otp-digit { width: 44px; height: 60px; font-size: 24px; }
    .hero-msg { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 12px; }
}
