/* ═══════════════════════════════════════════════════════════
   REDEEPSEEK.IO — Global Stylesheet
   Design: Clean white SaaS — QuillBot-inspired
   Fonts: General Sans (display) + Satoshi (body)
   ═══════════════════════════════════════════════════════════ */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&f[]=satoshi@400,500,700&display=swap');

/* ─── VARIABLES ─── */
:root {
    --white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-soft: #F8F9FC;
    --bg-muted: #F1F3F7;
    --bg-section: #FAFBFD;
    --surface: #FFFFFF;
    --surface-hover: #F4F6FA;
    --border: #E5E8EE;
    --border-light: #EEF0F4;
    --border-focus: #1B8F6B;
    --text: #1A1D26;
    --text-secondary: #52576A;
    --text-muted: #888DA0;
    --text-light: #A8ADBD;
    --accent: #1B8F6B;
    --accent-hover: #167A5B;
    --accent-light: #E8F5F0;
    --accent-lighter: #F0FAF6;
    --accent-dark: #13694F;
    --accent-gradient: linear-gradient(135deg, #1B8F6B 0%, #2AAF85 100%);
    --blue: #3B6BF5;
    --blue-light: #EBF0FE;
    --orange: #E8772E;
    --orange-light: #FEF3EB;
    --purple: #7C5CFC;
    --purple-light: #F2EFFE;
    --red: #E54D4D;
    --red-light: #FDECEC;
    --font-display: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 20px rgba(27, 143, 107, 0.20);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 999px;
    --max-w: 1200px;
    --nav-h: 72px;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
}

ul,
ol {
    list-style: none;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    to {
        opacity: 1;
        max-height: 600px;
    }
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 143, 107, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(27, 143, 107, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(27, 143, 107, 0);
    }
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-8px);
    }
}

.anim {
    opacity: 0;
    animation: fadeInUp 0.65s ease-out forwards;
}

.anim-d1 {
    animation-delay: 0.1s;
}

.anim-d2 {
    animation-delay: 0.2s;
}

.anim-d3 {
    animation-delay: 0.3s;
}

.anim-d4 {
    animation-delay: 0.4s;
}

.anim-d5 {
    animation-delay: 0.5s;
}

.anim-d6 {
    animation-delay: 0.6s;
}

/* ─── CONTAINER ─── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Navbar =========  */

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-xs);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--text);
    flex-shrink: 0;
}

.nav-logo svg {
    width: 40px;
    height: 40px;
    margin-right: 8px;
}

.nav-logo .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg-soft);
}

.nav-links a.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ═══════════════════════════════════════════════
   PROFILE DROPDOWN
   ═══════════════════════════════════════════════ */
.profile-dropdown {
    position: relative;
}

.profile-trigger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-xs);
}

.profile-trigger:hover {
    background: var(--bg-soft);
    border-color: var(--border);
}

.profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-caret {
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.profile-dropdown.open .profile-caret {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: none;
}

.profile-dropdown.open .profile-menu {
    display: block;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.profile-menu-item:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.profile-menu-item-danger:hover {
    background: var(--red-light);
    color: var(--red);
}

/* ═══════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════ */
.nav-mobile-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text);
    background: transparent;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.nav-mobile-btn:hover {
    background: var(--bg-soft);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    padding: 16px 20px 30px;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.mobile-nav-logo {
    padding: 0;
    font-weight: 700 !important;
    font-size: 21px;
    color: var(--text) !important;
    display: inline-flex !important;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mobile-menu a:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.mobile-menu a.active {
    color: var(--accent);
    background: var(--accent-lighter);
}

.mobile-menu .mobile-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1180px) {
    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .profile-trigger {
        padding-right: 8px;
    }
}

@media (max-width: 991px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-mobile-btn {
        display: inline-flex;
    }

    .profile-dropdown {
        order: -1;
    }

    .profile-menu {
        right: 0;
        left: auto;
        min-width: 200px;
    }
}

@media (max-width: 767px) {
    .navbar {
        height: 68px;
    }

    .navbar .container {
        gap: 10px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-logo svg {
        width: 34px;
        height: 34px;
        margin-right: 6px;
    }

    .profile-trigger {
        padding: 4px;
        min-height: auto;
        border-radius: 50%;
    }

    .profile-caret {
        display: none;
    }

    .profile-avatar {
        width: 36px;
        height: 36px;
    }

    .profile-menu {
        top: calc(100% + 10px);
        width: min(220px, calc(100vw - 24px));
    }

    .mobile-menu {
        padding: 16px 16px 24px;
    }
}

@media (max-width: 420px) {
    .nav-logo {
        font-size: 16px;
    }

    .nav-logo svg {
        width: 30px;
        height: 30px;
    }

    .profile-avatar {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .nav-mobile-btn {
        width: 38px;
        height: 38px;
    }
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 24px rgba(27, 143, 107, 0.28);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-lighter);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-white {
    background: var(--white);
    color: var(--accent);
    border: 1.5px solid var(--white);
}

.btn-white:hover {
    background: var(--accent-lighter);
    border-color: var(--accent-lighter);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background: var(--white);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--border-light) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
    pointer-events: none;
    opacity: 0.7;
}

.hero-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(27, 143, 107, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: var(--accent-lighter);
    border: 1px solid rgba(27, 143, 107, 0.15);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    /* letter-spacing: -0.035em; */
    color: var(--text);
    margin-bottom: 20px;
}

.hero h1 .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero>.container>p,
.hero-content>p {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

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

.hero-stat .number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    /* letter-spacing: -0.02em; */
}

.hero-stat .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
    text-transform: uppercase;
    /* letter-spacing: 0.06em; */
}

/* ═══════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: 0.1em; */
    color: var(--accent);
    margin-bottom: 12px;
}

.section-tag svg {
    width: 16px;
    height: 16px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    /* letter-spacing: -0.03em; */
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.15;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   CHAT DEMO
   ═══════════════════════════════════════════════ */
.chat-demo {
    max-width: 740px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-demo-head {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-soft);
}

.chat-demo-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text);
}

