/* ================================================================
   KIT: VIBRANT STARTUP
   Яркая тема с градиентами и энергичным стилем
   Вдохновлён: Figma.com, Webflow.com, Canva
   ================================================================ */

/* ----------------------------------------------------------------
   CSS VARIABLES
   AI: Замени --accent-1 и --accent-2 на цвета из color_palette
---------------------------------------------------------------- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #faf5ff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f0ff;
    --text-primary: #1e1b4b;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --footer-dark-bg: #1e1b4b;
    --border-color: #e5e7eb;
    --border-light: #d1d5db;

    --accent-1: #8b5cf6;
    --accent-2: #ec4899;
    --accent-3: #06b6d4;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --accent-gradient-alt: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    --accent-glow: 0 4px 14px rgba(139, 92, 246, 0.25);

    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --fs-h1: 60px;
    --fs-h2: 44px;
    --fs-h3: 30px;
    --fs-h4: 24px;
    --fs-h5: 20px;
    --fs-body: 16px;
    --fs-small: 14px;

    --fw-bold: 700;
    --fw-semibold: 600;
    --fw-medium: 500;
    --fw-regular: 400;
    --fw-light: 300;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 50px;

    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(139, 92, 246, 0.08);
    --shadow-lg: 0 8px 32px rgba(139, 92, 246, 0.12);
    --shadow-xl: 0 16px 48px rgba(139, 92, 246, 0.16);

    --section-padding: 100px 0;
}

/* ----------------------------------------------------------------
   RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--accent-1);
    transition: var(--transition);
}

a:hover { color: var(--accent-2); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; padding: 0; margin: 0; }

::selection {
    background: var(--accent-1);
    color: #fff;
}

/* ----------------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 20px;
}

h1 { font-size: var(--fs-h1); letter-spacing: -1px; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.5px; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { color: var(--accent-1); }
.text-accent-2 { color: var(--accent-2); }
.text-dark { color: var(--text-primary); }
.text-muted-custom { color: var(--text-muted); }

/* ----------------------------------------------------------------
   UTILITIES
---------------------------------------------------------------- */
.section-padding { padding: var(--section-padding); position: relative; }
.section-padding-sm { padding: 60px 0; }
.section-padding-lg { padding: 140px 0; }
.section-padding > .container { position: relative; z-index: 1; }

.bg-primary-custom { background-color: var(--bg-primary); }
.bg-secondary-custom { background-color: var(--bg-secondary); }
.bg-card { background-color: var(--bg-card); }
.bg-gradient-custom { background: var(--accent-gradient); }
.bg-gradient-subtle {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.bg-gradient-custom {
    color: #fff;
}
.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; }
.bg-gradient-custom .counter-number { color: #fff; }
.bg-gradient-custom .counter-label { color: rgba(255,255,255,0.7); }

.bg-dark-section {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: rgba(255, 255, 255, 0.7);
}
.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-section p, .bg-dark-section li, .bg-dark-section span:not(.badge) { color: rgba(255,255,255,0.7); }
.bg-dark-section a:not(.btn-custom) { color: rgba(255,255,255,0.8); }
.bg-dark-section a:not(.btn-custom):hover { color: #fff; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.pt-20 { padding-top: 20px; }
.pt-40 { padding-top: 40px; }
.pt-60 { padding-top: 60px; }
.pb-20 { padding-bottom: 20px; }
.pb-40 { padding-bottom: 40px; }
.pb-60 { padding-bottom: 60px; }

.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }

/* ----------------------------------------------------------------
   PRELOADER
---------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded { opacity: 0; visibility: hidden; }

.preloader-inner {
    display: flex;
    gap: 10px;
}

.preloader-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: preloaderBounce 1.4s ease-in-out infinite both;
}

.preloader-dot:nth-child(1) { background: var(--accent-1); animation-delay: -0.32s; }
.preloader-dot:nth-child(2) { background: var(--accent-2); animation-delay: -0.16s; }
.preloader-dot:nth-child(3) { background: var(--accent-3); animation-delay: 0; }

@keyframes preloaderBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-pill);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary-custom {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--accent-glow);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--accent-1);
    border: 2px solid var(--accent-1);
}

.btn-outline-custom:hover {
    background: var(--accent-1);
    color: #fff;
}

.btn-link-custom {
    background: none;
    border: none;
    color: var(--accent-1);
    padding: 0;
    font-weight: var(--fw-medium);
}

.btn-link-custom:hover { color: var(--accent-2); }

.btn-link-custom i { transition: transform 0.3s ease; }
.btn-link-custom:hover i { transform: translateX(5px); }

/* ----------------------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo:hover {
    opacity: 0.9;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav .nav-link {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    padding: 8px 0;
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform: translateX(-50%);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--accent-1); }

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { width: 100%; }

.header-cta { margin-left: 16px; }

/* Centered logo variant: split nav groups */
.nav-group-left, .nav-group-right { display: flex; align-items: center; gap: 32px; }
.nav-group-left .nav-link, .nav-group-right .nav-link {
    color: var(--text-secondary); font-size: var(--fs-small);
    font-weight: var(--fw-medium); padding: 8px 0;
}
.nav-group-left .nav-link:hover, .nav-group-right .nav-link:hover { color: var(--accent-1); }
.nav-group-left ~ .main-nav { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 6px;
}

.mobile-toggle .burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----------------------------------------------------------------
   HERO SECTION
---------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: var(--bg-secondary);
}

