/* ============================================================
   KIT-STARTUP  —  Stripe / Linear / Vercel SaaS feel
   Clean gradients, generous whitespace, glass cards, pill buttons
   ============================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    /* backgrounds */
    --bg-primary:    #f7f8fc;
    --bg-secondary:  #eef1f8;
    --bg-card:       #ffffff;
    --bg-dark:       #0a1628;
    --bg-dark-card:  #111d35;

    /* accent palette  — Stripe-like indigo ↔ teal */
    --accent-1:      #635bff;
    --accent-2:      #00d4aa;
    --accent-3:      #0073e6;

    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    --accent-gradient-hover: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    --accent-soft:   rgba(99,91,255,.08);

    /* text */
    --text-heading:  #0a2540;
    --text-primary:  #0a2540;
    --text-body:     #425466;
    --text-secondary: #425466;
    --text-muted:    #8898a9;
    --text-on-accent:#ffffff;
    --footer-dark-bg: #0a1628;

    /* typography */
    --font-heading:  'Inter', 'Segoe UI', sans-serif;
    --font-body:     'Inter', 'Segoe UI', sans-serif;
    --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

    /* border & radius */
    --border-color:  #e3e8ef;
    --border-light:  rgba(0,0,0,.06);
    --radius-sm:     8px;
    --radius-md:     14px;
    --radius-lg:     20px;
    --radius-xl:     28px;
    --radius-full:   9999px;

    /* shadows */
    --shadow-sm:     0 1px 3px rgba(0,0,0,.06);
    --shadow-md:     0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:     0 12px 40px rgba(0,0,0,.10);
    --shadow-accent: 0 8px 30px rgba(99,91,255,.18);

    /* transitions */
    --transition:    .3s cubic-bezier(.4,0,.2,1);
    --transition-slow: .5s cubic-bezier(.4,0,.2,1);

    /* layout */
    --section-padding: 110px 0;
    --header-height:   76px;
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--accent-1); transition: var(--transition); }
a:hover { color: var(--accent-3); }

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

h1 { font-size: 60px; font-weight: 800; }
h2 { font-size: 44px; }
h3 { font-size: 30px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin-bottom: 1rem; }

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-stroke {
    -webkit-text-stroke: 2px var(--text-heading);
    -webkit-text-fill-color: transparent;
}

/* ─── UTILITIES ─────────────────────────────────────────────── */
.section-padding { padding: var(--section-padding); }