.chat-demo-head-left svg {
    width: 26px;
    height: 26px;
}

.chat-model-badge {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--accent-light);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    /* letter-spacing: 0.03em; */
}

.chat-body {
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 280px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 82%;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-avatar.ai {
    background: var(--accent);
    color: var(--white);
}

.chat-avatar.human {
    background: var(--bg-muted);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.chat-bubble {
    padding: 11px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.65;
}

.chat-msg.user .chat-bubble {
    background: var(--accent);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-msg.bot .chat-bubble {
    background: var(--bg-soft);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.chat-bubble strong {
    color: var(--text);
    font-weight: 600;
}

.chat-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-input-box {
    flex: 1;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.chat-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.2s;
}

.chat-icon-btn:hover {
    background: var(--bg-soft);
    color: var(--accent);
}

.chat-icon-btn.send {
    background: var(--accent);
    color: var(--white);
}

.chat-icon-btn.send:hover {
    background: var(--accent-hover);
}

.chat-icon-btn svg {
    width: 18px;
    height: 18px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: typing-bounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ═══════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 26px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-card:hover .feat-icon {
    background: var(--accent);
    color: var(--white);
}

.feat-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    margin-bottom: 18px;
    transition: all 0.3s;
}

.feat-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--accent);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
}

.step-item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
}

.price-card {
    padding: 32px 24px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    box-shadow: var(--shadow-md);
}

.price-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.price-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.popular-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: 0.06em; */
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.price-tier {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: 0.08em; */
    color: var(--text-muted);
    margin-bottom: 10px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    /* letter-spacing: -0.03em; */
    margin-bottom: 4px;
}

.price-amount span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    /* letter-spacing: 0; */
}

.price-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.price-features {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.price-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    margin-top: 1px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-sm);
}

.t-stars {
    display: flex;
    gap: 2px;
    color: #F5A623;
    margin-bottom: 14px;
}

.t-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.t-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
}

.t-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.t-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════ */
.cta-banner {
    background: var(--accent-gradient);
    border-radius: var(--radius-2xl);
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
    /* letter-spacing: -0.02em; */
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
}

.cta-banner .btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 56px 0 28px;
    background: var(--bg-section);
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 14px;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: 0.08em; */
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════ */
.page-hero {
    padding: 70px 0;
    text-align: center;
    background: var(--white);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(27, 143, 107, 0.04), transparent);
    pointer-events: none;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 700;
    /* letter-spacing: -0.03em; */
    color: var(--text);
    margin-bottom: 14px;
    position: relative;
}

.page-hero h1 .gradient-text {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* ═══════════════════════════════════════════════
   CONTENT (legal pages)
   ═══════════════════════════════════════════════ */
.content-body {
    max-width: 760px;
    margin: 0 auto;
}

.content-body h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin: 44px 0 14px;
    color: var(--text);
    /* letter-spacing: -0.02em; */
}

.content-body h2:first-child {
    margin-top: 0;
}

.content-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--text);
}

.content-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}

.content-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-body ul {
    margin-bottom: 14px;
}

.content-body ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.content-body ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 10px;
}

/* ═══════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open {
    border-color: var(--accent);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: background 0.2s;
}

.faq-q:hover {
    background: var(--bg-soft);
}

.faq-q svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-q svg {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 22px 18px;
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: slideDown 0.3s ease;
}

/* ═══════════════════════════════════════════════
   ABOUT — VALUES
   ═══════════════════════════════════════════════ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.value-card {
    padding: 28px 22px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

.value-card .feat-icon {
    margin: 0 auto 16px;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   CAREERS — JOB CARDS
   ═══════════════════════════════════════════════ */
