/* assets/css/style.css
   Solid 5-color theme — bright, elegant, NO gradients.
   White #FFFFFF | Canvas #F3F6F5 | Brand #095650 | Ink #095650 | Mist #6B7872
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
/*
 * theme.css is loaded separately via <?php asset('assets/css/theme.css') ?> in headers
 * so its version auto-updates on change. Do not @import it here (unversioned cache).
 */

:root {
    --white: #FFFFFF;
    --canvas: #F3F6F5;
    --brand: #095650;
    --ink: #095650;
    --mist: #6B7872;
    --bg: #F3F6F5;
    --bg-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --text: #095650;
    --text-muted: #6B7872;
    --text-dim: #6B7872;
    --border: #D8E0DC;
    --shadow-brand: 0 8px 24px rgba(20, 32, 28, 0.08);
    --shadow: 0 8px 24px rgba(20, 32, 28, 0.08);
    --radius: 12px;
    --radius-lg: 16px;
    --container: 1180px;
}

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

body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: var(--bg, #F3F6F5);
    color: var(--text, #095650);
    overflow-x: hidden;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.2s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.slide-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Main Content Animation */
.main-content,
.page-content,
.hero-content,
.features-grid,
.doc-grid {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Common Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #095650;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 60px;
    line-height: 1.65;
}

/* Animated Background */
.bg-gradient {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #F3F6F5;
    z-index: -2;
}

.bg-circles { display: none; }

.circle { display: none; }

.circle:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 400px;
    height: 400px;
    top: 40%;
    right: -5%;
    animation-delay: 5s;
    background: #095650;
    opacity: 0.1;
}

.circle:nth-child(3) {
    width: 300px;
    height: 300px;
    bottom: -5%;
    left: 20%;
    animation-delay: 10s;
    background: #095650;
    opacity: 0.12;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Navigation — light: pure white bar | dark: pure black bar (see theme.css) */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 14px 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid #D8E0DC;
    box-sizing: border-box;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    color: #095650;
    text-decoration: none;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    z-index: 1002;
}

/* Desktop horizontal menu (transparent — bar supplies background) */
.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    position: static;
}