.hero-section .hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at top right, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--accent-1);
    margin-bottom: 24px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius-pill);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero-title {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    top: -200px;
    right: -100px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    bottom: -100px;
    left: -100px;
}

/* ----------------------------------------------------------------
   SECTION TITLE
---------------------------------------------------------------- */
.section-header {
    margin-bottom: 60px;
}

.section-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------
   ICON BOX / FEATURE CARD
---------------------------------------------------------------- */
.icon-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-box:hover::before { opacity: 1; }

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-box .icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--accent-1);
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.icon-box:hover .icon-wrap {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.1);
}

.icon-box .icon-title {
    font-size: var(--fs-h5);
    font-weight: var(--fw-semibold);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.icon-box .icon-text {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    margin-bottom: 0;
}

/* horizontal variant */
.icon-box-horizontal {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.icon-box-horizontal:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-1);
    transform: translateY(-3px);
}

.icon-box-horizontal .icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--accent-1);
    font-size: 24px;
}

/* ----------------------------------------------------------------
   ABOUT SECTION
---------------------------------------------------------------- */
.about-section .about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-section .about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
}

.about-section .about-image .experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .badge-number {
    display: block;
    font-size: 36px;
    font-weight: var(--fw-bold);
    line-height: 1;
}

.experience-badge .badge-text {
    font-size: var(--fs-small);
    opacity: 0.9;
}

.about-list { margin-top: 20px; }

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.about-list li i {
    color: var(--accent-1);
    font-size: 16px;
}

/* ----------------------------------------------------------------
   COUNTER / STATS
---------------------------------------------------------------- */
.counter-section {
    background: var(--bg-secondary);
}

.counter-section.bg-gradient-custom {
    background: var(--accent-gradient);
}

.counter-item {
    text-align: center;
    padding: 20px;
}

