/* ============================================================
   TOLONG DOKTOR — LIGHT SaaS REDESIGN
   Style: Clean white/sky-blue, minimal shadows, professional
   ============================================================ */

/* ----------------------------------------------------------
   0. DESIGN TOKENS
---------------------------------------------------------- */
:root {
    --clr-primary: #2563eb;
    --clr-primary-lt: #3b82f6;
    --clr-primary-dk: #1d4ed8;
    --clr-secondary: #0ea5e9;
    --clr-success: #16a34a;
    --clr-white: #ffffff;
    --clr-bg: #f8fbff;
    --clr-bg-alt: #f0f6ff;
    --clr-hero-start: #e0efff;
    --clr-hero-end: #f8fbff;
    --clr-dark: #0f172a;
    --clr-heading: #0f172a;
    --clr-body: #374151;
    --clr-muted: #6b7280;
    --clr-border: #e2e8f0;
    --clr-border-lt: #f1f5f9;

    --grad-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --grad-hero: linear-gradient(160deg, #dbeafe 0%, #eff6ff 40%, #f8fbff 100%);
    --grad-card: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
    --grad-blue-soft: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);

    --ff-body: 'Inter', sans-serif;
    --ff-italic: 'Playfair Display', serif;

    --section-py: 100px;
    --container-w: 1160px;
    --container-px: 24px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
    --shadow-blue: 0 8px 30px rgba(37, 99, 235, 0.20);
    --shadow-blue-lg: 0 16px 50px rgba(37, 99, 235, 0.28);

    --tr-fast: 0.18s ease;
    --tr-normal: 0.32s ease;
    --tr-slow: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------
   1. RESET & BASE
---------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    background: var(--clr-white);
    color: var(--clr-body);
    line-height: 1.65;
    overflow-x: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ----------------------------------------------------------
   2. UTILITIES
---------------------------------------------------------- */
.container {
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: var(--container-px);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-pill);
    padding: 5px 13px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 660px;
    margin-inline: auto;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--clr-heading);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 1rem;
    color: var(--clr-muted);
    max-width: 540px;
    margin-inline: auto;
    line-height: 1.72;
}

.text-italic {
    font-family: var(--ff-italic);
    font-style: italic;
    color: var(--clr-primary);
}

/* ----------------------------------------------------------
   3. BUTTONS
---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--ff-body);
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: transform var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--sm {
    font-size: 0.84rem;
    padding: 9px 20px;
}

.btn--md {
    font-size: 0.92rem;
    padding: 12px 26px;
}

.btn--lg {
    font-size: 0.97rem;
    padding: 15px 32px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--primary {
    background: var(--clr-primary);
    color: var(--clr-white);
    box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
    background: var(--clr-primary-dk);
    box-shadow: var(--shadow-blue-lg);
}

.btn--secondary {
    background: var(--clr-white);
    color: var(--clr-primary);
    border: 1.5px solid var(--clr-border);
    box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.btn--ghost-dark {
    background: rgba(255, 255, 255, 0.12);
    color: var(--clr-white);
    border: 1.5px solid rgba(255, 255, 255, 0.30);
}

.btn--ghost-dark:hover {
    background: rgba(255, 255, 255, 0.22);
}

.btn--outline {
    background: transparent;
    color: var(--clr-primary);
    border: 1.5px solid var(--clr-primary);
}

.btn--outline:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

/* ----------------------------------------------------------
   4. SCROLL REVEAL
---------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.60s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.60s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------
   5. NAVBAR
---------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background var(--tr-normal), padding var(--tr-normal), box-shadow var(--tr-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--clr-border-lt);
}

.navbar__container {
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.navbar__logo-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-primary);
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--clr-white);
    letter-spacing: -0.5px;
    box-shadow: var(--shadow-blue);
}

.navbar__logo-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-heading);
}

.navbar__logo-text strong {
    font-weight: 900;
    color: var(--clr-primary);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.navbar__link {
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--clr-body);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    transition: color var(--tr-fast), background var(--tr-fast);
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--clr-primary);
    background: #eff6ff;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.navbar__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-heading);
    border-radius: 2px;
    transition: transform var(--tr-fast), opacity var(--tr-fast);
}

.navbar__hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------
   6. HERO SECTION
---------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    overflow: hidden;
    padding: 130px 0 80px;
}

/* Sky cloud-like blobs */
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    top: -300px;
    right: -200px;
    background: radial-gradient(closest-side, rgba(37, 99, 235, 0.10), transparent);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -150px;
    background: radial-gradient(closest-side, rgba(14, 165, 233, 0.08), transparent);
    pointer-events: none;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__left {}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--clr-white);
    border: 1px solid #bfdbfe;
    color: var(--clr-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-xs);
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    background: var(--clr-success);
    border-radius: 50%;
    animation: blink 1.5s ease infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.hero__headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--clr-heading);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero__headline-italic {
    font-family: var(--ff-italic);
    font-style: italic;
    color: var(--clr-primary);
}