.nav-links a {
    color: #6B7872;
    text-decoration: none;
    margin-left: 22px;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 15px;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.nav-link-active {
    color: #095650;
}

.nav-btn {
    background: #095650;
    padding: 8px 18px;
    border-radius: 8px;
    color: #FFFFFF !important;
    border: 1px solid #095650;
    margin-left: 18px;
}

.nav-btn:hover {
    background: #0F766E;
    border-color: #0F766E;
    color: #FFFFFF !important;
}

.nav-links .theme-toggle-btn {
    margin-left: 14px;
    background: var(--bg-elevated, #FFFFFF);
    border: 1px solid var(--border, #D8E0DC);
    color: var(--text, #095650) !important;
}

/* Fallback toggle styles if theme.css is delayed */
.theme-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0 !important;
    border-radius: 10px;
    border: 1px solid var(--border, #D8E0DC);
    background: var(--bg-elevated, #FFFFFF);
    color: var(--text, #095650) !important;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-toggle-btn [data-theme-icon="sun"] {
    display: none;
}

html[data-theme="dark"] .theme-toggle-btn [data-theme-icon="moon"] {
    display: none !important;
}

html[data-theme="dark"] .theme-toggle-btn [data-theme-icon="sun"] {
    display: inline-block !important;
    color: #FBBF24;
}

html[data-theme="dark"] .nav-links .theme-toggle-btn {
    background: #111111;
    border-color: #333333;
    color: #F3F4F6 !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    margin-left: auto;
    border: none;
    background: transparent;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #095650;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile / tablet menu drawer */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        width: 100%;
        background: #FFFFFF; /* pure white light theme */
        padding: 12px 20px 20px;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid #D8E0DC;
        box-shadow: 0 16px 40px rgba(20, 32, 28, 0.12);
        z-index: 999;
        box-sizing: border-box;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0 !important;
        margin-left: 0 !important;
        padding: 14px 4px;
        border-bottom: 1px solid #E5E7EB;
        display: flex;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }

    .nav-links .nav-btn {
        text-align: center;
        justify-content: center;
        margin: 12px 0 0 !important;
        width: 100%;
        box-sizing: border-box;
        border-bottom: none !important;
    }

    .nav-links .theme-toggle-btn {
        margin: 12px 0 0 !important;
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-visual {
        display: flex;
        min-height: 260px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        text-align: left;
    }

    .footer-brand {
        grid-column: span 3;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-brand p {
        margin: 10px auto 0;
    }
}

/* ===== Hero Section (animated) ===== */
.hero {
    min-height: min(100vh, 920px);
    display: flex;
    align-items: center;
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 10% 10%, rgba(9, 86, 80, 0.12), transparent 55%),
        radial-gradient(900px 500px at 90% 20%, rgba(20, 184, 166, 0.1), transparent 50%),
        linear-gradient(180deg, #F3F6F5 0%, #FFFFFF 100%);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: heroOrbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 340px;
    height: 340px;
    background: rgba(9, 86, 80, 0.35);
    top: -80px;
    left: -60px;
}

.hero-orb-2 {
    width: 280px;
    height: 280px;
    background: rgba(45, 212, 191, 0.28);
    bottom: 10%;
    right: -40px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 180px;
    height: 180px;
    background: rgba(9, 86, 80, 0.2);
    top: 40%;
    left: 42%;
    animation-delay: -7s;
}

.hero-grid-fade {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(9, 86, 80, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 86, 80, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    opacity: 0.7;
}

.hero-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #095650;
    opacity: 0.35;
    animation: heroParticle 8s ease-in-out infinite;
}

.hero-particle.p1 { top: 18%; left: 12%; animation-delay: 0s; }
.hero-particle.p2 { top: 28%; right: 18%; width: 6px; height: 6px; animation-delay: -1.5s; }
.hero-particle.p3 { bottom: 30%; left: 22%; width: 10px; height: 10px; animation-delay: -3s; }
.hero-particle.p4 { top: 55%; right: 28%; animation-delay: -2s; }
.hero-particle.p5 { bottom: 22%; right: 12%; width: 5px; height: 5px; animation-delay: -4.5s; }
.hero-particle.p6 { top: 70%; left: 48%; width: 7px; height: 7px; animation-delay: -6s; }

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: heroReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0s);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(9, 86, 80, 0.25);
    color: #0F766E;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(9, 86, 80, 0.1);
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: #095650;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: heroPulseDot 1.8s ease-out infinite;
}

.hero-text h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    color: #095650;
}

.hero-gradient-text {
    background: linear-gradient(120deg, #095650 0%, #14b8a6 40%, #0F766E 80%, #095650 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: heroShimmer 4.5s linear infinite;
}

.hero-highlight {
    position: relative;
    color: #095650;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.28em;
    background: rgba(9, 86, 80, 0.18);
    border-radius: 4px;
    z-index: -1;
    animation: heroUnderline 2.8s ease-in-out infinite;
}

.hero-lead {
    font-size: clamp(16px, 1.5vw, 19px);
    color: #6B7872;
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 34em;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-btn-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 16px 28px !important;
    font-size: 15px !important;
    box-shadow: 0 12px 30px rgba(9, 86, 80, 0.35) !important;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: heroBtnShine 3.2s ease-in-out infinite;
}

.hero-btn-secondary {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 16px 24px !important;
    background: #FFFFFF !important;
    border: 1px solid #D8E0DC !important;
    color: #095650 !important;
}

.hero-btn-secondary:hover {
    border-color: #095650 !important;
    color: #095650 !important;
}

.hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 0;
    margin: 0 0 26px;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
}

.hero-trust i {
    color: #095650;
    font-size: 12px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 420px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #D8E0DC;
    border-radius: 14px;
    padding: 12px 14px;
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-stat:hover {
    transform: translateY(-3px);
    border-color: #095650;
    box-shadow: 0 10px 24px rgba(9, 86, 80, 0.12);
}

.hero-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #095650;
    letter-spacing: -0.02em;
}

.hero-stat span {
    font-size: 12px;
    color: #6B7872;
    font-weight: 600;
}

/* Visual / dashboard */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}

.hero-visual-glow {
    position: absolute;
    width: 78%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9, 86, 80, 0.35) 0%, transparent 70%);
    filter: blur(18px);
    animation: heroGlowPulse 4s ease-in-out infinite;
    z-index: 0;
}

.hero-image-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    animation: heroFloat 5.5s ease-in-out infinite;
}