.counter-number {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.bg-gradient-custom .counter-number { color: #fff; }
.counter-number { color: var(--text-primary); }

.counter-number .counter-suffix {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-label {
    font-size: var(--fs-small);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bg-gradient-custom .counter-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------------------------
   SERVICE CARDS
---------------------------------------------------------------- */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card .card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

.service-card .card-image .card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: var(--fw-bold);
}

.service-card .card-body { padding: 28px; }

.service-card .card-title {
    font-size: var(--fs-h5);
    font-weight: var(--fw-semibold);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card .card-title a { color: var(--text-primary); }
.service-card .card-title a:hover { color: var(--accent-1); }

.service-card .card-text {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-card .card-footer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.service-card .card-price {
    font-size: var(--fs-h5);
    font-weight: var(--fw-bold);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------------------------------------------------------
   TEAM SECTION
---------------------------------------------------------------- */
.team-card {
    text-align: center;
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-5px); }

.team-card .team-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.team-card .team-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img { transform: scale(1.05); }

.team-card .team-social {
    position: absolute;
    bottom: -60px;
    left: 0; width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social { bottom: 0; }

.team-social a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.team-social a:hover { background: var(--accent-1); }

.team-card .team-name {
    font-size: var(--fs-h5);
    font-weight: var(--fw-semibold);
    margin-bottom: 4px;
    color: var(--text-primary);
}

.team-card .team-role {
    font-size: var(--fs-small);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--fw-medium);
}

/* ----------------------------------------------------------------
   TESTIMONIALS
---------------------------------------------------------------- */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.testimonial-card .quote-icon {
    font-size: 36px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.testimonial-card .quote-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-card .author-image {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.2);
}

.testimonial-card .author-name {
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonial-card .author-role {
    font-size: var(--fs-small);
    color: var(--text-muted);
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 16px;
}

/* ----------------------------------------------------------------
   PORTFOLIO / GALLERY
---------------------------------------------------------------- */
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.portfolio-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.1); }

.portfolio-item .portfolio-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(30, 27, 75, 0.9) 0%, rgba(30, 27, 75, 0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay .portfolio-cat {
    font-size: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: var(--fw-bold);
}

.portfolio-overlay .portfolio-title {
    font-size: var(--fs-h5);
    color: #fff;
    margin-bottom: 0;
}

/* ----------------------------------------------------------------
   FAQ / ACCORDION
---------------------------------------------------------------- */
.faq-section .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-section .accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: var(--fw-semibold);
    padding: 20px 28px;
    box-shadow: none;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--bg-card-hover);
    color: var(--accent-1);
}

.faq-section .accordion-body {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ----------------------------------------------------------------
   PRICING
---------------------------------------------------------------- */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.pricing-card.featured {
    border-color: transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                var(--accent-gradient) border-box;
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 24px;
    font-size: 12px;
    font-weight: var(--fw-bold);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card .plan-name {
    font-size: var(--fs-small);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: var(--fw-bold);
    margin-bottom: 16px;
}

.pricing-card .plan-price {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.pricing-card .plan-price .currency {
    font-size: 24px;
    vertical-align: top;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card .plan-period {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: 30px;
}

.pricing-card .plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card .plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

.pricing-card .plan-features li:last-child { border-bottom: none; }
.pricing-card .plan-features li i { color: var(--accent-1); }
.pricing-card .plan-features li.disabled { opacity: 0.4; text-decoration: line-through; }

/* ----------------------------------------------------------------
   BLOG CARDS
---------------------------------------------------------------- */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card .card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image img { transform: scale(1.05); }

.blog-card .card-body { padding: 24px; }

.blog-card .card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card .card-meta i {
    margin-right: 4px;
    color: var(--accent-1);
}

.blog-card .card-title {
    font-size: 18px;
    font-weight: var(--fw-semibold);
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-primary);
}

.blog-card .card-title a { color: var(--text-primary); }
.blog-card .card-title a:hover { color: var(--accent-1); }

/* ----------------------------------------------------------------
   CTA SECTION
---------------------------------------------------------------- */
.cta-section {
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section .cta-content {
    position: relative;
    z-index: 2;
}

.cta-section .cta-title {
    font-size: var(--fs-h2);
    color: #fff;
    letter-spacing: -0.5px;
}

.cta-section .cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 600px;
}

.cta-section p, .cta-section li { color: rgba(255,255,255,0.85); }

.cta-section .btn-custom {
    background: #fff;
    color: var(--accent-1);
    font-weight: var(--fw-bold);
}

.cta-section .btn-custom:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-section .cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}

.cta-shape-1 { width: 400px; height: 400px; top: -200px; right: -100px; }
.cta-shape-2 { width: 300px; height: 300px; bottom: -150px; left: -100px; }

/* ----------------------------------------------------------------
   NEWSLETTER
---------------------------------------------------------------- */
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 14px 24px;
    color: var(--text-primary);
    font-size: var(--fs-body);
}

.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1); }

/* ----------------------------------------------------------------
   PROCESS / STEPS
---------------------------------------------------------------- */
.process-item {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.process-item .step-number {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 24px;
    font-weight: var(--fw-bold);
    margin: 0 auto 20px;
    box-shadow: var(--accent-glow);
}

.process-item .step-title {
    font-size: var(--fs-h5);
    font-weight: var(--fw-semibold);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-item .step-text {
    font-size: var(--fs-small);
    color: var(--text-secondary);
}

.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px; right: -20px;
    width: 40px; height: 2px;
    background: var(--accent-gradient);
    opacity: 0.3;
}

/* ----------------------------------------------------------------
   MARQUEE / TEXT SLIDER
---------------------------------------------------------------- */
.marquee-section {
    padding: 40px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    gap: 60px;
}

.marquee-track .marquee-item {
    font-size: 64px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    color: var(--text-primary);
}

.marquee-track .marquee-item.stroke {
    -webkit-text-stroke: 1px var(--text-primary);
    -webkit-text-fill-color: transparent;
}

.marquee-track .marquee-item.italic {
    font-style: italic;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: rgba(255, 255, 255, 0.6);
}

.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5 { color: #fff; }

.footer-widget .widget-title {
    font-size: 18px;
    font-weight: var(--fw-semibold);
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-small);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-small);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links li { margin-bottom: 10px; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-small);
}

.footer-contact li i { color: var(--accent-2); margin-top: 4px; }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-top: 60px;
}

.footer-bottom p {
    margin: 0;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.4);
}

