/* ============================================================
   KIT-TECH  —  Apple.com / Nothing / Dyson product-page feel
   Pure-white canvas, SF-Pro-like sans-serif, oversized hero text,
   ultra-smooth transitions, subtle glass effects, deep shadows
   ============================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    /* backgrounds */
    --bg-primary:    #ffffff;
    --bg-secondary:  #f5f5f7;
    --bg-card:       #ffffff;
    --bg-dark:       #1d1d1f;
    --bg-dark-card:  #2d2d2f;

    /* accent palette — Apple blue + graphite */
    --accent-1:      #0071e3;
    --accent-2:      #2997ff;
    --accent-3:      #147ce5;

    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --accent-gradient-hover: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    --accent-soft:   rgba(0,113,227,.07);

    /* text */
    --text-heading:  #1d1d1f;
    --text-primary:  #1d1d1f;
    --text-body:     #515154;
    --text-secondary: #515154;
    --text-muted:    #86868b;
    --text-on-accent:#ffffff;
    --footer-dark-bg: #1d1d1f;

    /* typography — SF-Pro stack */
    --font-heading:  'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body:     'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono:     'SF Mono', 'JetBrains Mono', monospace;

    /* border & radius */
    --border-color:  #d2d2d7;
    --border-light:  rgba(0,0,0,.04);
    --radius-sm:     12px;
    --radius-md:     18px;
    --radius-lg:     24px;
    --radius-xl:     30px;
    --radius-full:   9999px;

    /* shadows */
    --shadow-sm:     0 2px 8px rgba(0,0,0,.04);
    --shadow-md:     0 4px 18px rgba(0,0,0,.07);
    --shadow-lg:     0 20px 60px rgba(0,0,0,.10);
    --shadow-accent: 0 8px 30px rgba(0,113,227,.16);

    /* transitions — Apple-like spring */
    --transition:    .35s cubic-bezier(.28,.11,.32,1);
    --transition-slow: .6s cubic-bezier(.28,.11,.32,1);

    /* layout */
    --section-padding: 120px 0;
    --header-height:   52px;
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    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-2); text-decoration: underline; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
}

h1 { font-size: 72px; font-weight: 700; }
h2 { font-size: 52px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 19px; }
h6 { font-size: 17px; }

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: #f5f5f7; }
.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: #f5f5f7; }
.bg-dark-custom p, .bg-dark-custom li,
.bg-dark-section p, .bg-dark-section li { color: #a1a1a6; }
.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; }

.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 {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: .35;
    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: 6px; }

.preloader-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: techFade 1s ease-in-out infinite;
}
.preloader-dot:nth-child(2) { animation-delay: .2s; }
.preloader-dot:nth-child(3) { animation-delay: .4s; }

@keyframes techFade {
    0%, 100% { opacity: .15; transform: scale(.85); }
    50%      { opacity: 1;   transform: scale(1); }
}