.hero-dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(216, 224, 220, 0.95);
    box-shadow:
        0 30px 60px rgba(20, 32, 28, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    background: #fff;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #D8E0DC;
    box-shadow: 0 12px 30px rgba(20, 32, 28, 0.12);
    backdrop-filter: blur(8px);
    min-width: 148px;
    z-index: 2;
    animation: heroCardPop 4.8s ease-in-out infinite;
}

.hero-float-card i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ECFDF5;
    color: #095650;
    font-size: 15px;
    flex-shrink: 0;
}

.hero-float-card strong {
    display: block;
    font-size: 13px;
    color: #095650;
    line-height: 1.2;
}

.hero-float-card span {
    font-size: 11px;
    color: #6B7872;
    font-weight: 600;
}

.hero-float-1 {
    top: 12%;
    left: -8%;
    animation-delay: 0s;
}

.hero-float-2 {
    top: 48%;
    right: -10%;
    animation-delay: -1.6s;
}

.hero-float-3 {
    bottom: 8%;
    left: 8%;
    animation-delay: -3s;
}

.hero-float-3 i {
    background: #EEF2FF;
    color: #4F46E5;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 70px;
    display: block;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -22px) scale(1.06); }
}

@keyframes heroParticle {
    0%, 100% { transform: translateY(0); opacity: 0.25; }
    50% { transform: translateY(-18px); opacity: 0.55; }
}

@keyframes heroPulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes heroShimmer {
    to { background-position: 200% center; }
}

@keyframes heroUnderline {
    0%, 100% { transform: scaleX(1); opacity: 0.9; }
    50% { transform: scaleX(1.04); opacity: 1; }
}

@keyframes heroBtnShine {
    0%, 60%, 100% { transform: translateX(-120%); }
    75% { transform: translateX(120%); }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

@keyframes heroCardPop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-reveal,
    .hero-orb,
    .hero-particle,
    .hero-image-frame,
    .hero-float-card,
    .hero-visual-glow,
    .hero-gradient-text,
    .hero-badge-dot,
    .hero-btn-primary::before {
        animation: none !important;
    }
    .hero-reveal {
        opacity: 1;
        transform: none;
    }
}

.btn {
    display: inline-block;
    padding: 15px 32px;
    background: #095650;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(20, 32, 28, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(20, 32, 28, 0.12);
    background: #095650;
    color: #FFFFFF;
}

.btn-secondary {
    background: #FFFFFF;
    color: #095650;
    border: 1px solid #D8E0DC;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: #F3F6F5;
    box-shadow: none;
    color: #095650;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    padding: 28px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: #FFFFFF;
    transform: translateY(-5px);
    border-color: #095650;
    box-shadow: 0 8px 24px rgba(20, 32, 28, 0.08);
}

/* Removed .feature-icon as we use images now */

.feature-image {
    width: 100%;
    height: 220px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Ensures standard shape */
    object-position: top center;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #D8E0DC;
    background: #FFFFFF;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #095650;
}

.feature-card p {
    color: #6B7872;
    line-height: 1.6;
}

/* Documentation */
.documentation {
    padding: 100px 0;
    background: #F3F6F5;
}

.doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.doc-menu {
    position: sticky;
    top: 100px;
}

