
:root {
    --primary-blue: #0056FF;
    --primary: #7C3AED;
    --primary-hover: #6D28D9;
    --purple: #8B5CF6; 
    --purple-light: #DDD6FE;
    
    /* Нові кольори, які ви просили */
    --color-pink: rgb(236, 202, 229);
    --color-blue-pink: rgb(216, 191, 250);
    --color-blue: rgb(181, 193, 255);
    --color-orange: rgb(255, 196, 102);
    
    --secondary: #1F2937;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --text: #374151;
    --text-light: #6B7280;
    --transition: 0.3s ease;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 100px 0; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--secondary); color: var(--white); }
.bg-dark h2 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; margin-bottom: 10px; font-weight: 800; }
.section-header p { font-size: 18px; color: var(--text-light); }

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
}
.btn-icon { width: 20px; height: 20px; }
.btn-primary {
background: linear-gradient(135deg, #84a0d6, var(--purple));
color: var(--white);
border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.btn-secondary { background-color: var(--white); color: var(--secondary); border-color: var(--light); }
.btn-secondary:hover { background-color: var(--color-blue-pink); color: var(--secondary); border-color: var(--color-blue-pink); }
.btn-outline { border-color: var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--color-blue-pink); color: var(--secondary); border-color: var(--color-blue-pink); }
.w-100 { width: 100%; }

/* Хедер */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 20px 0;
}
header.scrolled { padding: 12px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; }
.logo span { 
    background: linear-gradient(135deg, var(--purple), #84a0d6); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; transition: var(--transition); font-family: 'Montserrat', sans-serif; }
.nav-links a:hover { color: var(--primary); }


/* --- PRICE SLIDER STYLES --- */
.price-slider {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.price-track {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.price-track-inner {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    /* Ховаємо скроллбар, залишаючи функціонал */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 60px 5px; 
}

.price-track-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Фіксуємо ширину карток для слайдера */
.price-track-inner .price-card {
    min-width: 320px;
    flex: 0 0 auto;
    /* Забираємо margin, якщо він був заданий у гріді */
    margin: 0; 
}

/* Налаштування кнопок слайдера (спільні для кейсів і прайсу) */
.slider-btn {
    background: #fff;
    border: 1px solid #eee;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: #4285F4; /* Primary color */
    color: #fff;
    border-color: #4285F4;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-prev {
    margin-right: 15px;
}

.slider-next {
    margin-left: 15px;
}

/* Адаптивність для телефонів */
@media (max-width: 768px) {
    .price-track-inner .price-card {
        min-width: 280px; /* Трохи менші картки на мобільному */
    }
    
    .slider-btn {
        display: none; /* На мобільних зручніше скролити пальцем (свайпом) */
    }
    
    .price-track-inner {
        gap: 20px;
        padding: 10px 20px; /* Відступи по боках екрану */
    }
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 200px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero h1 { font-size: 56px; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { 
    background: linear-gradient(135deg, var(--purple), #84a0d6); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.hero p { font-size: 20px; color: var(--text-light); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* Фонове відео в Hero (напівпрозоре) */
.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.85) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Фіолетові та сині бліки на фоні */
.hero-bg {
    position: absolute; top: -10%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(181, 193, 255, 0.3) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; z-index: 1;
}
.hero-bg-purple {
    position: absolute; bottom: -10%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(236, 202, 229, 0.4) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; z-index: 1;
}

/* Розкидані іконки платформ у hero — прив'язані до .hero-content */
.hero-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: var(--icon-bg);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.15);
    opacity: 0;
    animation: iconFadeIn 0.8s ease forwards, iconFloat 5s ease-in-out infinite;
}
.hero-icon svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}
.icon-gads svg, .icon-ga svg, .icon-mc svg, .icon-gtm svg {
    width: 32px;
    height: 32px;
}
.icon-li svg, .icon-yt svg {
    width: 30px;
    height: 30px;
}

/* Позиції — розкидані навколо тексту та кнопок hero-content */
.icon-fb     { top: -46px;  left: -130px;  animation-delay: 0.1s, 0.1s; }
.icon-ig     { top: -70px;  right: -20px;  animation-delay: 0.25s, 0.5s; }
.icon-gads   { top: 28%;    left: -150px;  animation-delay: 0.4s, 0.9s; }
.icon-ga     { top: 34%;    right: -142px; animation-delay: 0.55s, 1.3s; }
.icon-li     { top: 58%;    left: -108px;  animation-delay: 1s, 2.5s; }
.icon-yt     { top: 62%;    right: -114px; animation-delay: 1.15s, 2.9s; }
.icon-mc     { bottom: -40px; left: -20px; animation-delay: 0.7s, 1.7s; }
.icon-gtm    { bottom: -60px; right: -14px; animation-delay: 1.3s, 3.3s; }

@keyframes iconFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}

@media (max-width: 992px) {
    .hero-icon { width: 52px; height: 52px; }
    .hero-icon svg { width: 24px; height: 24px; }
    .icon-li, .icon-yt, .icon-gtm { display: none; }
    .icon-fb   { top: -22px; left: -30px; }
    .icon-ig   { top: -34px; right: -10px; }
    .icon-gads { top: 30%;   left: -44px; }
    .icon-ga   { top: 36%;   right: -40px; }
    .icon-mc   { bottom: -20px; left: -6px; }
}
@media (max-width: 768px) {
    .hero-icons { display: none; }
}

/* Сітки */
.experience-grid, .workflow-grid { display: grid; gap: 30px; }
.experience-grid { grid-template-columns: repeat(4, 1fr); }
.workflow-grid { grid-template-columns: repeat(4, 1fr); }
.ppc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }

/* Картки "Досвід" - Кольорові блоки */
.exp-card {
    padding: 40px 10px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition);
    background-color: var(--white);
}
.exp-card:hover { transform: translateY(-10px); }

/* Застосовуємо нові кольори до блоків "Досвід" (з градієнтом) */
.experience-grid .exp-card:nth-child(1) { background: linear-gradient(135deg, var(--color-pink), #f6e2f2 60%, var(--color-pink)); }
.experience-grid .exp-card:nth-child(2) { background: linear-gradient(135deg, var(--color-blue), #ece0ff 60%, var(--color-blue)); }
.experience-grid .exp-card:nth-child(3) { background: linear-gradient(135deg, var(--color-orange), #ffe0ad 60%, var(--color-orange)); }
.experience-grid .exp-card:nth-child(4) { background: linear-gradient(135deg, var(--color-pink), var(--purple-light) 55%, var(--color-blue-pink)); }

.exp-card h3 { font-size: 32px; color: var(--secondary); margin-bottom: 10px; }
.exp-card p { color: var(--secondary); opacity: 0.9; }
.exp-card .icon-wrapper svg { width: 48px; height: 48px; color: var(--secondary); margin-bottom: 15px; display: inline-block; opacity: 0.8; }

/* PPC Картки */
.ppc-item {
    background: linear-gradient(160deg, var(--white) 0%, #f7f2ff 100%);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(181, 193, 255, 0.4);
}
.ppc-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15); }
.ppc-item .icon-wrapper {
    width: 64px; height: 64px; margin: 0 auto 15px auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #84a0d6, var(--purple));
}
.ppc-item .icon-wrapper svg { width: 30px; height: 30px; color: var(--white); margin: 0; display: block; }

/* Процес (Workflow) - Кольорові блоки */
.workflow-card { 
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition);
}
.workflow-card:hover { transform: translateY(-10px); }

.workflow-grid .workflow-card:nth-child(1) { background: linear-gradient(135deg, var(--color-pink), #f6e2f2 60%, var(--color-pink)); }
.workflow-grid .workflow-card:nth-child(2) { background: linear-gradient(135deg, var(--color-blue-pink), #dbe2ff 60%, var(--color-blue-pink));; }
.workflow-grid .workflow-card:nth-child(3) { background: linear-gradient(135deg, var(--color-orange), #ffe0ad 60%, var(--color-orange)); }
.workflow-grid .workflow-card:nth-child(4) { background: linear-gradient(160deg, var(--white), #f3ecff); border: 2px solid var(--color-blue-pink); }

.step-icon {
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto;
}
.step-icon svg { width: 28px; height: 28px; }
.workflow-card h3 { margin-bottom: 15px; font-size: 20px; color: var(--secondary); }
.workflow-card p { font-size: 15px; color: var(--secondary); opacity: 0.9; }

/* Кейси - слайдер з деталізованими картками */
.cases-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.cases-track {
    overflow: hidden;
    border-radius: var(--border-radius);
    padding: 0;
}
.cases-track-inner {
    display: flex;
    align-items: stretch;
    transition: transform 0.55s cubic-bezier(.22,1,.36,1);
}
.case-card {
    flex: 0 0 100%;
    max-width: 100%;
    opacity: 0.32;
    transform: scale(0.93);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.45s ease;
    pointer-events: none;
}
.case-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.15);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.slider-btn svg { width: 22px; height: 22px; color: var(--secondary); transition: color 0.3s ease; }
.slider-btn:hover {
    background: linear-gradient(135deg, #84a0d6, var(--purple));
    box-shadow: 0 14px 30px rgba(139, 92, 246, 0.35);
    transform: translateY(-50%) scale(1.08);
}
.slider-btn:hover svg { color: var(--white); }
.slider-prev { left: -70px; }
.slider-next { right: -70px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
}
.slider-dot.active {
    width: 30px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
}

@media (max-width: 1180px) {
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    .cases-track { padding: 0; }
}

.case-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(31, 41, 55, 0.05);
}
.case-card.active:hover {
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}
.case-img {
    position: relative;
    flex: 0 0 42%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.6s ease;
}
.case-card.active:hover .case-img { transform: scale(1.07); }
.case-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.28) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.case-card.active:hover .case-img::after { opacity: 1; }

/* Використовуємо задані кольори для заглушок кейсів (градієнти) */
.ecommerce-img {
    background-image: url("images/card_1.png");
}
.app-img {
    background-image: url("images/card_2.png");
}
.service-img { background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-pink) 100%); }
.fitness-img { background: linear-gradient(135deg, var(--color-orange) 0%, #ffdca8 100%); }
.local-img { background: linear-gradient(135deg, var(--color-blue-pink) 0%, #ece0ff 100%); }
.edtech-img { background: linear-gradient(135deg, var(--color-pink) 0%, #f6e2f2 100%); }

.case-icon {
    position: absolute; top: 16px; right: 16px;
    z-index: 2;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
}
.case-icon svg { width: 22px; height: 22px; color: var(--primary); }
.case-card.active:hover .case-icon { transform: rotate(-8deg) scale(1.1); }

.case-content { flex: 1; padding: 34px 34px 30px; display: flex; flex-direction: column; justify-content: center; }

.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    background: var(--purple-light);
    color: var(--secondary);
}
.tag-alt { background: #eaf0ff;
color: var(--primary-blue); }

.case-content h3 { font-size: 21px; margin-bottom: 12px; }

.case-desc {
    font-size: 14.5px;
    color: var(--text-light);
    margin-bottom: 24px;
    padding-left: 14px;
    border-left: 3px solid var(--color-blue-pink);
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 18px 0;
    margin-bottom: 22px;
    border-top: 1px solid var(--light);
    border-bottom: 1px solid var(--light);
}
.stat { text-align: center; }
.stat-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block;
    font-size: 10.5px;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.3;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}
.case-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.case-card:hover .case-link svg { transform: translateX(6px); }

.price-card ul li { margin-bottom: 10px; position: relative; padding-left: 24px; font-size: 15px; }
.price-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 16px; height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230056FF' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}

/* Прайс */
/* ==============================================
   ОНОВЛЕНИЙ ПРАЙС-ЛИСТ (ДИЗАЙН З ФОТО)
   ============================================== */
.price-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: left; /* Вирівнювання по лівому краю як на фото */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform var(--transition), box-shadow var(--transition);
    width: 360px;
}
.price-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.price-card.popular {
    border: 2px solid var(--purple);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    position: relative;
    transform: scale(1.02);
}
.price-card.popular:hover { 
    transform: scale(1.02) translateY(-6px); 
}
.badge {
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%);
    background: var(--purple);
    color: var(--white);
    padding: 6px 20px; 
    border-radius: 20px; 
    font-size: 13px; 
    font-weight: 700; 
    white-space: nowrap;
}
.price-card h3 { 
    font-size: 20px; 
    font-weight: 700; 
    color: var(--secondary); 
    margin-bottom: 15px;
    line-height: 1.3;
}
.price-card .price { 
    font-size: 34px; 
    font-weight: 800; 
    color: var(--secondary); 
    margin-bottom: 15px; 
}
.price-card .price span { 
    font-size: 16px; 
    font-weight: 500;
}
.badge-light {
    background: #eef2ff;
    color: #4f46e5;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}
.price-desc {
    font-size: 15px;
    color: black;
    margin-bottom: 20px;
    line-height: 1.5;
}
.price-desc-small {
    font-size: 11px;
    color: var(--text-light);
    margin-top: -10px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.price-features { 
    list-style: none; 
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1; /* Виштовхує кнопки та теги вниз */
}
.price-features li { 
    position: relative; 
    padding-left: 24px; 
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}
/* Синя галочка */
.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0; 
    top: 0;
    color: #0056FF;
    font-weight: 800;
    font-size: 14px;
}
/* Нижні теги */
.card-tags-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 25px;
}
.bottom-tag {
    display: inline-flex;
    align-items: center;
    background: #f4f5fa;
    color: #4b5563;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}
.mt-auto {
    margin-top: auto;
}

/* ==============================================
   Рукописні "стікер"-компоненти: стрілки-анотації
   та пігулки-теги. Використовуються у кількох
   блоках сайту (Прайс, Досвід, Процес, PPC, Кейси, Контакти)
   ============================================== */

/* --- Стрілка з рукописним текстом --- */
.doodle-note {
    position: absolute;
    display: flex;
    align-items: flex-start; /* Змінено з flex-end на flex-start */
    gap: 6px;
    pointer-events: none;
    z-index: 6;
}
.doodle-arrow { width: 78px; height: 64px; flex-shrink: 0; display: block; }
.doodle-text {
    font-family: 'Neucha', cursive;
    font-size: 21px;
    line-height: 1.15;
    color: #1a1a1a;
    max-width: 160px;
}
.doodle-text .fire, .doodle-text .emoji { font-size: 18px; }

/* Обгортка для карти-тарифу з рукописною анотацією */
.price-card-wrapper { position: relative; }
.price-card-wrapper .price-card { height: 100%; }
.doodle-note--price { top: -98px; right: -18px; }
.doodle-note--price .doodle-arrow { transform: rotate(-6deg); }
.doodle-note--price .doodle-text { transform: rotate(-2deg); margin-bottom: 6px; }

/* Анотація над картками "Як ми працюємо" */
.workflow-grid .workflow-card:first-child { position: relative; }
.doodle-note--workflow { top: -78px; right: -10px; }
.doodle-note--workflow .doodle-arrow { transform: rotate(10deg); }
.doodle-note--workflow .doodle-text { transform: rotate(2deg); margin-bottom: 2px; }

/* Анотація над інструментами PPC */
.ppc-grid .ppc-item:first-child { position: relative; }
.doodle-note--ppc { top: -80px; right: -6px; }
.doodle-note--ppc .doodle-arrow { transform: rotate(4deg); }
.doodle-note--ppc .doodle-text { transform: rotate(-1.5deg); margin-bottom: 4px; }

/* Анотація біля форми в блоці "Контакти" (темний фон секції) */
.contact-form { position: relative; }
.doodle-note--contact { top: -70px; right: 20px; align-items: flex-end; }
.doodle-note--contact .doodle-arrow path { stroke: #ffffff; }
.doodle-note--contact .doodle-arrow { transform: rotate(8deg); }
.doodle-note--contact .doodle-text { color: #ffffff; transform: rotate(-2deg); max-width: 150px; margin-bottom: 4px; }

/* --- Пігулки-теги --- */
.pill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.pill-tags.price-tags { margin: -10px 0 25px; }
.pill-tags.section-tags { margin: -20px 0 45px; }
.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4f5f9;
    border-radius: 30px;
    padding: 5px 16px 5px 5px;
    font-family: 'Neucha', cursive;
    font-size: 18px;
    color: #1a1a1a;
    box-shadow: 0 3px 8px rgba(20, 20, 43, 0.08);
    transform: rotate(-1.5deg);
}
.pill-tag:nth-child(2) { transform: rotate(1.5deg); }
.pill-tag:nth-child(3) { transform: rotate(-1deg); }
.pill-tag .tag-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.pill-tag--chat .tag-icon { background: #c9cffb; }
.pill-tag--knowledge .tag-icon { background: #f2cdea; }
.pill-tag--a .tag-icon { background: #c9cffb; }
.pill-tag--b .tag-icon { background: #f2cdea; }
.pill-tag--c .tag-icon { background: #bdeed1; }
.pill-tag--d .tag-icon { background: #ffe3ad; }

@media (max-width: 992px) {
.doodle-note--price { top: -86px; right: -6px; } /* Було -66px */
    .doodle-note--workflow { top: -72px; right: -4px; } /* Було -52px */
    .doodle-note--ppc { top: -72px; right: -4px; } /* Було -52px */
    .doodle-arrow { width: 62px; height: 52px; }
    .doodle-text { font-size: 18px; max-width: 130px; }
}
@media (max-width: 768px) {
    .price-card-wrapper { padding-top: 70px; }
    .doodle-note--price { top: 0; right: 10px; }
    .doodle-note--workflow, .doodle-note--ppc { display: none; }
    .doodle-note--contact { display: none; }
    .pill-tags.section-tags { margin: 0 0 40px; }
}

/* Контакти */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-details { margin-top: 30px;}
.contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 16px; color: var(--light); }
.contact-item svg { width: 20px; height: 20px; color: var(--color-blue); flex-shrink: 0; }

.contact-form { background: var(--white); padding: 40px; border-radius: var(--border-radius); }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 16px;
    transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }

/* Футер */
footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--light); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }

/* Анімації появи */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Адаптивність */
@media (max-width: 992px) {
    .hero h1 { font-size: 42px; }
    .experience-grid, .workflow-grid, .ppc-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; gap: 50px; }
    .price-card.popular { transform: none; }
    .contact-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .header-container .btn { display: none; }
    .burger { display: flex; }
    .hero-buttons { flex-direction: column; }
    .ppc-grid, .experience-grid, .workflow-grid { grid-template-columns: 1fr; }
    .cases-track { padding: 0; }
    .case-card { flex-direction: column; }
    .case-img { flex: 0 0 180px; }
    .case-content { padding: 26px 24px 24px; }
    .slider-prev { left: 4px; }
    .slider-next { right: 4px; }
    .slider-btn { width: 40px; height: 40px; }
    .slider-btn svg { width: 18px; height: 18px; }
    .footer-content { flex-direction: column; gap: 15px; text-align: center;}
}

/* ==============================================
   БЛОК "ПРО МЕНЕ"
   ============================================== */
/* ==============================================
   БЛОК "ПРО МЕНЕ" (СУЧАСНИЙ ДИЗАЙН)
   ============================================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 4fr 6fr; /* Пропорція: 40% фото, 60% текст */
    gap: 60px;
    align-items: center;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

/* --- Ліва частина (Фото) --- */
.about-image-column {
    position: relative;
}
.about-image-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
}
.about-image-inner::after { content: ""; position: absolute; inset: 0; background: rgba(139, 92, 246, 0.10); pointer-events: none; }

.about-image-inner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 5; /* Робить фото стильним вертикальним прямокутником */
    transition: transform 0.5s ease;
}
.about-image-inner:hover img {
    transform: scale(1.03);
}

/* Плашка "3+ роки досвіду" */
.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: var(--white);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
    z-index: 2;
}
.badge-number {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}
.badge-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Права частина (Текст) --- */
.about-text-column {
    padding-right: 20px;
}
.about-lead {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}
.about-desc {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Картки зі списками */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-box {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(139, 92, 246, 0.08);
}
.about-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
}
.box-emoji {
    font-size: 20px;
}
.about-list {
    list-style: none;
    padding: 0;
}
.about-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}

/* --- Адаптивність (Мобільні пристрої) --- */
@media (max-width: 992px) {
    .about-wrapper { 
        grid-template-columns: 1fr; /* Робимо в одну колонку на планшетах і телефонах */
        gap: 50px;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }
    .about-text-column {
        padding-right: 0;
    }
}
@media (max-width: 768px) {
    .about-grid { 
        grid-template-columns: 1fr; /* Картки тексту одна під одною */
    }
}

/* ==============================================
   РОЗКИДАНІ ТЕГИ В HERO (Замість іконок)
   ============================================== */
.hero-scattered-tags {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none; /* Щоб теги не заважали клікати на кнопки/текст */
}

.hero-tag {
    position: absolute;
    opacity: 0; /* Початковий стан для анімації появи */
    box-shadow: 0 15px 35px rgba(31, 41, 55, 0.12) !important;
    white-space: nowrap;
}

/* Анімація появи та "плавання" (float) зі збереженням нахилу */
@keyframes tagFadeIn {
    from { opacity: 0; transform: scale(0.8) rotate(var(--rot, 0deg)); }
    to   { opacity: 1; transform: scale(1) rotate(var(--rot, 0deg)); }
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50%      { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}

/* Позиції та затримки для кожного розкиданого тегу */
.tag-1 { 
    top: -30px; left: -120px; 
    --rot: -4deg; 
    animation: tagFadeIn 0.8s ease forwards 0.2s, tagFloat 5s ease-in-out infinite 0.2s; 
}
.tag-2 { 
    top: 25%; right: -150px; 
    --rot: 3deg; 
    animation: tagFadeIn 0.8s ease forwards 0.5s, tagFloat 5.5s ease-in-out infinite 0.5s; 
}
.tag-3 { 
    bottom: -10px; left: -100px; 
    --rot: -2deg; 
    animation: tagFadeIn 0.8s ease forwards 0.8s, tagFloat 4.8s ease-in-out infinite 0.8s; 
}
.tag-4 { 
    top: -50px; right: -60px; 
    --rot: 5deg; 
    animation: tagFadeIn 0.8s ease forwards 1.1s, tagFloat 5.2s ease-in-out infinite 1.1s; 
}
.tag-5 { 
    bottom: -30px; right: -80px; 
    --rot: -3deg; 
    animation: tagFadeIn 0.8s ease forwards 1.4s, tagFloat 4.5s ease-in-out infinite 1.4s; 
}

.tag-6 { 
    top: 45%; left: -160px; 
    --rot: 6deg; 
    animation: tagFadeIn 0.8s ease forwards 1.7s, tagFloat 5.8s ease-in-out infinite 1.7s; 
}

/* --- Адаптивність для розкиданих тегів --- */
@media (max-width: 1200px) {
    .tag-1 { left: -40px; top: -10px; }
    .tag-2 { right: -40px; top: 15%; }
    .tag-3 { left: -20px; bottom: 10px; }
    .tag-4 { right: 0; top: -40px; }
    .tag-5 { right: -20px; }
    .tag-6 { left: -50px; top: 40%; } /* Адаптація для планшетів */
}

@media (max-width: 992px) {
    .tag-1 { top: -60px; left: 10px; }
    .tag-2 { top: 20%; right: -10px; }
    .tag-3 { bottom: 70px; left: -10px; }
    .tag-4 { display: none; }
    .tag-5 { bottom: -50px; right: 20px; }
    .tag-6 { display: none; } /* Ховаємо 6-й тег на мобільних, щоб не було "каші" */
}

@media (max-width: 768px) {
    /* На мобільних екранах розкидані теги краще приховати, 
       оскільки вони будуть перекривати основний текст */
    .hero-scattered-tags { display: none; }
}

/* ==============================================
   ІНТЕРАКТИВНИЙ ГРАФІК (ДАШБОРД В КЕЙСАХ)
   ============================================== */
/* ==============================================
   ІНТЕРАКТИВНИЙ ГРАФІК (КЕЙСИ GOOGLE ADS)
   ============================================== */
.interactive-case {
    flex-direction: column !important; /* Перевизначаємо горизонтальний вид */
}
.interactive-case .case-content {
    width: 100%;
    padding: 30px 40px;
}

/* Опис робіт та періоди */
.work-done {
    background: #f8fafc;
    border-left: 4px solid var(--purple);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 25px;
    margin-top: 10px;
}
.work-done strong {
    display: block;
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 8px;
}
.work-done-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.work-done-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
}
.work-done-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--purple);
    font-weight: bold;
}

.period-title {
    font-size: 15px;
    font-weight: 700;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
}
.period-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
}
.period-title.success {
    color: #15803d;
}
.period-title.success::before {
    background: #16a34a;
}

/* Сам віджет у стилі Google */
.google-ads-widget {
    border: 1px solid #dadce0; /* СІРА РАМКА ЯК У GOOGLE */
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    font-family: 'Roboto', 'Open Sans', sans-serif;
}
.mb-0 { margin-bottom: 0 !important; }

.g-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.g-metric-card {
    padding: 16px 20px 24px 20px;
    color: #fff;
    cursor: default;
}
.g-metric-card.blue { background-color: #1a73e8; }
.g-metric-card.red { background-color: #ea4335; }
.g-metric-card.yellow { background-color: #fbbc04; color: #202124; }
.g-metric-card.green { background-color: #1e8e3e; }

.g-metric-title {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.95;
    font-weight: 400;
}
.g-metric-title .arrow {
    font-size: 10px;
}
.g-metric-value {
    font-size: 28px;
    font-weight: 400; 
    line-height: 1.1;
}

.g-chart-container {
    height: 100px;
    padding: 0;
    margin-top: 15px;
    position: relative;
    width: 100%;
}

.g-chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 15px;
    font-size: 12px;
    color: #5f6368;
    border-top: 1px solid #f1f3f4;
    margin-top: 5px;
}

/* Мобільна адаптація */
@media (max-width: 600px) {
    .interactive-case .case-content { padding: 20px 15px; }
    .g-metrics-row { grid-template-columns: repeat(2, 1fr); }
    .g-metric-value { font-size: 22px; }
}