/* ─── HEADER & NAVIGATION ──────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 0 22px;
    height: var(--header-height);
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(255,255,255,.88);
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.header-inner {
    width: 100%; max-width: 1024px;
    display: flex; align-items: center; justify-content: space-between;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 21px; font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -.02em;
    display: flex; align-items: center; gap: 8px;
}
.site-logo img { height: 20px; width: auto; }
.site-logo:hover { color: var(--text-heading); opacity: .7; }

.nav-group-left,
.nav-group-right { display: flex; align-items: center; }

.main-nav {
    display: flex; align-items: center; gap: 28px;
    list-style: none; margin: 0; padding: 0;
}
.nav-link {
    font-size: 12px; font-weight: 400;
    color: var(--text-heading);
    opacity: .8;
    padding: 4px 0;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute; left: 50%; bottom: -2px;
    width: 0; height: 1.5px;
    background: var(--text-heading);
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover,
.nav-link.active { opacity: 1; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-cta .btn-custom {
    padding: 6px 16px;
    font-size: 12px;
    border-radius: var(--radius-full);
}

/* 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: 18px; height: 1.5px;
    background: var(--text-heading);
    border-radius: 1px;
    position: absolute; left: 9px;
    transition: var(--transition);
}
.mobile-toggle span:nth-child(1) { top: 12px; }
.mobile-toggle span:nth-child(2) { top: 17px; }
.mobile-toggle span:nth-child(3) { top: 22px; }
.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: 6px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 17px; font-weight: 400;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
    line-height: 1.2;
    white-space: nowrap;
}
.btn-custom i { font-size: 14px; }

.btn-primary-custom {
    background: var(--accent-1);
    color: var(--text-on-accent);
}
.btn-primary-custom:hover {
    background: var(--accent-3);
    color: var(--text-on-accent);
    transform: scale(1.02);
}

.btn-outline-custom {
    background: transparent;
    color: var(--accent-1);
    border: 1px solid var(--accent-1);
}
.btn-outline-custom:hover {
    background: var(--accent-1);
    color: var(--text-on-accent);
}

.btn-link-custom {
    background: none; border: none; padding: 0;
    color: var(--accent-1);
    font-size: 21px;
    font-weight: 400;
    gap: 6px;
}
.btn-link-custom:hover { color: var(--accent-2); gap: 10px; }
.btn-link-custom i { transition: var(--transition); font-size: 17px; }

/* ─── SECTION HEADER ────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}
.section-tagline {
    display: inline-block;
    font-size: 14px; font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 12px;
}
.section-title {
    font-size: 52px; font-weight: 700;
    line-height: 1.06;
    margin-bottom: 16px;
    letter-spacing: -.03em;
}
.section-desc {
    font-size: 21px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto;
    font-weight: 400;
}

/* ─── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(var(--header-height) + 60px);
    overflow: hidden;
    background: var(--bg-primary);
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(255,255,255,.92) 0%,
        rgba(245,245,247,.85) 40%,
        rgba(255,255,255,.96) 100%);
    z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; }

.hero-tagline {
    display: inline-block;
    font-size: 14px; font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 14px;
}
.hero-tagline span {
    color: var(--accent-1);
    font-weight: 600;
}

.hero-title {
    font-size: 80px; font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-bottom: 18px;
    max-width: 900px;
    margin-left: auto; margin-right: auto;
}
.hero-subtitle {
    font-size: 28px; font-weight: 400;
    color: var(--text-muted);
    line-height: 1.35;
    max-width: 640px;
    margin: 0 auto 36px;
}
.hero-buttons {
    display: flex; gap: 20px; flex-wrap: wrap;
    justify-content: center;
}

.hero-image {
    position: relative;
    margin-top: 56px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.hero-image img {
    width: 100%; height: auto;
    display: block;
}

/* decorative shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-shape.shape-1 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,113,227,.06) 0%, transparent 70%);
    top: -20%; left: 50%; transform: translateX(-50%);
}
.hero-shape.shape-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(41,151,255,.04) 0%, transparent 70%);
    bottom: -10%; right: -5%;
}

/* ─── ICON BOX / FEATURE CARD ───────────────────────────────── */
.icon-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.icon-box:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
}
.icon-wrap {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--accent-1);
    transition: var(--transition);
}
.icon-box:hover .icon-wrap {
    background: var(--accent-1);
    color: #fff;
    transform: scale(1.1);
}
.icon-title {
    font-size: 19px; font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.icon-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.icon-box-horizontal {
    display: flex; gap: 20px;
    text-align: left;
}
.icon-box-horizontal .icon-wrap { margin: 0; flex-shrink: 0; }

/* ─── ABOUT SECTION ─────────────────────────────────────────── */
.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.about-image img { width: 100%; display: block; }

.experience-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 20px 26px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-md);
}
.experience-badge .number {
    font-size: 44px; font-weight: 700;
    color: var(--accent-1);
    line-height: 1;
    letter-spacing: -.03em;
}
.experience-badge .label {
    font-size: 14px; font-weight: 500;
    color: var(--text-muted);
    line-height: 1.3;
}

