/* ============================================
   EDVANCE MEDIA — Marketing Page Styles
   ============================================ */

/* --- Hero (Marketing page) --- */
.mkt-hero {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; padding-top: 72px; overflow: hidden;
    background: var(--gradient-soft);
}
.mkt-hero__canvas {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.5;
}
.mkt-hero__content {
    position: relative; z-index: 2; padding: 80px 0;
    max-width: 640px;
}
.mkt-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: var(--radius-full);
    background: rgba(79,70,229,0.08); border: 1px solid rgba(79,70,229,0.15);
    font-size: 0.85rem; font-weight: 600; color: var(--primary);
    margin-bottom: 24px;
}
.mkt-hero__badge::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--mkt-green); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.mkt-hero h1 { color: var(--text); margin-bottom: 24px; }
.mkt-hero h1 .text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mkt-hero__subtitle {
    color: var(--text-secondary); font-size: 1.2rem; line-height: 1.7;
    max-width: 540px; margin-bottom: 40px;
}
.mkt-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- What We Do --- */
.what-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.what-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
    transition: all var(--transition); position: relative; overflow: hidden;
}
.what-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient); opacity: 0; transition: opacity var(--transition);
}
.what-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.what-card:hover::before { opacity: 1; }
.what-card__icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 1.5rem;
}
.what-card__icon--seo { background: rgba(16,185,129,0.1); color: var(--mkt-green); }
.what-card__icon--aieo { background: rgba(124,58,237,0.1); color: var(--accent); }
.what-card__icon--audit { background: rgba(245,158,11,0.1); color: var(--mkt-orange); }
.what-card__icon--content { background: rgba(79,70,229,0.1); color: var(--primary); }
.what-card h3 { margin-bottom: 12px; }
.what-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.what-card__list { display: flex; flex-direction: column; gap: 8px; }
.what-card__list li {
    display: flex; align-items: baseline; gap: 10px;
    font-size: 0.9rem; color: var(--text-secondary);
}
.what-card__list li::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary-light); flex-shrink: 0; margin-top: 6px;
}

/* --- AIEO Explainer --- */
.aieo-section { background: linear-gradient(160deg, #0F172A, #1E1B4B); color: #fff; }
.aieo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.aieo-visual {
    position: relative; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 40px; min-height: 320px; display: flex; flex-direction: column; justify-content: center;
}
.aieo-visual__flow { display: flex; flex-direction: column; gap: 20px; }
.aieo-visual__step {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: var(--radius);
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition);
}
.aieo-visual__step:hover { background: rgba(79,70,229,0.15); border-color: rgba(129,140,248,0.3); }
.aieo-visual__num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gradient); color: #fff; font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.aieo-visual__text { font-size: 0.95rem; color: rgba(255,255,255,0.8); min-height: 50px; }
.aieo-content h2 { color: #fff; margin-bottom: 20px; }
.aieo-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; }
.aieo-content .highlight {
    display: inline-block; padding: 12px 20px; border-radius: var(--radius);
    background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2);
    color: var(--mkt-green-light); font-weight: 600; font-size: 0.95rem;
}

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px 32px;
    display: flex; flex-direction: column; transition: all var(--transition);
    position: relative;
}
.pricing-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card--popular {
    border-color: var(--primary); box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, rgba(79,70,229,0.03) 0%, var(--bg-card) 100%);
}
.pricing-card--popular::before {
    content: 'Популярный'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--gradient); color: #fff; font-size: 0.75rem; font-weight: 700;
    padding: 4px 20px; border-radius: 0 0 10px 10px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card__type {
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 8px;
}
.pricing-card__name { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.pricing-card__price {
    display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px;
}
.pricing-card__price-from { font-size: 0.9rem; color: var(--text-secondary); }
.pricing-card__price-value { font-size: 2.2rem; font-weight: 800; color: var(--text); }
.pricing-card__price-currency { font-size: 1rem; color: var(--text-secondary); font-weight: 600; }
.pricing-card__note { font-size: 0.85rem; color: var(--text-light); margin-bottom: 28px; }
.pricing-card__divider { width: 100%; height: 1px; background: var(--border); margin-bottom: 24px; }
.pricing-card__label { font-size: 0.8rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.pricing-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }
.pricing-card__features li {
    display: flex; align-items: baseline; gap: 10px;
    font-size: 0.9rem; color: var(--text-secondary);
}
.pricing-card__features li::before {
    content: ''; width: 18px; height: 18px; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%234F46E5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pricing-card .btn { width: 100%; }

/* --- Process --- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step {
    text-align: center; padding: 32px 20px;
    position: relative; counter-increment: step;
}
.process-step::before {
    content: counter(step); display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient); color: #fff; font-weight: 800; font-size: 1.1rem;
    margin: 0 auto 20px;
}
.process-step::after {
    content: ''; position: absolute; top: 56px; left: calc(50% + 32px); right: calc(-50% + 32px);
    height: 2px; background: var(--border);
}
.process-step:last-child::after { display: none; }
.process-step h4 { margin-bottom: 8px; font-size: 1rem; }
.process-step p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

/* --- CTA --- */
.cta-section {
    background: var(--gradient); padding: 80px 0; text-align: center; color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; }

/* --- Marketing Responsive --- */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .what-grid { grid-template-columns: 1fr; }
    .aieo-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }
}
@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; }
    .mkt-hero__content { text-align: center; }
    .mkt-hero__actions { justify-content: center; }
    .mkt-hero__subtitle { margin-left: auto; margin-right: auto; }
}