.hero__sub {
    font-size: 1.05rem;
    color: var(--clr-muted);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.72;
}

.hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero__stat {
    text-align: left;
}

.hero__stat-num {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--clr-heading);
    line-height: 1;
}

.hero__stat-num sup {
    font-size: 1rem;
    color: var(--clr-primary);
}

.hero__stat-label {
    font-size: 0.76rem;
    color: var(--clr-muted);
    margin-top: 3px;
    font-weight: 500;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--clr-border);
}

/* Hero right — visual panel */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__mockup {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    position: relative;
}

.hero__mockup-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--clr-border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero__mockup-dot:nth-child(1) {
    background: #f87171;
}

.hero__mockup-dot:nth-child(2) {
    background: #fbbf24;
}

.hero__mockup-dot:nth-child(3) {
    background: #34d399;
}

.hero__mockup-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-muted);
    margin-left: 8px;
}

.hero__mockup-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero__mockup-greeting {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-heading);
}

.hero__mockup-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero__mockup-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 14px 12px;
}

.hero__mockup-card-label {
    font-size: 0.7rem;
    color: var(--clr-muted);
    margin-bottom: 6px;
}

.hero__mockup-card-val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--clr-heading);
}

.hero__mockup-card-val span {
    color: var(--clr-primary);
}

.hero__mockup-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    padding: 0 4px;
}

.hero__mockup-bar-item {
    flex: 1;
    background: #dbeafe;
    border-radius: 4px 4px 0 0;
    transition: background var(--tr-fast);
}

.hero__mockup-bar-item.active {
    background: var(--clr-primary);
}

.hero__mockup-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #16a34a;
}

/* Floating badges on visual */
.hero__float {
    position: absolute;
    z-index: 3;
    animation: floatY 3.5s ease-in-out infinite;
}

.hero__float--left {
    left: -40px;
    top: 30%;
}

.hero__float--right {
    right: -30px;
    bottom: 25%;
    animation-delay: 1.2s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero__float-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.hero__float-icon {
    font-size: 1.3rem;
}

.hero__float-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--clr-heading);
}

.hero__float-sub {
    font-size: 0.72rem;
    color: var(--clr-muted);
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--clr-muted);
    font-size: 0.72rem;
    z-index: 3;
}

.hero__scroll-arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid var(--clr-border);
    border-bottom: 2px solid var(--clr-border);
    transform: rotate(45deg);
    margin: 6px auto 0;
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(4px);
    }
}

/* ----------------------------------------------------------
   7. TRUST BAR
---------------------------------------------------------- */
.trust-bar {
    background: var(--clr-white);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    overflow: hidden;
    padding: 16px 0;
}

.trust-bar__track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-bar__track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: trustScroll 36s linear infinite;
}

.trust-bar__item {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--clr-muted);
    padding: 0 20px;
}

.trust-bar__sep {
    color: #cbd5e1;
    font-size: 1.1rem;
}

@keyframes trustScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ----------------------------------------------------------
   8. ABOUT SECTION
---------------------------------------------------------- */
.about {
    padding: var(--section-py) 0;
    background: var(--clr-white);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__img-wrap {
    position: relative;
    aspect-ratio: 1;
    max-width: 440px;
}

.about__img-blob {
    position: absolute;
    inset: 0;
    background: var(--grad-blue-soft);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    }

    33% {
        border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%;
    }

    66% {
        border-radius: 55% 45% 40% 60% / 40% 55% 50% 60%;
    }
}

.about__img-decoration {
    position: absolute;
    inset: 12%;
    background: var(--clr-white);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    border: 2px solid #bfdbfe;
    box-shadow: var(--shadow-md);
}

.about__card-stack {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 28px;
}

.about__mini-card {
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    animation: floatCard 4s ease-in-out infinite;
}

.about__mini-card--1 {
    animation-delay: 0s;
}

.about__mini-card--2 {
    animation-delay: 1.3s;
    margin-left: 32px;
}

.about__mini-card--3 {
    animation-delay: 2.6s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.about__mini-icon {
    font-size: 1.4rem;
}

.about__mini-card strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--clr-heading);
}

.about__mini-card small {
    font-size: 0.73rem;
    color: var(--clr-muted);
}