.about-list {
    list-style: none; padding: 0; margin: 28px 0 0;
}
.about-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0;
    font-size: 17px; color: var(--text-body);
}
.about-list li i {
    color: var(--accent-1);
    font-size: 18px;
    margin-top: 3px;
}

/* ─── COUNTER / STATS ───────────────────────────────────────── */
.counter-section {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.counter-item {
    text-align: center;
    padding: 36px 20px;
}
.counter-number {
    font-family: var(--font-heading);
    font-size: 56px; font-weight: 700;
    color: var(--text-heading);
    line-height: 1.05;
    margin-bottom: 4px;
    letter-spacing: -.04em;
}
.counter-label {
    font-size: 14px; font-weight: 500;
    color: var(--text-muted);
}

/* ─── SERVICES / COURSE CARDS ───────────────────────────────── */
.service-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex; flex-direction: column;
}
.service-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}
.service-card .card-image {
    height: 240px; 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.05); }

.card-tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-1);
    font-size: 12px; font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.service-card .card-body {
    padding: 28px 30px; flex: 1;
    display: flex; flex-direction: column;
}
.service-card .card-title {
    font-size: 19px; font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.service-card .card-text {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.6; flex: 1;
}
.card-footer-custom {
    padding: 18px 30px;
    border-top: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: space-between;
}
.card-price {
    font-size: 21px; font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -.02em;
}

/* ─── TEAM SECTION ──────────────────────────────────────────── */
.team-card {
    text-align: center;
    transition: var(--transition);
}
.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
}
.team-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.team-card:hover .team-image img { transform: scale(1.04); }

.team-social {
    position: absolute; inset: 0;
    background: rgba(29,29,31,.5);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; gap: 12px;
    opacity: 0; transition: var(--transition);
    border-radius: var(--radius-lg);
}
.team-card:hover .team-social { opacity: 1; }
.team-social a {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.9);
    color: var(--text-heading);
    border-radius: 50%;
    font-size: 16px;
    transform: translateY(10px);
    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: 17px; font-weight: 700;
    margin: 18px 0 2px;
    color: var(--text-heading);
}
.team-role {
    font-size: 14px; color: var(--text-muted);
    padding-bottom: 20px;
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 36px;
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 24px;
    color: var(--accent-1);
    opacity: .4;
    margin-bottom: 14px;
}
.quote-text {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 24px;
}
.stars {
    color: #ff9500;
    font-size: 14px;
    margin-bottom: 14px;
    display: flex; gap: 3px;
}
.author {
    display: flex; align-items: center; gap: 14px;
}
.author-image {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
}
.author-image img { width: 100%; height: 100%; object-fit: cover; }
.author-name {
    font-size: 14px; font-weight: 700;
    color: var(--text-heading);
}
.author-role { font-size: 12px; color: var(--text-muted); }

/* ─── PORTFOLIO / GALLERY ───────────────────────────────────── */
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    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.05); }

.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(29,29,31,.80) 0%, transparent 50%);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
    font-size: 12px; font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 4px;
}
.portfolio-title {
    font-size: 19px; font-weight: 700;
    color: #fff;
}

/* ─── FILTER BUTTONS (PORTFOLIO) ───────────────────────────── */
.ix-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 36px;
}
.ix-filter-btn {
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-body);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ix-filter-btn:hover {
    color: var(--accent-1);
    border-color: var(--accent-1);
    transform: translateY(-1px);
}
.ix-filter-btn.active {
    background: var(--accent-1);
    color: var(--text-on-accent);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* ─── FAQ / ACCORDION ───────────────────────────────────────── */
.faq-section .accordion-item {
    background: transparent;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
}
.faq-section .accordion-button {
    font-family: var(--font-heading);
    font-size: 17px; font-weight: 700;
    color: var(--text-heading);
    background: transparent;
    padding: 22px 0;
    box-shadow: none !important;
    letter-spacing: -.01em;
}
.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: 13px;
    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 0 22px;
    font-size: 14px; color: var(--text-muted);
    line-height: 1.65;
}