.job-card {
    padding: 24px 28px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.job-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.job-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.job-meta {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-card .feat-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.contact-form-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-form-box>p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 11px 14px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 20px 0;
    flex-wrap: wrap;
    opacity: 0.5;
}

.trust-item {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    /* letter-spacing: -0.02em; */
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {

    .features-grid,
    .testimonials-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .values-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid::before {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

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

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

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 120px 0 72px;
    }

    .page-hero {
        padding: 110px 0 56px;
    }
}

/* ========= Blog CSS ==========  */

.ba-page {
    padding: 32px 16px;
    background: var(--bg-section);
}

.ba-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ba-head-content {
    max-width: 620px;
}

.ba-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    background: var(--accent-lighter);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ba-head h1 {
    font-family: var(--font-display);
    color: var(--text);
    font-size: 34px;
    line-height: 1.14;
    font-weight: 700;
}

.ba-search-form {
    width: 100%;
    max-width: 430px;
}

.ba-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 8px 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.ba-search svg {
    width: 19px;
    height: 19px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ba-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    min-width: 0;
}

.ba-search input::placeholder {
    color: var(--text-light);
}

.ba-search button {
    border: none;
    outline: none;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    transition: .25s ease;
    flex-shrink: 0;
}

.ba-search button:hover {
    transform: translateY(-1px);
}

.ba-alert {
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
}

.ba-alert-success {
    background: var(--accent-lighter);
    color: var(--accent-dark);
    border-color: rgba(27, 143, 107, 0.18);
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ba-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: .28s ease;
    display: flex;
    flex-direction: column;
}

.ba-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.ba-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
    overflow: hidden;
}

.ba-thumb img,
.ba-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.ba-thumb img {
    object-fit: cover;
}

.ba-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-lighter) 0%, var(--bg-soft) 100%);
}

.ba-thumb-placeholder span {
    color: var(--accent-dark);
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-display);
}

.ba-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ba-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ba-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: var(--radius-full);
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.ba-card h2 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    font-family: var(--font-display);
}

.ba-card h2 a {
    color: var(--text);
    text-decoration: none;
    transition: .2s ease;
}

.ba-card h2 a:hover {
    color: var(--accent);
}

.ba-card p {
    margin: 0 0 18px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
}

.paginator-simple {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: all 0.25s ease;
}

/* Hover */
.pg-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

/* Disabled */
.pg-btn.disabled {
    background: var(--bg-muted);
    color: var(--text-muted);
    border-color: var(--border-light);
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 991px) {
    .ba-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ba-head h1 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .ba-page {
        padding: 22px 12px;
    }

    .ba-head {
        align-items: stretch;
        gap: 16px;
        margin-bottom: 22px;
    }

    .ba-head h1 {
        font-size: 26px;
    }

    .ba-search-form {
        max-width: 100%;
    }

    .ba-search {
        min-height: 54px;
        padding: 6px 6px 6px 14px;
    }

    .ba-search button {
        min-height: 40px;
        padding: 0 16px;
    }

    .ba-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ba-card-body {
        padding: 16px;
    }

    .ba-card h2 {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .pg-btn {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }
}

.author-bio {
    padding: 34px 0 30px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
}

.author-bio-main {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.author-bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--accent-lighter) 0%, var(--bg-soft) 100%);
    box-shadow: var(--shadow-sm);
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-bio-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--accent-dark);
}

.author-bio-content {
    min-width: 0;
    padding-top: 6px;
}

.author-bio-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 0px;
}

.author-bio-heading h1 {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.author-bio-designation {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.author-bio-stat {
    flex-shrink: 0;
    min-width: 130px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: var(--accent-lighter);
    border: 1px solid rgba(27, 143, 107, 0.10);
    text-align: left;
}

.author-bio-stat strong {
    display: block;
    color: var(--accent-dark);
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 6px;
}

.author-bio-stat span {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.author-bio-intro {
    max-width: 760px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5em;
}

@media (max-width: 767px) {
    .author-bio {
        padding: 24px 0 24px;
        margin-bottom: 24px;
    }

    .author-bio-main {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .author-bio-avatar {
        width: 88px;
        height: 88px;
    }

    .author-bio-fallback {
        font-size: 26px;
    }

    .author-bio-content {
        padding-top: 0;
    }

    .author-bio-top {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 12px;
    }

    .author-bio-heading h1 {
        font-size: 28px;
    }

    .author-bio-designation {
        font-size: 14px;
    }

    .author-bio-stat {
        min-width: 0;
        width: fit-content;
        padding: 12px 14px;
    }

    .author-bio-stat strong {
        font-size: 20px;
    }

    .author-bio-intro {
        font-size: 14px;
        line-height: 1.75;
    }
}