.bg-primary-custom { background-color: var(--bg-primary) !important; }
.bg-secondary-custom { background-color: var(--bg-secondary) !important; }
.bg-dark-custom, .bg-dark-section { background-color: var(--bg-dark) !important; color: #fff; }
.bg-dark-custom h1, .bg-dark-custom h2, .bg-dark-custom h3,
.bg-dark-custom h4, .bg-dark-custom h5, .bg-dark-custom h6,
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3,
.bg-dark-section h4, .bg-dark-section h5, .bg-dark-section h6 { color: #fff; }
.bg-dark-custom p, .bg-dark-custom li,
.bg-dark-section p, .bg-dark-section li { color: #a6b5c8; }
.bg-dark-section a:not(.btn-custom) { color: rgba(255,255,255,0.8); }
.bg-accent-custom, .bg-gradient-custom {
    background: var(--accent-gradient) !important;
    color: #fff;
}
.bg-accent-custom h1, .bg-accent-custom h2, .bg-accent-custom h3,
.bg-accent-custom h4, .bg-accent-custom h5, .bg-accent-custom h6,
.bg-gradient-custom h1, .bg-gradient-custom h2, .bg-gradient-custom h3,
.bg-gradient-custom h4, .bg-gradient-custom h5, .bg-gradient-custom h6 { color: #fff; }
.bg-gradient-custom p, .bg-gradient-custom li,
.bg-gradient-custom span { color: rgba(255,255,255,0.85); }
.bg-gradient-custom a:not(.btn-custom) { color: #fff; }

/* spacing helpers */
.mb-6 { margin-bottom: 4rem !important; }
.mt-6 { margin-top: 4rem !important; }
.pt-6 { padding-top: 4rem !important; }
.pb-6 { padding-bottom: 4rem !important; }
.gap-30 { gap: 30px; }
.gap-24 { gap: 24px; }

/* serial-badge */
.serial-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: .45;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* ─── LINE DIVIDERS ─────────────────────────────────────────── */
.line-divider {
    height: 1px;
    background: var(--border-color);
    border: none;
    margin: 0;
}
.line-divider.accent {
    height: 2px;
    background: var(--accent-gradient);
}

/* ─── PRELOADER ─────────────────────────────────────────────── */
.preloader {
    position: fixed; inset: 0;
    z-index: 99999;
    background: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s, visibility .5s;
}
.preloader.loaded { opacity: 0; visibility: hidden; }

.preloader-inner { display: flex; gap: 8px; }

.preloader-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent-1);
    animation: startupPulse .9s ease-in-out infinite alternate;
}
.preloader-dot:nth-child(2) { animation-delay: .15s; background: var(--accent-3); }
.preloader-dot:nth-child(3) { animation-delay: .3s; background: var(--accent-2); }

@keyframes startupPulse {
    0%   { transform: scale(1);   opacity: .4; }
    100% { transform: scale(1.5); opacity: 1; }
}

/* ─── HEADER & NAVIGATION ──────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 0 48px;
    height: var(--header-height);
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(247,248,252,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    width: 100%; max-width: 1280px;
    display: flex; align-items: center; justify-content: space-between;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -.03em;
    display: flex; align-items: center; gap: 10px;
}
.site-logo img { height: 34px; width: auto; }
.site-logo:hover { color: var(--accent-1); }

/* nav-group for centered-logo layout */
.nav-group-left,
.nav-group-right { display: flex; align-items: center; }

.main-nav {
    display: flex; align-items: center; gap: 36px;
    list-style: none; margin: 0; padding: 0;
}
.nav-link {
    font-size: 15px; font-weight: 500;
    color: var(--text-body);
    padding: 6px 0;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--accent-1); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-cta .btn-custom { padding: 9px 24px; font-size: 14px; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px;
    position: relative;
    z-index: 1051;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    position: absolute; left: 6px;
    transition: var(--transition);
}
.mobile-toggle span:nth-child(1) { top: 9px; }
.mobile-toggle span:nth-child(2) { top: 17px; }
.mobile-toggle span:nth-child(3) { top: 25px; }
.mobile-toggle.active span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-custom {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 15px; font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}
.btn-custom i { font-size: 14px; }

.btn-primary-custom {
    background: var(--accent-gradient);
    color: var(--text-on-accent);
    border-color: transparent;
    box-shadow: var(--shadow-accent);
}
.btn-primary-custom:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(99,91,255,.28);
    color: var(--text-on-accent);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-heading);
    border-color: var(--border-color);
}
.btn-outline-custom:hover {
    background: var(--accent-soft);
    border-color: var(--accent-1);
    color: var(--accent-1);
    transform: translateY(-2px);
}

.btn-link-custom {
    background: none; border: none; padding: 0;
    color: var(--accent-1);
    font-weight: 600;
    gap: 6px;
}
.btn-link-custom:hover { gap: 10px; color: var(--accent-3); }
.btn-link-custom i { transition: var(--transition); }

/* ─── SECTION HEADER ────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 64px;
}
.section-tagline {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent-1);
    background: var(--accent-soft);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}
.section-title {
    font-size: 44px; font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -.025em;
}
.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto;
}

/* ─── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg,
        rgba(247,248,252,.95) 0%,
        rgba(238,241,248,.90) 50%,
        rgba(247,248,252,.97) 100%);
    z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; }

.hero-tagline {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 6px 18px 6px 8px;
    font-size: 14px; font-weight: 500;
    color: var(--text-body);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.hero-tagline span {
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hero-title {
    font-size: 64px; font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin-bottom: 24px;
    max-width: 720px;
}
.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image img {
    width: 100%; height: auto;
    display: block;
}

/* decorative shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.hero-shape.shape-1 {
    width: 500px; height: 500px;
    background: rgba(99,91,255,.18);
    top: -10%; right: -5%;
}
.hero-shape.shape-2 {
    width: 400px; height: 400px;
    background: rgba(0,212,170,.12);
    bottom: -10%; left: -5%;
}

/* ─── ICON BOX / FEATURE CARD ───────────────────────────────── */
.icon-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.icon-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.icon-wrap {
    width: 64px; height: 64px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-size: 26px;
    color: var(--accent-1);
    transition: var(--transition);
}
.icon-box:hover .icon-wrap {
    background: var(--accent-gradient);
    color: #fff;
}
.icon-title {
    font-size: 20px; font-weight: 700;
    margin-bottom: 10px;
}
.icon-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* horizontal layout */
.icon-box-horizontal {
    display: flex; gap: 22px;
    text-align: left;
}
.icon-box-horizontal .icon-wrap { margin: 0; flex-shrink: 0; }

/* ─── ABOUT SECTION ─────────────────────────────────────────── */
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image img { width: 100%; display: block; }

.experience-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 14px;
}
.experience-badge .number {
    font-size: 42px; font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.experience-badge .label {
    font-size: 14px; font-weight: 500;
    color: var(--text-muted);
    line-height: 1.35;
}

.about-list {
    list-style: none; padding: 0; margin: 24px 0 0;
}
.about-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0;
    font-size: 16px; color: var(--text-body);
}
.about-list li i {
    color: var(--accent-2);
    font-size: 18px;
    margin-top: 3px;
}