/* ─── PRICING ───────────────────────────────────────────────── */
.pricing-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 44px 38px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    height: 100%;
}
.pricing-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}
.pricing-card.featured {
    background: var(--bg-dark);
    color: #f5f5f7;
}
.pricing-card.featured::before {
    content: 'Популярный';
    position: absolute; top: 16px; right: 16px;
    background: var(--accent-1);
    color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}
.pricing-card.featured .plan-name,
.pricing-card.featured .plan-price { color: #f5f5f7; }
.pricing-card.featured .plan-period { color: #a1a1a6; }

.plan-name {
    font-size: 17px; font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}
.plan-price {
    font-size: 56px; font-weight: 700;
    color: var(--text-heading);
    line-height: 1.05;
    letter-spacing: -.04em;
}
.plan-period {
    font-size: 14px; 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: 14px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-body);
}
.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,.06); color: #a1a1a6; }
.plan-features li i {
    color: #34c759;
    font-size: 15px;
}

/* ─── BLOG CARDS ────────────────────────────────────────────── */
.blog-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
}
.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.04); }

.blog-card .card-body { padding: 26px 28px; }
.blog-card .card-meta {
    display: flex; gap: 16px;
    font-size: 12px; color: var(--text-muted);
    margin-bottom: 10px;
}
.blog-card .card-meta i { margin-right: 4px; color: var(--accent-1); }
.blog-card .card-title {
    font-size: 17px; font-weight: 700;
    line-height: 1.3;
    color: var(--text-heading);
    letter-spacing: -.01em;
}
.blog-card .card-title:hover { color: var(--accent-1); }

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
    position: relative;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 100px 40px;
    text-align: center;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-title {
    font-size: 48px; font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 16px;
    letter-spacing: -.03em;
}
.cta-text {
    font-size: 21px; font-weight: 400;
    color: #a1a1a6;
    margin-bottom: 32px;
    max-width: 560px; margin-left: auto; margin-right: auto;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0,113,227,.08);
    pointer-events: none;
}
.cta-shape.shape-1 { width: 600px; height: 600px; top: -40%; right: -10%; }
.cta-shape.shape-2 { width: 400px; height: 400px; bottom: -30%; left: -8%; }

/* ─── PROCESS / STEPS ───────────────────────────────────────── */
.process-item {
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.step-number {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-size: 24px; font-weight: 700;
    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-1);
    color: #fff;
    transform: scale(1.1);
}

.process-item:not(:last-child)::after {
    content: '';
    position: absolute; top: 30px;
    left: calc(50% + 38px); right: calc(-50% + 38px);
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.step-title {
    font-size: 17px; font-weight: 700;
    margin-bottom: 8px;
}
.step-text {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.6;
}

/* ─── NEWSLETTER ────────────────────────────────────────────── */
.newsletter-form {
    display: flex; gap: 10px;
    max-width: 460px;
}
.newsletter-form .form-control {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 17px;
    background: var(--bg-secondary);
    color: var(--text-body);
    transition: var(--transition);
}
.newsletter-form .form-control:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 4px rgba(0,113,227,.12);
    outline: none;
    background: var(--bg-card);
}

/* ─── CONTACT FORM ──────────────────────────────────────────── */
.form-custom .form-control,
.form-custom .form-select {
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 17px;
    background: var(--bg-secondary);
    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 4px rgba(0,113,227,.12);
    outline: none;
    background: var(--bg-card);
}
.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: 40px 0;
    background: var(--bg-secondary);
}
.marquee-track {
    display: flex; align-items: center;
    gap: 56px;
    animation: marqueeScroll 32s linear infinite;
    width: max-content;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-item {
    font-family: var(--font-heading);
    font-size: 64px; font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap;
    opacity: .06;
    letter-spacing: -.04em;
}
.marquee-item.stroke {
    -webkit-text-stroke: 2px var(--text-heading);
    -webkit-text-fill-color: transparent;
    opacity: .08;
}
.marquee-item .separator {
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--accent-1);
    border-radius: 50%;
    margin: 0 28px;
    vertical-align: middle;
    opacity: .3;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-secondary);
    color: var(--text-body);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-widget { margin-bottom: 36px; }