.doc-item {
    padding: 20px;
    border-left: 2px solid #D8E0DC;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.doc-item.active,
.doc-item:hover {
    border-left-color: #095650;
    background: #FFFFFF;
    border: 1px solid #095650;
    border-left-width: 3px;
    box-shadow: 0 6px 18px rgba(20, 32, 28, 0.08);
}

.doc-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #095650;
}

.doc-item p {
    font-size: 14px;
    color: #6B7872;
    margin: 0;
}

.doc-content h3 {
    margin-bottom: 20px;
    font-size: 28px;
}

.doc-content p {
    color: #6B7872;
    margin-bottom: 20px;
    line-height: 1.7;
}

.doc-content pre {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #D8E0DC;
    overflow-x: auto;
    margin-bottom: 30px;
}

.doc-content code {
    font-family: 'Consolas', monospace;
    color: #095650;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid #D8E0DC;
}

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

.footer-brand p {
    color: #6B7872;
    margin-top: 20px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 25px;
    color: #095650;
}

.footer-col a {
    display: block;
    color: #6B7872;
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #095650;
}

.copyright {
    text-align: center;
    color: #6B7872;
    padding-top: 40px;
    border-top: 1px solid #D8E0DC;
    font-size: 13px;
    line-height: 1.7;
}

.footer-business-ids {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
    text-align: left;
}

.footer-business-ids p {
    margin: 0 0 6px;
    font-size: 12px;
    color: #6B7872;
    line-height: 1.45;
    max-width: none;
}

.footer-business-ids strong {
    color: #095650;
    font-weight: 700;
}

.footer-reg-inline {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #6B7872;
    word-break: break-word;
}

html[data-theme="dark"] .footer-business-ids {
    border-top-color: #2a2a2a;
}

html[data-theme="dark"] .footer-business-ids p,
html[data-theme="dark"] .footer-reg-inline {
    color: #9CA3AF !important;
}

html[data-theme="dark"] .footer-business-ids strong {
    color: #F3F4F6 !important;
}

@media (max-width: 640px) {
    .footer-business-ids {
        text-align: center;
    }

    .footer-reg-inline {
        font-size: 11px;
    }
}

/* Authentication Pages Adjustments */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-box {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #D8E0DC;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 24px rgba(20, 32, 28, 0.08);
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 800;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #6B7872;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-radius: 8px;
    color: #095650;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #095650;
    background: #FFFFFF;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #6B7872;
    font-size: 14px;
}

.auth-footer a {
    color: #095650;
    text-decoration: none;
}