/* ─── COUNTER / STATS ───────────────────────────────────────── */
.counter-section {
    position: relative;
    overflow: hidden;
}
.counter-item {
    text-align: center;
    padding: 30px 16px;
}
.counter-number {
    font-family: var(--font-heading);
    font-size: 50px; font-weight: 800;
    letter-spacing: -.03em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 6px;
}
.counter-label {
    font-size: 15px; font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ─── SERVICES / COURSE CARDS ───────────────────────────────── */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex; flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card .card-image {
    height: 220px; overflow: hidden;
}
.service-card .card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.service-card:hover .card-image img { transform: scale(1.06); }

.card-tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-1);
    font-size: 12px; font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}
.service-card .card-body {
    padding: 28px; flex: 1;
    display: flex; flex-direction: column;
}
.service-card .card-title {
    font-size: 20px; font-weight: 700;
    margin-bottom: 10px;
}
.service-card .card-text {
    font-size: 15px; color: var(--text-muted);
    line-height: 1.65; flex: 1;
}
.card-footer-custom {
    padding: 18px 28px;
    border-top: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
}
.card-price {
    font-size: 20px; font-weight: 700;
    color: var(--text-heading);
}

/* ─── TEAM SECTION ──────────────────────────────────────────── */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}
.team-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.team-card:hover .team-image img { transform: scale(1.05); }

.team-social {
    position: absolute; inset: 0;
    background: rgba(99,91,255,.65);
    display: flex; align-items: center; justify-content: center; gap: 12px;
    opacity: 0; transition: var(--transition);
}
.team-card:hover .team-social { opacity: 1; }
.team-social a {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    color: var(--accent-1);
    border-radius: 50%;
    font-size: 16px;
    transform: translateY(14px);
    transition: var(--transition);
}
.team-card:hover .team-social a { transform: translateY(0); }
.team-social a:hover {
    background: var(--accent-1);
    color: #fff;
}

.team-name {
    font-size: 18px; font-weight: 700;
    margin: 20px 0 4px;
    color: var(--text-heading);
}
.team-role {
    font-size: 14px; color: var(--text-muted);
    padding-bottom: 22px;
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

.quote-icon {
    font-size: 28px;
    color: var(--accent-1);
    opacity: .5;
    margin-bottom: 16px;
}
.quote-text {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}
.stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex; gap: 3px;
}
.author {
    display: flex; align-items: center; gap: 14px;
}
.author-image {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
}
.author-image img { width: 100%; height: 100%; object-fit: cover; }
.author-name {
    font-size: 15px; font-weight: 700;
    color: var(--text-heading);
}
.author-role { font-size: 13px; color: var(--text-muted); }

/* ─── PORTFOLIO / GALLERY ───────────────────────────────────── */
.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}
.portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,21,64,.80) 0%, transparent 60%);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent-2);
    margin-bottom: 6px;
}
.portfolio-title {
    font-size: 20px; font-weight: 700;
    color: #fff;
}

/* ─── FAQ / ACCORDION ───────────────────────────────────────── */
.faq-section .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
}
.faq-section .accordion-button {
    font-family: var(--font-heading);
    font-size: 17px; font-weight: 600;
    color: var(--text-heading);
    background: transparent;
    padding: 22px 28px;
    box-shadow: none !important;
}
.faq-section .accordion-button:not(.collapsed) {
    color: var(--accent-1);
    background: transparent;
}
.faq-section .accordion-button::after {
    background-image: none;
    content: '\f078';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}
.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    color: var(--accent-1);
}
.faq-section .accordion-body {
    padding: 0 28px 24px;
    font-size: 15px; color: var(--text-muted);
    line-height: 1.7;
}