.widget-title {
    font-size: 12px; font-weight: 700;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 0;
}
.widget-title::after { display: none; }

.footer-about {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.footer-links {
    list-style: none; padding: 0; margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--text-body);
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-1); }

.footer-contact li {
    display: flex; gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-contact i {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 3px;
}

.footer-social {
    display: flex; gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 17px;
    transition: var(--transition);
}
.footer-social a:hover {
    color: var(--text-heading);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 24px;
    padding: 16px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 12px; color: var(--text-muted); }
.footer-policy {
    display: flex; gap: 20px; flex-wrap: wrap;
}
.footer-policy a {
    font-size: 12px;
    color: var(--text-muted);
}
.footer-policy a:hover { color: var(--text-heading); }

/* ─── POLICY PAGES ──────────────────────────────────────────── */
.policy-content {
    padding: 100px 0 80px;
}
.policy-content h1 {
    font-size: 48px; font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -.03em;
}
.policy-content h2 {
    font-size: 28px; font-weight: 700;
    margin-top: 44px;
    margin-bottom: 14px;
    letter-spacing: -.02em;
}
.policy-content p {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.75;
    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);
}
.policy-content strong { color: var(--text-heading); }

/* ─── SCROLL TO TOP ─────────────────────────────────────────── */
.scroll-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #f5f5f7;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    cursor: pointer; border: none;
    opacity: 0; visibility: hidden;
    transform: translateY(14px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.scroll-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: var(--accent-1);
    transform: translateY(-3px);
}

/* ─── BOOTSTRAP NAV PILLS OVERRIDE ──────────────────────────── */
.nav-pills .nav-link {
    border-radius: var(--radius-full);
    color: var(--text-body);
    font-weight: 600;
    padding: 8px 20px;
    font-size: 14px;
    transition: var(--transition);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: var(--accent-1);
    color: #fff;
}

/* ─── SWIPER OVERRIDES ──────────────────────────────────────── */
.swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: var(--text-muted);
    opacity: .3;
    transition: var(--transition);
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-1);
    width: 24px;
    border-radius: var(--radius-full);
}
.swiper-button-prev,
.swiper-button-next {
    width: 44px; height: 44px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 14px;
    color: var(--text-heading);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent-1);
}
.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(-14px); }
}
@keyframes floatLeftRight {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(14px); }
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1200px) {
    h1, .hero-title { font-size: 56px; }
    h2, .section-title { font-size: 40px; }
}

@media (max-width: 992px) {
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }

    .main-nav {
        position: fixed; top: 0; right: -100%;
        width: min(320px, 85vw); height: 100vh;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 28px 40px;
        gap: 0;
        transition: right .4s cubic-bezier(.28,.11,.32,1);
        z-index: 1050;
        overflow-y: auto;
    }
    .main-nav.open { right: 0; }
    .main-nav .nav-link {
        width: 100%;
        padding: 14px 0;
        font-size: 15px;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-group-left, .nav-group-right {
        flex-direction: column; width: 100%;
    }

    .mobile-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,.3);
        z-index: 1049;
    }
    .mobile-overlay.active { display: block; }

    .header-cta { display: none; }
    .site-header { padding: 0 16px; }
}

@media (max-width: 768px) {
    h1, .hero-title { font-size: 40px; }
    h2, .section-title { font-size: 32px; }
    .section-padding { padding: 80px 0; }
    .hero-section { min-height: auto; padding: 100px 0 60px; }
    .hero-subtitle { font-size: 19px; }
    .cta-section { padding: 60px 24px; }
    .cta-title { font-size: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
    h1, .hero-title { font-size: 32px; }
    h2, .section-title { font-size: 26px; }
    .section-padding { padding: 60px 0; }
    .hero-buttons { flex-direction: column; }
    .btn-custom { width: 100%; justify-content: center; }
    .counter-number { font-size: 40px; }
    .plan-price { font-size: 44px; }
    .marquee-item { font-size: 42px; }
}