.about__headline {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--clr-heading);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.about__body {
    font-size: 0.97rem;
    color: var(--clr-muted);
    margin-bottom: 14px;
    line-height: 1.76;
}

.about__list {
    margin: 22px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--clr-body);
}

.about__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #dcfce7;
    color: var(--clr-success);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   9. SERVICES SECTION
---------------------------------------------------------- */
.services {
    padding: var(--section-py) 0;
    background: var(--clr-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    position: relative;
    overflow: hidden;
    transition: transform var(--tr-normal), box-shadow var(--tr-normal), border-color var(--tr-normal);
}

.service-card::before {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.05);
    line-height: 1;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

.service-card--featured {
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: var(--shadow-blue);
}

.service-card--featured::before {
    color: rgba(255, 255, 255, 0.08);
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__body {
    color: var(--clr-white);
}

.service-card--featured .service-card__features li {
    color: rgba(255, 255, 255, 0.82);
}

.service-card--featured .service-card__features li::before {
    color: rgba(255, 255, 255, 0.70);
}

.service-card--featured .service-card__link {
    color: rgba(255, 255, 255, 0.90);
}

.service-card--featured .service-card__icon-wrap {
    background: rgba(255, 255, 255, 0.15);
}

.service-card__badge {
    display: inline-block;
    background: var(--clr-white);
    color: var(--clr-primary);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 3px 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.40);
}

.service-card__icon-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}

.service-card__icon {
    font-size: 1.5rem;
}

.service-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-heading);
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card__body {
    font-size: 0.87rem;
    color: var(--clr-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.service-card__features li {
    font-size: 0.83rem;
    color: var(--clr-body);
    padding-left: 14px;
    position: relative;
}

.service-card__features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-size: 0.83rem;
}

.service-card__link {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--clr-primary);
    transition: color var(--tr-fast);
}

.service-card__link:hover {
    color: var(--clr-primary-dk);
}

/* ----------------------------------------------------------
   10. WHY CHOOSE US (light background)
---------------------------------------------------------- */
.why-us {
    padding: var(--section-py) 0;
    background: var(--clr-white);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: box-shadow var(--tr-normal), transform var(--tr-normal), border-color var(--tr-normal);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: #bfdbfe;
}

.why-card__icon {
    font-size: 2rem;
    margin-bottom: 18px;
    display: block;
}

.why-card__title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--clr-heading);
    margin-bottom: 9px;
}

.why-card__body {
    font-size: 0.87rem;
    color: var(--clr-muted);
    line-height: 1.65;
}

/* ----------------------------------------------------------
   11. HOW IT WORKS
---------------------------------------------------------- */
.how-it-works {
    padding: var(--section-py) 0;
    background: var(--clr-bg);
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps__grid::before {
    content: '';
    position: absolute;
    top: 62px;
    left: calc(12.5% + 10px);
    right: calc(12.5% + 10px);
    height: 2px;
    background: linear-gradient(to right, var(--clr-primary), var(--clr-secondary));
    z-index: 0;
    opacity: 0.25;
}

.step {
    text-align: center;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}

.step__num {
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    color: var(--clr-primary);
    margin-bottom: 10px;
}

.step__icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    background: var(--clr-white);
    border: 2px solid var(--clr-border);
    border-radius: 50%;
    margin-inline: auto;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    transition: border-color var(--tr-normal), box-shadow var(--tr-normal);
}

.step:hover .step__icon {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-blue);
}

.step__title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--clr-heading);
    margin-bottom: 9px;
}

.step__body {
    font-size: 0.85rem;
    color: var(--clr-muted);
    line-height: 1.65;
}

/* ----------------------------------------------------------
   12. PORTFOLIO
---------------------------------------------------------- */
.portfolio {
    padding: var(--section-py) 0;
    background: var(--clr-white);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    background: var(--clr-white);
    transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.portfolio-card__img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.portfolio-card__img--1 {
    background: linear-gradient(135deg, #dbeafe 0%, #2563eb 100%);
}

.portfolio-card__img--2 {
    background: linear-gradient(135deg, #dcfce7 0%, #16a34a 100%);
}

.portfolio-card__img--3 {
    background: linear-gradient(135deg, #ede9fe 0%, #7c3aed 100%);
}

.portfolio-card__img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(255, 255, 255, 0.06) 28px, rgba(255, 255, 255, 0.06) 30px),
        repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(255, 255, 255, 0.06) 28px, rgba(255, 255, 255, 0.06) 30px);
}

.portfolio-card__overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
}

.portfolio-card__tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--clr-primary);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    padding: 4px 11px;
}