/* ─── PRICING ───────────────────────────────────────────────── */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    height: 100%;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
    background: var(--bg-dark);
    border-color: transparent;
    color: #fff;
}
.pricing-card.featured::before {
    content: 'Популярный';
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 5px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.pricing-card.featured .plan-name,
.pricing-card.featured .plan-price { color: #fff; }
.pricing-card.featured .plan-period { color: #a6b5c8; }

.plan-name {
    font-size: 18px; font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}
.plan-price {
    font-size: 52px; font-weight: 800;
    color: var(--text-heading);
    line-height: 1.1;
    letter-spacing: -.03em;
}
.plan-period {
    font-size: 15px; color: var(--text-muted);
    margin-bottom: 28px;
}
.plan-features {
    list-style: none; padding: 0;
    margin-bottom: 32px;
    text-align: left;
}
.plan-features li {
    padding: 10px 0;
    font-size: 15px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border-color);
}
.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,.08); color: #cbd5e1; }
.plan-features li i {
    color: var(--accent-2);
    font-size: 16px;
}

/* ─── BLOG CARDS ────────────────────────────────────────────── */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.blog-card .card-image {
    height: 220px; overflow: hidden;
}
.blog-card .card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.blog-card:hover .card-image img { transform: scale(1.05); }

.blog-card .card-body { padding: 26px; }
.blog-card .card-meta {
    display: flex; gap: 16px;
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-card .card-meta i { margin-right: 5px; color: var(--accent-1); }
.blog-card .card-title {
    font-size: 19px; font-weight: 700;
    line-height: 1.35;
    color: var(--text-heading);
}
.blog-card .card-title:hover { color: var(--accent-1); }

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
    position: relative;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 80px 40px;
    text-align: center;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-title {
    font-size: 40px; font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}
.cta-text {
    font-size: 18px; color: rgba(255,255,255,.8);
    margin-bottom: 36px;
    max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-section .btn-custom {
    background: #fff;
    color: var(--accent-1);
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.cta-section .btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0,0,0,.18);
}

/* Decorative circles */
.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}
.cta-shape.shape-1 { width: 400px; height: 400px; top: -30%; right: -8%; }
.cta-shape.shape-2 { width: 250px; height: 250px; bottom: -20%; left: -5%; }

/* ─── PROCESS / STEPS ───────────────────────────────────────── */
.process-item {
    text-align: center;
    position: relative;
    padding: 0 18px;
}
.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-1);
    font-family: var(--font-heading);
    font-size: 24px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}
.process-item:hover .step-number {
    background: var(--accent-gradient);
    color: #fff;
}

/* connector line */
.process-item:not(:last-child)::after {
    content: '';
    position: absolute; top: 32px;
    left: calc(50% + 40px); right: calc(-50% + 40px);
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step-title {
    font-size: 18px; font-weight: 700;
    margin-bottom: 8px;
}
.step-text {
    font-size: 15px; color: var(--text-muted);
    line-height: 1.6;
}

/* ─── NEWSLETTER ────────────────────────────────────────────── */
.newsletter-form {
    display: flex; gap: 12px;
    max-width: 480px;
}
.newsletter-form .form-control {
    flex: 1;
    padding: 14px 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 15px;
    background: var(--bg-card);
    color: var(--text-body);
    transition: var(--transition);
}
.newsletter-form .form-control:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(99,91,255,.12);
    outline: none;
}

/* ─── CONTACT FORM ──────────────────────────────────────────── */
.form-custom .form-control,
.form-custom .form-select {
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: var(--bg-card);
    color: var(--text-body);
    transition: var(--transition);
}
.form-custom .form-control:focus,
.form-custom .form-select:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(99,91,255,.12);
    outline: none;
}
.form-custom textarea.form-control { min-height: 140px; resize: vertical; }
.form-custom .form-label {
    font-size: 14px; font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
}

/* ─── MARQUEE / TEXT SLIDER ─────────────────────────────────── */
.marquee-section {
    overflow: hidden;
    padding: 36px 0;
    background: var(--bg-secondary);
}
.marquee-track {
    display: flex; align-items: center;
    gap: 48px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-item {
    font-family: var(--font-heading);
    font-size: 60px; font-weight: 800;
    color: var(--text-heading);
    white-space: nowrap;
    opacity: .12;
    letter-spacing: -.03em;
}
.marquee-item.stroke {
    -webkit-text-stroke: 2px var(--text-heading);
    -webkit-text-fill-color: transparent;
    opacity: .15;
}
.marquee-item .separator {
    display: inline-block;
    width: 14px; height: 14px;
    background: var(--accent-1);
    border-radius: 50%;
    margin: 0 24px;
    vertical-align: middle;
    opacity: .5;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-dark);
    color: #a6b5c8;
    padding: 80px 0 0;
}