.footer-policy {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}

.footer-policy a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-policy a:hover {
    color: var(--accent-1);
}

/* ----------------------------------------------------------------
   POLICY PAGES
---------------------------------------------------------------- */
.policy-content h1 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    margin-bottom: 24px;
    color: var(--text-primary);
}

.policy-content h2 {
    font-size: var(--fs-h4);
    font-weight: var(--fw-semibold);
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.policy-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-content ul, .policy-content ol {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.policy-content a {
    color: var(--accent-1);
    text-decoration: underline;
}

.policy-content strong {
    color: var(--text-primary);
}

/* ----------------------------------------------------------------
   SCROLL TO TOP
---------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--accent-glow);
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ----------------------------------------------------------------
   FORMS
---------------------------------------------------------------- */
.form-custom .form-control {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: var(--fs-body);
}

.form-custom .form-control:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-custom .form-control::placeholder { color: var(--text-muted); }
.form-custom textarea.form-control { min-height: 150px; resize: vertical; }

/* ----------------------------------------------------------------
   SWIPER OVERRIDES
---------------------------------------------------------------- */
.swiper-pagination-bullet { background: var(--border-light); opacity: 1; }
.swiper-pagination-bullet-active {
    background: var(--accent-gradient);
    width: 24px;
    border-radius: 10px;
}

.swiper-button-prev,
.swiper-button-next {
    width: 48px; height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 16px; }

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

/* ----------------------------------------------------------------
   WOW.JS / ANIMATION HELPERS
---------------------------------------------------------------- */
.wow { visibility: hidden; }
.animated { visibility: visible; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatLeftRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.float-anim { animation: floatUpDown 3s ease-in-out infinite; }
.float-anim-2 { animation: floatLeftRight 4s ease-in-out infinite; }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1200px) {
    :root { --fs-h1: 50px; --fs-h2: 38px; }
}

/* ----------------------------------------------------------------
   MOBILE MENU — slide-in panel
---------------------------------------------------------------- */
@media (max-width: 992px) {
    :root {
        --fs-h1: 40px; --fs-h2: 32px; --fs-h3: 26px;
        --section-padding: 80px 0;
    }

    .main-nav {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--bg-body);
        padding: 90px 32px 40px;
        gap: 0;
        z-index: 10000;
        box-shadow: -4px 0 30px rgba(0,0,0,0.25);
        transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav .nav-link {
        display: block !important;
        font-size: 18px !important;
        padding: 14px 0 !important;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-transform: none;
        letter-spacing: 0;
        color: var(--text-primary) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        color: var(--accent-1) !important;
    }

    .main-nav .nav-link::after {
        display: none;
    }

    .header-cta { display: none !important; }

    .mobile-toggle {
        display: flex !important;
        z-index: 10001;
        position: relative;
        pointer-events: auto !important;
        opacity: 1 !important;
        background: none !important;
        border: none !important;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-title { font-size: var(--fs-h1); }
    .process-item:not(:last-child)::after { display: none; }
    .counter-number { font-size: 40px; }
}

@media (max-width: 768px) {
    :root {
        --fs-h1: 34px; --fs-h2: 28px; --fs-h3: 22px; --fs-h4: 20px;
        --section-padding: 60px 0;
    }
    .section-header { margin-bottom: 40px; }
    .hero-section { min-height: auto; padding: 140px 0 80px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .newsletter-form { flex-direction: column; }
    .pricing-card .plan-price { font-size: 40px; }
    .footer-bottom { text-align: center; }
}

@media (max-width: 576px) {
    :root {
        --fs-h1: 28px; --fs-h2: 24px; --fs-h3: 20px;
        --section-padding: 50px 0;
    }
    .testimonial-card { padding: 24px; }
    .pricing-card { padding: 28px; }
    .icon-box { padding: 28px 20px; }
}