.portfolio-card__body {
    padding: 22px;
}

.portfolio-card__location {
    font-size: 0.76rem;
    color: var(--clr-muted);
    margin-bottom: 7px;
}

.portfolio-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-heading);
    margin-bottom: 7px;
}

.portfolio-card__text {
    font-size: 0.86rem;
    color: var(--clr-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.portfolio-card__stats {
    display: flex;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--clr-border);
}

.portfolio-card__stat {
    display: flex;
    flex-direction: column;
}

.portfolio-card__stat strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.1;
}

.portfolio-card__stat span {
    font-size: 0.73rem;
    color: var(--clr-muted);
    margin-top: 2px;
}

/* ----------------------------------------------------------
   13. PRICING
---------------------------------------------------------- */
.pricing {
    padding: var(--section-py) 0;
    background: var(--clr-bg);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--clr-white);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: transform var(--tr-normal), box-shadow var(--tr-normal), border-color var(--tr-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card--featured {
    background: var(--grad-primary);
    border-color: transparent;
    transform: scale(1.03);
    box-shadow: var(--shadow-blue-lg);
}

.pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-card__popular {
    display: inline-block;
    background: rgba(255, 255, 255, 0.20);
    color: var(--clr-white);
    font-size: 0.70rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    padding: 3px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.30);
}

.pricing-card__tier {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-muted);
    margin-bottom: 14px;
}

.pricing-card--featured .pricing-card__tier {
    color: rgba(255, 255, 255, 0.65);
}

.pricing-card__price {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.pricing-card__currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-muted);
    align-self: flex-start;
    margin-top: 8px;
}

.pricing-card--featured .pricing-card__currency {
    color: rgba(255, 255, 255, 0.65);
}

.pricing-card__amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--clr-heading);
    line-height: 1;
}

.pricing-card--featured .pricing-card__amount {
    color: var(--clr-white);
}

.pricing-card__period {
    font-size: 0.80rem;
    color: var(--clr-muted);
    margin-bottom: 6px;
}

.pricing-card--featured .pricing-card__period {
    color: rgba(255, 255, 255, 0.55);
}

.pricing-card__desc {
    font-size: 0.88rem;
    color: var(--clr-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-card--featured .pricing-card__desc {
    color: rgba(255, 255, 255, 0.70);
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 28px;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.86rem;
}

.pricing-card--featured .pricing-card__feature {
    color: rgba(255, 255, 255, 0.88);
}

.pricing-card__feature::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
}

.pricing-card__feature--yes::before {
    content: '✓';
    background: #dcfce7;
    color: var(--clr-success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card--featured .pricing-card__feature--yes::before {
    background: rgba(255, 255, 255, 0.20);
    color: var(--clr-white);
}

.pricing-card__feature--no {
    color: var(--clr-muted);
    opacity: 0.45;
}

.pricing-card__feature--no::before {
    content: '✕';
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing__note {
    text-align: center;
    font-size: 0.90rem;
    color: var(--clr-muted);
    margin-top: 36px;
}

.pricing__note a {
    color: var(--clr-primary);
    font-weight: 600;
}

/* ----------------------------------------------------------
   14. TESTIMONIALS
---------------------------------------------------------- */
.testimonials {
    padding: var(--section-py) 0;
    background: var(--grad-blue-soft);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: box-shadow var(--tr-normal), transform var(--tr-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-card__stars {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.testimonial-card__quote {
    font-size: 0.92rem;
    color: var(--clr-body);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-card__quote::before {
    content: '"';
    font-size: 2.8rem;
    color: var(--clr-primary);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 3px;
    font-family: var(--ff-italic);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--clr-white);
    flex-shrink: 0;
}

.testimonial-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-heading);
}

.testimonial-card__role {
    font-size: 0.76rem;
    color: var(--clr-muted);
    margin-top: 2px;
}

/* ----------------------------------------------------------
   15. FAQ
---------------------------------------------------------- */
.faq {
    padding: var(--section-py) 0;
    background: var(--clr-white);
}

.faq__container {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: start;
}

.faq__sidebar {
    position: sticky;
    top: 96px;
}

.faq__title {
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    font-weight: 800;
    color: var(--clr-heading);
    line-height: 1.25;
    margin-bottom: 14px;
}

.faq__intro {
    font-size: 0.93rem;
    color: var(--clr-muted);
    line-height: 1.7;
}

.faq__intro a {
    color: var(--clr-primary);
    font-weight: 600;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq__item {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--tr-normal), box-shadow var(--tr-normal);
}

.faq__item.open {
    border-color: #bfdbfe;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--clr-heading);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--tr-fast);
}

.faq__item.open .faq__question {
    color: var(--clr-primary);
}

.faq__icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--clr-muted);
    flex-shrink: 0;
    transition: transform var(--tr-normal), color var(--tr-normal);
    line-height: 1;
}

.faq__item.open .faq__icon {
    transform: rotate(45deg);
    color: var(--clr-primary);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 0 22px;
}

.faq__answer p {
    font-size: 0.90rem;
    color: var(--clr-muted);
    line-height: 1.76;
    padding-bottom: 18px;
}

.faq__item.open .faq__answer {
    max-height: 400px;
}

/* ----------------------------------------------------------
   16. CTA BANNER + CONTACT FORM
---------------------------------------------------------- */
.cta-banner {
    padding: var(--section-py) 0;
    background: var(--grad-primary);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent);
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -100px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent);
}

.cta-banner__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-banner__title {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    color: var(--clr-white);
    line-height: 1.18;
    margin-bottom: 18px;
}

.cta-banner__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.72;
    margin-bottom: 32px;
}