.footer-widget { margin-bottom: 40px; }
.widget-title {
    font-size: 18px; font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 14px;
}
.widget-title::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 36px; height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}
.footer-about {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #8e9bb4;
}
.footer-links {
    list-style: none; padding: 0; margin: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #8e9bb4;
    font-size: 15px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}
.footer-contact li {
    display: flex; gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
}
.footer-contact i {
    color: var(--accent-1);
    font-size: 16px;
    margin-top: 4px;
}

.footer-social {
    display: flex; gap: 10px;
    margin-top: 18px;
}
.footer-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
    color: #a6b5c8;
    font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 40px;
    padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 14px; color: #6b7a8d; }
.footer-policy {
    display: flex; gap: 20px; flex-wrap: wrap;
}
.footer-policy a {
    font-size: 14px;
    color: #6b7a8d;
}
.footer-policy a:hover { color: #fff; }

/* ─── POLICY PAGES ──────────────────────────────────────────── */
.policy-content {
    padding: 120px 0 80px;
}
.policy-content h1 {
    font-size: 40px; font-weight: 800;
    margin-bottom: 12px;
}
.policy-content h2 {
    font-size: 24px; font-weight: 700;
    margin-top: 40px;
    margin-bottom: 14px;
}
.policy-content p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}
.policy-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}
.policy-content ul li {
    margin-bottom: 8px;
    color: var(--text-body);
    line-height: 1.7;
}
.policy-content a {
    color: var(--accent-1);
    text-decoration: underline;
}
.policy-content strong { color: var(--text-heading); }

/* ─── SCROLL TO TOP ─────────────────────────────────────────── */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    cursor: pointer; border: none;
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-accent);
}
.scroll-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(99,91,255,.32);
}

/* ─── BOOTSTRAP NAV PILLS OVERRIDE ──────────────────────────── */
.nav-pills .nav-link {
    border-radius: var(--radius-full);
    color: var(--text-body);
    font-weight: 600;
    padding: 10px 24px;
    font-size: 14px;
    transition: var(--transition);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: var(--accent-gradient);
    color: #fff;
}

/* ─── SWIPER OVERRIDES ──────────────────────────────────────── */
.swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: var(--text-muted);
    opacity: .35;
    transition: var(--transition);
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-1);
    width: 28px;
    border-radius: var(--radius-full);
}
.swiper-button-prev,
.swiper-button-next {
    width: 48px; height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
    color: var(--text-heading);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent-gradient);
    border-color: transparent;
}
.swiper-button-prev:hover::after,
.swiper-button-next:hover::after { color: #fff; }

/* ─── WOW.JS / ANIMATION HELPERS ───────────────────────────── */
.wow { visibility: hidden; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
.delay-6 { animation-delay: .6s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}
@keyframes floatLeftRight {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(16px); }
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1200px) {
    h1, .hero-title { font-size: 48px; }
    h2, .section-title { font-size: 36px; }
}

@media (max-width: 992px) {
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }

    /* slide-in panel */
    .main-nav {
        position: fixed; top: 0; right: -100%;
        width: min(340px, 85vw); height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 0;
        box-shadow: -6px 0 30px rgba(0,0,0,.12);
        transition: right .4s cubic-bezier(.4,0,.2,1);
        z-index: 1050;
        overflow-y: auto;
    }
    .main-nav.open { right: 0; }
    .main-nav .nav-link {
        width: 100%;
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-group-left, .nav-group-right {
        flex-direction: column; width: 100%;
    }

    .mobile-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 1049;
    }
    .mobile-overlay.active { display: block; }

    .header-cta { display: none; }
    .site-header { padding: 0 20px; }
}

@media (max-width: 768px) {
    h1, .hero-title { font-size: 36px; }
    h2, .section-title { font-size: 28px; }
    .section-padding { padding: 70px 0; }
    .hero-section { min-height: auto; padding: 120px 0 80px; }
    .cta-section { padding: 60px 24px; }
    .cta-title { font-size: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
    h1, .hero-title { font-size: 30px; }
    h2, .section-title { font-size: 24px; }
    .section-padding { padding: 56px 0; }
    .hero-buttons { flex-direction: column; }
    .btn-custom { width: 100%; justify-content: center; }
    .counter-number { font-size: 36px; }
    .plan-price { font-size: 40px; }
    .marquee-item { font-size: 40px; }
}