/* Responsive layout (nav mobile rules live with Navigation block above) */
@media (max-width: 992px) {
    .hero-content,
    .doc-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-animated {
        min-height: auto;
        padding: 100px 0 70px;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-stats {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 28px;
        min-height: 280px;
    }

    .hero-float-1 { left: 0; }
    .hero-float-2 { right: 0; }
    .hero-image {
        order: -1;
        margin-bottom: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .doc-menu {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 34px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-float-card {
        min-width: 132px;
        padding: 8px 10px;
    }

    .hero-float-card strong { font-size: 12px; }
    .hero-float-card span { font-size: 10px; }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* Page Content Styles */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #095650;
    letter-spacing: -0.02em;
}

.page-header p {
    color: #6B7872;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #095650;
}

.content-section h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #095650;
}

.content-section p,
.content-section li {
    color: #6B7872;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul,
.content-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-section a {
    color: #095650;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: #095650;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
    color: #095650;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: #6B7872;
    -webkit-text-fill-color: #6B7872;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    border-bottom: 1px solid #D8E0DC;
    color: #6B7872;
}

.pricing-card li::before {
    content: "✓ ";
    color: #095650;
}

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

.blog-card {
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #095650;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-card p {
    color: #6B7872;
    font-size: 14px;
}

.blog-card .date {
    color: #095650;
    font-size: 12px;
    margin-top: 15px;
    display: block;
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 0;
    overflow: hidden;
    background: #F3F6F5;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.sticker-wrapper {
    position: relative;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.sticker {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Sticker Hover Effects */
.sticker-wrapper:hover .sticker {
    transform: scale(1.1) rotate(5deg);
}

.sticker-wrapper:nth-child(even):hover .sticker {
    transform: scale(1.1) rotate(-5deg);
}

/* Random initial rotations for sticker feel */
.sticker-wrapper:nth-child(1) .sticker {
    transform: rotate(-3deg);
}

.sticker-wrapper:nth-child(2) .sticker {
    transform: rotate(2deg);
}

.sticker-wrapper:nth-child(3) .sticker {
    transform: rotate(-1deg);
}

.sticker-wrapper:nth-child(4) .sticker {
    transform: rotate(4deg);
}

.sticker-wrapper:nth-child(5) .sticker {
    transform: rotate(-2deg);
}

/* Mobile responsiveness for brands */
@media (max-width: 768px) {
    .brands-grid {
        gap: 20px;
    }

    .sticker {
        height: 60px;
    }
}

/* ===== Form Validation Styles ===== */

/* Invalid state */
.form-control.is-invalid {
    border-color: #095650 !important;
    background: #FFFFFF !important;
    box-shadow: none;
}

.form-control.is-invalid:focus {
    border-color: #095650;
    box-shadow: none;
}

/* Valid state */
.form-control.is-valid {
    border-color: #095650 !important;
    background: #FFFFFF !important;
    box-shadow: none;
}

.form-control.is-valid:focus {
    border-color: #095650;
    box-shadow: none;
}

/* Validation message */
.validation-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    background: #F3F6F5;
    border: 1px solid #D8E0DC;
    border-radius: 8px;
    font-size: 13px;
    color: #095650;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.validation-message.show {
    opacity: 1;
    transform: translateY(0);
}

.validation-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.validation-text {
    line-height: 1.4;
}

/* Shake animation for form */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-4px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(4px);
    }
}

form.shake {
    animation: shake 0.5s ease-in-out;
}

/* =========================================================
   Section surfaces, borders, hover — light theme contrast fix
   ========================================================= */

section.features,
section.documentation,
section.trusted-by,
section.page-content,
section.integration-showcase,
.page-content {
    color: #095650;
}

.page-header {
    background: #FFFFFF;
    border-bottom: 1px solid #D8E0DC;
}

.page-header h1 {
    color: #095650;
}

.page-header p {
    color: #6B7872;
}

/* Alternating section bands for clearer separation */
section.features:nth-of-type(even),
section.documentation,
.section-band {
    background: #FFFFFF;
    border-top: 1px solid #D8E0DC;
    border-bottom: 1px solid #D8E0DC;
}

section.features:nth-of-type(odd) {
    background: #F3F6F5;
}

.section-panel,
.surface-card,
.doc-content,
.content-section {
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(20, 32, 28, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.content-section {
    margin-bottom: 28px;
}

.content-section:hover,
.surface-card:hover,
.section-panel:hover {
    border-color: #095650;
    box-shadow: 0 10px 28px rgba(20, 32, 28, 0.08);
    transform: translateY(-2px);
}

.content-section h2 {
    color: #095650;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid #095650;
}

.content-section h3 {
    color: #095650;
}

.content-section p,
.content-section li {
    color: #6B7872;
}

.content-section strong {
    color: #095650;
}

.content-section a {
    color: #095650;
    font-weight: 600;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.content-section pre {
    background: #F3F6F5;
    border: 1px solid #D8E0DC;
    border-radius: 12px;
    padding: 18px;
    color: #095650;
    overflow-x: auto;
    font-family: Consolas, ui-monospace, monospace;
    font-size: 13px;
    line-height: 1.55;
}

/* Doc layout cards */
.doc-menu .doc-item {
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-left: 3px solid #D8E0DC;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 16px 18px;
}

.doc-menu .doc-item:hover,
.doc-menu .doc-item.active {
    border-color: #095650;
    border-left-color: #095650;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(20, 32, 28, 0.08);
}

.doc-content {
    color: #095650;
}

.doc-content h3 {
    color: #095650;
    margin-bottom: 14px;
}

.doc-content p,
.doc-content li,
.doc-content ol {
    color: #6B7872;
}

.doc-content ol,
.doc-steps {
    margin-left: 20px;
    line-height: 1.9;
    color: #6B7872;
}

.doc-steps li {
    color: inherit;
}

/* Feature / pricing / blog cards */
.feature-card,
.pricing-card,
.blog-card,
.stat-card {
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    color: #095650;
}

.feature-card:hover,
.pricing-card:hover,
.blog-card:hover {
    border-color: #095650;
    box-shadow: 0 12px 30px rgba(20, 32, 28, 0.1);
    transform: translateY(-4px);
}

.pricing-card h3,
.blog-card h3,
.feature-card h3 {
    color: #095650;
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.01);
}

.pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.04);
}

/* ===== Expand Beyond Instagram Automation (standalone section) ===== */
.integration-showcase {
    padding: clamp(48px, 8vw, 88px) 0;
    background: #FFFFFF;
    border-top: 1px solid #D8E0DC;
    border-bottom: 1px solid #D8E0DC;
    overflow-x: clip;
}

.integration-showcase .container {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.integration-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.integration-copy {
    min-width: 0;
    max-width: 100%;
}

.integration-title {
    text-align: left;
    color: #095650;
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.integration-lead {
    color: #6B7872;
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: 38em;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.integration-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #F3F6F5;
    border: 1px solid #D8E0DC;
    border-radius: 14px;
    padding: 16px 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.integration-item:hover {
    border-color: #095650;
    box-shadow: 0 8px 22px rgba(20, 32, 28, 0.08);
    transform: translateY(-2px);
    background: #FFFFFF;
}

.integration-icon {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.integration-item-body {
    min-width: 0;
    flex: 1 1 auto;
}

.integration-item h3 {
    color: #095650;
    margin: 0 0 6px 0;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.3;
    word-wrap: break-word;
}

.integration-item p {
    margin: 0;
    font-size: clamp(0.88rem, 1.3vw, 0.95rem);
    color: #6B7872;
    line-height: 1.55;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.integration-media {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: visible;
    align-self: stretch;
}

.integration-media-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: 16px;
    border: 1px solid #D8E0DC;
    box-shadow: 0 12px 32px rgba(20, 32, 28, 0.1);
    /* Stretch to fill the media column while keeping the full image visible */
    object-fit: fill;
    background: #F3F6F5;
}

/* Dark mode */
html[data-theme="dark"] .integration-showcase {
    background: #0a0a0a !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .integration-title,
html[data-theme="dark"] .integration-item h3 {
    color: #F3F4F6 !important;
}

html[data-theme="dark"] .integration-lead,
html[data-theme="dark"] .integration-item p {
    color: #9CA3AF !important;
}

html[data-theme="dark"] .integration-item {
    background: #141414 !important;
    border-color: #2a2a2a !important;
}

html[data-theme="dark"] .integration-item:hover {
    background: #1a1a1a !important;
    border-color: #14b8a6 !important;
}

html[data-theme="dark"] .integration-media-img {
    border-color: #2a2a2a !important;
    background: #121212 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

/* Tablet: stack, image first */
@media (max-width: 992px) {
    .integration-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .integration-media {
        order: -1;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .integration-media-img {
        max-width: 100%;
        width: 100%;
        min-height: 280px;
        height: auto;
        aspect-ratio: 16 / 11;
        object-fit: fill;
    }

    .integration-title {
        text-align: center;
    }

    .integration-lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Phone */
@media (max-width: 640px) {
    .integration-showcase {
        padding: 40px 0;
    }

    .integration-showcase .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .integration-item {
        padding: 14px;
        gap: 12px;
    }

    .integration-item h3 {
        font-size: 1rem;
    }

    .integration-item p {
        font-size: 0.9rem;
    }

    .integration-media {
        max-width: 100%;
        width: 100%;
    }

    .integration-media-img {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        min-height: 220px;
        height: auto;
        aspect-ratio: 16 / 11;
        object-fit: fill;
        object-position: center;
    }

    .integration-lead {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}

/* Trusted brands strip */
.trusted-by {
    background: #F3F6F5;
    border-top: 1px solid #D8E0DC;
    border-bottom: 1px solid #D8E0DC;
}

/* Footer contrast */
footer {
    background: #FFFFFF;
    border-top: 1px solid #D8E0DC;
    color: #095650;
}

/* Hero readability (base colors; animated hero overrides layout) */
.hero-text h1 {
    color: #095650;
}

/* Secondary button hover clarity */
.btn-secondary:hover {
    background: #FFFFFF;
    border-color: #095650;
    color: #095650;
    box-shadow: 0 6px 16px rgba(20, 32, 28, 0.08);
}

/* Generic card utility used in PHP pages */
.card {
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-radius: 16px;
    padding: 22px;
    color: #095650;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
    border-color: #095650;
    box-shadow: 0 10px 28px rgba(20, 32, 28, 0.08);
    transform: translateY(-2px);
}

.card h1, .card h2, .card h3, .card h4 {
    color: #095650;
}

.card p, .card li, .card small {
    color: #6B7872;
}

/* Updates badge/panel */
.update-badge {
    display: inline-block;
    background: #095650;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.update-card {
    max-width: 920px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-radius: 16px;
    padding: 28px 32px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.update-card:hover {
    border-color: #095650;
    box-shadow: 0 12px 32px rgba(20, 32, 28, 0.1);
    transform: translateY(-3px);
}

/* ===== Home reviews carousel (auto-swipe only) ===== */
.reviews-section {
    padding: 72px 0 64px;
    background: #FFFFFF;
    border-top: 1px solid #D8E0DC;
}

.reviews-carousel {
    max-width: 1100px;
    margin: 36px auto 0;
    position: relative;
}

.reviews-viewport {
    overflow: hidden;
    /* No touch swipe / drag */
    touch-action: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 4px;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.review-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    background: #F3F6F5;
    border: 1px solid #D8E0DC;
    border-radius: 16px;
    padding: 22px 22px 20px;
    position: relative;
    box-sizing: border-box;
    min-height: 260px;
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(20, 32, 28, 0.1);
    background: #E5E7EB;
    flex-shrink: 0;
}

.review-meta {
    min-width: 0;
}

.review-name {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800;
    color: #095650;
    line-height: 1.25;
}

.review-role {
    margin: 0 0 6px;
    font-size: 12px;
    color: #6B7872;
    line-height: 1.35;
}

.review-region {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.review-region.is-india {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.review-region.is-global {
    background: #EEF2FF;
    color: #4338CA;
    border: 1px solid #C7D2FE;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    color: #F59E0B;
    font-size: 13px;
}

.review-stars .fa-regular {
    color: #D1D5DB;
}

.review-score {
    margin-left: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #6B7872;
}

.review-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
}

.review-quote-icon {
    position: absolute;
    right: 16px;
    bottom: 12px;
    font-size: 22px;
    color: rgba(9, 86, 80, 0.15);
}

.reviews-progress {
    margin: 22px auto 0;
    width: min(220px, 50%);
    height: 4px;
    border-radius: 999px;
    background: #E5E7EB;
    overflow: hidden;
}

.reviews-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #095650, #14b8a6);
}

@media (max-width: 1023px) {
    .review-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 639px) {
    .reviews-section {
        padding: 56px 0 48px;
    }

    .review-card {
        flex: 0 0 100%;
        min-height: 240px;
    }
}

/* Docs TOC */
.docs-toc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 36px;
}

.docs-toc a {
    display: block;
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    border-radius: 12px;
    padding: 14px 16px;
    color: #095650;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.docs-toc a:hover {
    border-color: #095650;
    color: #095650;
    box-shadow: 0 8px 20px rgba(20, 32, 28, 0.08);
    transform: translateY(-2px);
}

.docs-toc a span {
    display: block;
    margin-top: 4px;
    font-weight: 400;
    font-size: 12px;
    color: #6B7872;
}