.cta-banner__contacts {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.cta-banner__contact-item {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 0.90rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--tr-fast);
}

.cta-banner__contact-item:is(a):hover {
    color: var(--clr-white);
}

.contact-form {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.contact-form__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--clr-heading);
    margin-bottom: 3px;
}

.contact-form__sub {
    font-size: 0.83rem;
    color: var(--clr-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.80rem;
    font-weight: 600;
    color: var(--clr-body);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    background: var(--clr-bg);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-family: var(--ff-body);
    font-size: 0.88rem;
    color: var(--clr-heading);
    transition: border-color var(--tr-fast), background var(--tr-fast);
    outline: none;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    border-color: var(--clr-primary);
    background: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.form-select option {
    background: var(--clr-white);
    color: var(--clr-heading);
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
}

.contact-form__success {
    text-align: center;
    padding: 50px 16px;
}

.contact-form__success-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.contact-form__success h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--clr-heading);
    margin-bottom: 8px;
}

.contact-form__success p {
    font-size: 0.93rem;
    color: var(--clr-muted);
    line-height: 1.7;
}

/* ----------------------------------------------------------
   17. FOOTER
---------------------------------------------------------- */
.footer {
    background: var(--clr-heading);
    padding-top: 72px;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.footer__tagline {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 240px;
}

.footer__socials {
    display: flex;
    gap: 8px;
}

.footer__social {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.48);
    text-transform: uppercase;
    transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}

.footer__social:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
}

.footer__col-title {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--clr-white);
    margin-bottom: 18px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer__links li,
.footer__links a {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.42);
    transition: color var(--tr-fast);
}

.footer__links a:hover {
    color: var(--clr-white);
}

.footer__bottom {
    padding: 18px 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer__bottom-links {
    display: flex;
    gap: 20px;
}

.footer__bottom-links a {
    color: rgba(255, 255, 255, 0.28);
    transition: color var(--tr-fast);
}

.footer__bottom-links a:hover {
    color: rgba(255, 255, 255, 0.65);
}

/* ----------------------------------------------------------
   18. RESPONSIVE — TABLET (≤ 1024px)
---------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-py: 76px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__left {
        order: 1;
    }

    .hero__visual {
        order: 0;
        max-width: 480px;
        margin-inline: auto;
    }

    .hero__ctas {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__float {
        display: none;
    }

    .hero__sub {
        margin-inline: auto;
    }

    .about__container {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about__visual {
        order: -1;
        max-width: 380px;
        margin-inline: auto;
    }

    .about__img-wrap {
        height: 300px;
        aspect-ratio: auto;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .steps__grid::before {
        display: none;
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-inline: auto;
    }

    .pricing-card--featured {
        transform: none;
    }

    .pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq__sidebar {
        position: static;
    }

    .cta-banner__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: span 2;
    }
}

/* ----------------------------------------------------------
   19. RESPONSIVE — MOBILE (≤ 768px)
---------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    .navbar__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(18px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--tr-normal);
        z-index: 999;
    }

    .navbar__nav.open {
        opacity: 1;
        pointer-events: all;
    }

    .navbar__links {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .navbar__link {
        font-size: 1.15rem;
        padding: 11px 22px;
        color: var(--clr-heading);
    }

    .navbar__hamburger {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .navbar__actions .btn--primary {
        display: none;
    }

    .hero__ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero__stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero__stat-divider {
        width: 60px;
        height: 1px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    .steps__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .footer__container {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: auto;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.7rem;
    }
}