/* ============================================
   SEO HİZMETİ - ÖZEL SAYFA STİLLERİ
   Tema: Google yeşili + Elektrik mor + Analitik
   Konsept: SERP, sıralama, büyüme grafiği
   ============================================ */

:root {
    --seo-green: #16A34A;
    --seo-green-dark: #15803D;
    --seo-green-light: #22C55E;
    --seo-purple: #9333EA;
    --seo-purple-dark: #7E22CE;
    --seo-yellow: #FBBC05;
    --seo-blue: #4285F4;
    --seo-red: #EA4335;
}

.seo-grad {
    background: linear-gradient(135deg, #16A34A 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================================
   HERO
   ============================================ */
.seo-hero {
    position: relative;
    padding: 40px 24px 100px;
    overflow: visible; /* hidden → visible */
    max-width: var(--container);
    margin: 0 auto;
}

.seo-hero-bg {
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    z-index: 0;
    pointer-events: none;
    overflow: visible; /* hidden → visible */
}

.seo-mesh {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(ellipse 50% 40% at 15% 30%, rgba(22, 163, 74, 0.18) 0%, transparent 70%),
            radial-gradient(ellipse 45% 40% at 85% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 70%),
            radial-gradient(ellipse 30% 25% at 50% 50%, rgba(251, 188, 5, 0.06) 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 95%);
    filter: blur(20px);
}

.seo-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.seo-hero-text {
    max-width: 560px;
}

.seo-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--seo-green-dark);
    margin-bottom: 24px;
}

.seo-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.seo-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 500px;
}

.seo-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.seo-promise {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sp-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-soft);
    font-weight: 600;
}

/* ============================================
   SERP MOCKUP + RANK CHART
   ============================================ */
.seo-hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    perspective: 1500px;
}

.serp-mock {
    background: white;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08),
    0 24px 48px rgba(15, 23, 42, 0.12);
    transform: rotateY(-3deg) rotateX(2deg);
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease);
}

.serp-mock:hover {
    transform: rotateY(-1deg) rotateX(1deg) translateY(-4px);
}

.serp-browser {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #F1F3F4;
    border-bottom: 1px solid #E8EAED;
}

.sb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sb-dot.r {
    background: #FF5F57;
}

.sb-dot.y {
    background: #FEBC2E;
}

.sb-dot.g {
    background: #28C840;
}

.sb-url {
    flex: 1;
    margin-left: 12px;
    padding: 5px 12px;
    background: white;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    color: #5F6368;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.serp-body {
    padding: 20px;
}

.serp-search {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F3F4;
}

.ss-google {
    font-size: 1.4rem;
    font-weight: 500;
    font-family: 'Product Sans', Arial, sans-serif;
    letter-spacing: -0.01em;
}

.ss-input {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: white;
    border: 1px solid #DFE1E5;
    border-radius: 24px;
    font-size: 0.88rem;
    color: #202124;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ss-icon {
    color: #4285F4;
    font-size: 0.9rem;
}

.serp-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.serp-result {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 12px;
    border-radius: var(--r-sm);
    transition: all 0.3s ease;
}

.serp-result.top {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(251, 188, 5, 0.05));
    border: 1px solid rgba(22, 163, 74, 0.2);
    position: relative;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
    animation: topPulse 3s ease-in-out infinite;
}

@keyframes topPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
    }
    50% {
        box-shadow: 0 8px 24px rgba(22, 163, 74, 0.2);
    }
}

.sr-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sr-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #16A34A, #22C55E);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.35);
    animation: rankBounce 2s ease-in-out infinite;
}

@keyframes rankBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.sr-rank-you {
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--seo-green-dark);
    letter-spacing: 0.1em;
    padding: 2px 6px;
    background: rgba(22, 163, 74, 0.15);
    border-radius: var(--r-full);
}

.sr-rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-soft);
    color: var(--text-muted);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.82rem;
}

.sr-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sr-url {
    font-size: 0.72rem;
    color: #5F6368;
    font-family: var(--font-mono);
}

.sr-title {
    font-size: 1rem;
    color: #1A0DAB;
    font-weight: 500;
    line-height: 1.3;
}

.sr-desc {
    font-size: 0.78rem;
    color: #4D5156;
    line-height: 1.45;
}

.sr-fade {
    opacity: 0.55;
}

/* Rank Chart */
.rank-chart {
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.06),
    0 12px 24px rgba(22, 163, 74, 0.08);
    transform: rotateY(-2deg) rotateX(1deg);
    transform-style: preserve-3d;
}

.rc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rc-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.rc-keyword {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.rc-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: rgba(22, 163, 74, 0.12);
    color: var(--seo-green-dark);
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 800;
}

.rc-graph {
    width: 100%;
    height: 80px;
    display: block;
    margin-bottom: 8px;
}

.rc-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawRankLine 2.5s ease forwards 0.8s;
    filter: drop-shadow(0 2px 4px rgba(22, 163, 74, 0.3));
}

@keyframes drawRankLine {
    to {
        stroke-dashoffset: 0;
    }
}

.rc-area {
    opacity: 0;
    animation: areaAppear 1s ease forwards 2s;
}

@keyframes areaAppear {
    to {
        opacity: 1;
    }
}

.rc-dot {
    opacity: 0;
    animation: dotAppear 0.4s ease-out forwards 3.2s, dotPulse 2s ease-in-out 3.6s infinite;
}

@keyframes dotAppear {
    from {
        opacity: 0;
        transform: scale(0);
        transform-origin: 280px 5px;
    }
    to {
        opacity: 1;
        transform: scale(1);
        transform-origin: 280px 5px;
    }
}

@keyframes dotPulse {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(22, 163, 74, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(22, 163, 74, 0.8));
    }
}

.rc-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   STATS BAND
   ============================================ */
.seo-stats-band {
    padding: 0 24px;
    max-width: var(--container);
    margin: 0 auto 60px;
}

.ssb-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 40px 24px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15),
    0 32px 64px rgba(15, 23, 42, 0.15);
}

.ssb-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(at 20% 30%, rgba(22, 163, 74, 0.15) 0%, transparent 50%),
    radial-gradient(at 80% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.ssb-item {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 16px;
}

.ssb-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ssb-val {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #22C55E, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.ssb-lbl {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1.4;
}

/* ============================================
   POSITION MAP (Tıklanma Oranları)
   ============================================ */
.seo-position {
    padding: var(--section-py) 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.position-map {
    max-width: 860px;
    margin: 0 auto;
}

.pm-serp {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}

.pm-rank {
    display: grid;
    grid-template-columns: 180px 1fr 120px;
    gap: 20px;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg);
    border-radius: var(--r-sm);
    transition: all 0.3s var(--ease);
}

.pm-rank:hover {
    transform: translateX(4px);
}

.pm-rank.first {
    background: linear-gradient(135deg, #DCFCE7, #FEF3C7);
    border: 1px solid rgba(22, 163, 74, 0.3);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
}

.pm-rank.ghost {
    opacity: 0.5;
    background: var(--bg-soft);
}

.pm-rank-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pm-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.02em;
}

.pm-rank.first .pm-num {
    color: var(--seo-green-dark);
    font-size: 1rem;
}

.pm-ctr {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pm-bar {
    height: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    overflow: hidden;
    position: relative;
}

.pm-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #16A34A, #22C55E);
    border-radius: var(--r-full);
    animation: pmFillGrow 1.5s var(--ease) forwards;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.4);
}

.pm-rank:nth-child(2) .pm-bar-fill {
    background: linear-gradient(90deg, #16A34A, #84CC16);
    animation-delay: 0.2s;
}

.pm-rank:nth-child(3) .pm-bar-fill {
    background: linear-gradient(90deg, #84CC16, #EAB308);
    animation-delay: 0.4s;
}

.pm-rank:nth-child(4) .pm-bar-fill {
    background: linear-gradient(90deg, #F59E0B, #F97316);
    animation-delay: 0.6s;
}

.pm-rank:nth-child(5) .pm-bar-fill {
    background: linear-gradient(90deg, #F97316, #DC2626);
    animation-delay: 0.8s;
}

.pm-rank:nth-child(6) .pm-bar-fill {
    background: linear-gradient(90deg, #991B1B, #7F1D1D);
    animation-delay: 1s;
}

@keyframes pmFillGrow {
    to {
        width: var(--fill);
    }
}

.pm-verdict {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: right;
}

.pm-verdict.great {
    color: var(--seo-green-dark);
}

.pm-verdict.good {
    color: #65A30D;
}

.pm-verdict.mid {
    color: #CA8A04;
}

.pm-verdict.weak {
    color: #DC2626;
}

.pm-verdict.dead {
    color: #7F1D1D;
}

.position-note {
    margin-top: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FEF3C7, #FEE2E2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--r);
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: center;
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.pn-icon {
    font-size: 1.5rem;
}

/* ============================================
   PILLARS (4 Sütun)
   ============================================ */
.seo-pillars {
    padding: var(--section-py) 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pillar {
    position: relative;
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-align: center;
    transition: all 0.4s var(--ease);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.08),
    0 24px 48px rgba(147, 51, 234, 0.1);
}

.pillar.p-1:hover {
    border-color: rgba(22, 163, 74, 0.3);
}

.pillar.p-2:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.pillar.p-3:hover {
    border-color: rgba(217, 70, 239, 0.3);
}

.pillar.p-4:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.pl-visual {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-radar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: radarRotate 20s linear infinite;
}

.pillar.p-2 .pl-radar {
    animation-duration: 24s;
    animation-direction: reverse;
}

.pillar.p-3 .pl-radar {
    animation-duration: 28s;
}

.pillar.p-4 .pl-radar {
    animation-duration: 32s;
    animation-direction: reverse;
}

@keyframes radarRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.pl-icon {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.4s var(--ease-back);
}

.pillar.p-1 .pl-icon {
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
}

.pillar.p-2 .pl-icon {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

.pillar.p-3 .pl-icon {
    background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
}

.pillar.p-4 .pl-icon {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

.pillar:hover .pl-icon {
    transform: scale(1.1) rotate(-8deg);
}

.pl-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.pillar.p-1 .pl-label {
    color: var(--seo-green-dark);
}

.pillar.p-2 .pl-label {
    color: #1E40AF;
}

.pillar.p-3 .pl-label {
    color: var(--seo-purple-dark);
}

.pillar.p-4 .pl-label {
    color: #B45309;
}

.pillar h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.pillar p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.pl-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.pl-items span {
    padding: 4px 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-soft);
}

/* ============================================
   AYLIK TAKVİM
   ============================================ */
.seo-calendar {
    padding: var(--section-py) 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.calendar-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cal-month {
    position: relative;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow);
    transition: all 0.4s var(--ease);
}

.cal-month:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 163, 74, 0.3);
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.08),
    0 24px 48px rgba(147, 51, 234, 0.08);
}

.cal-month::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16A34A, #9333EA);
    border-radius: var(--r-md) var(--r-md) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.cal-month:hover::before {
    transform: scaleX(1);
}

.cm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.cm-num {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 800;
    background: linear-gradient(135deg, #16A34A, #9333EA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
}

.cm-label {
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(147, 51, 234, 0.12));
    color: var(--seo-green-dark);
    border-radius: var(--r-full);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.cal-month h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cm-tasks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.cm-tasks li {
    font-size: 0.85rem;
    color: var(--text-soft);
    font-weight: 500;
    line-height: 1.5;
}

.cm-outcome {
    padding: 12px 14px;
    background: linear-gradient(135deg, #DCFCE7, #F3E8FF);
    border-radius: var(--r-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cm-outcome-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--seo-green-dark);
    letter-spacing: 0.12em;
}

.cm-outcome span:last-child {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
}

/* ============================================
   RAKİP ANALİZİ
   ============================================ */
.seo-rival {
    padding: var(--section-py) 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.rival-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.rival-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease);
}

.rival-card:hover {
    transform: translateY(-4px);
}

.rival-card.us {
    background: linear-gradient(135deg, #FFFFFF, #FEF2F2);
    border-color: rgba(220, 38, 38, 0.2);
}

.rival-card.rival {
    background: linear-gradient(135deg, #FFFFFF, #DCFCE7);
    border-color: rgba(22, 163, 74, 0.3);
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.08),
    0 16px 32px rgba(22, 163, 74, 0.1);
}

.rc-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(220, 38, 38, 0.12);
    color: #991B1B;
    border-radius: var(--r-full);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.rival-badge {
    background: rgba(22, 163, 74, 0.15) !important;
    color: var(--seo-green-dark) !important;
}

.rc-score-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}

.rc-ring {
    width: 100%;
    height: 100%;
}

.rc-ring circle:last-child {
    stroke-dasharray: 314;
    animation: ringFill 1.5s var(--ease) forwards;
}

.rc-score-val {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rival-card.us .rc-score-val {
    color: #DC2626;
}

.rival-card.rival .rc-score-val {
    color: var(--seo-green-dark);
}

.rc-score-lbl {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rc-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rcm {
    padding: 12px;
    background: var(--bg-soft);
    border-radius: var(--r-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.rcm-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.rcm-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.rival-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #16A34A, #9333EA);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3),
    0 12px 32px rgba(147, 51, 234, 0.2);
    animation: vsRotate 6s linear infinite;
}

@keyframes vsRotate {
    to {
        transform: rotate(360deg);
    }
}

.rival-insight {
    margin-top: 32px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #DCFCE7, #F3E8FF);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: var(--r-lg);
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 20px;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ri-icon {
    font-size: 2rem;
}

.ri-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ri-text strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.ri-text span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.ri-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #16A34A, #9333EA);
    color: white;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.ri-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.seo-roi {
    padding: var(--section-py) 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.roi-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--r-xl);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15),
    0 32px 64px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    position: relative;
}

.roi-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(at 15% 20%, rgba(22, 163, 74, 0.2) 0%, transparent 50%),
    radial-gradient(at 85% 80%, rgba(147, 51, 234, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.roi-inputs {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.roi-input-group label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.roi-lbl {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
}

.roi-val {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22C55E, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.roi-input-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.roi-input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #22C55E, #9333EA);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4),
    0 0 0 4px rgba(34, 197, 94, 0.2);
    transition: transform 0.2s;
}

.roi-input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.roi-input-group input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #22C55E, #9333EA);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4),
    0 0 0 4px rgba(34, 197, 94, 0.2);
}

.roi-range {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-mono);
    font-weight: 500;
}

.roi-output {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.roi-card {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r);
    backdrop-filter: blur(10px);
}

.roi-card.featured {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(147, 51, 234, 0.15));
    border-color: rgba(22, 163, 74, 0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.15),
    0 16px 48px rgba(147, 51, 234, 0.15);
}

.roi-card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.roi-card-val {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #22C55E, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.roi-card.featured .roi-card-val {
    font-size: 2.5rem;
}

.roi-card-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.roi-note {
    margin-top: 20px;
    padding: 16px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.6;
    text-align: center;
}

.roi-note span {
    font-size: 1.2rem;
    margin-right: 6px;
}

/* ============================================
   PACKAGES
   ============================================ */
.seo-packages {
    padding: var(--section-py) 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.sp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.sp-card {
    position: relative;
    padding: 36px 28px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow);
}

.sp-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 163, 74, 0.3);
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.08),
    0 24px 48px rgba(147, 51, 234, 0.1);
}

.sp-card.featured {
    background: linear-gradient(135deg, #FFFFFF, #F0FDF4);
    border: 2px solid transparent;
    background-clip: padding-box;
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.1),
    0 24px 48px rgba(147, 51, 234, 0.15);
}

.sp-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    padding: 2px;
    background: linear-gradient(135deg, #16A34A, #9333EA);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sp-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.sp-flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, #16A34A, #9333EA);
    color: white;
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.sp-head {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.sp-tier {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-soft);
    color: var(--seo-green-dark);
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.sp-card.featured .sp-tier {
    background: linear-gradient(135deg, #16A34A, #9333EA);
    color: white;
}

.sp-head h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.sp-head p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.sp-list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.sp-list li {
    font-size: 0.9rem;
    color: var(--text-soft);
    font-weight: 500;
    line-height: 1.5;
}

.sp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    color: var(--text);
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.3s var(--ease);
}

.sp-cta:hover {
    background: var(--text);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.sp-card.featured .sp-cta {
    background: linear-gradient(135deg, #16A34A, #9333EA);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.sp-card.featured .sp-cta:hover {
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}

/* ============================================
   SSS
   ============================================ */
.seo-faq {
    padding: var(--section-py) 24px;
    max-width: 860px;
    margin: 0 auto;
}

.seo-faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seo-faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.seo-faq-item[open] {
    border-color: var(--seo-green);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.1);
}

.seo-faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.sfi-q-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.sfi-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(147, 51, 234, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.seo-faq-item[open] .sfi-icon {
    background: linear-gradient(135deg, #16A34A, #9333EA);
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.25);
}

.sfi-q {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.sfi-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--seo-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.seo-faq-item[open] .sfi-toggle {
    background: linear-gradient(135deg, #16A34A, #9333EA);
    color: white;
    transform: rotate(180deg);
}

.sfi-body {
    padding: 0 24px 22px 76px;
}

.sfi-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .seo-hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .seo-hero-text {
        max-width: 700px;
        margin: 0 auto;
    }

    .seo-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .seo-hero-cta,
    .seo-promise {
        justify-content: center;
    }

    .ssb-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ssb-item:not(:last-child) {
        border-right: none;
    }

    .ssb-item:nth-child(1),
    .ssb-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 24px;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .rival-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rival-vs {
        margin: 0 auto;
    }

    .rival-insight {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .roi-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sp-grid {
        grid-template-columns: 1fr;
    }

    .sp-card.featured {
        transform: none;
    }

    .sp-card.featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 768px) {
    .seo-hero {
        padding: 30px 16px 60px;
    }

    .seo-hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .seo-hero-cta > * {
        width: 100%;
        justify-content: center;
    }

    .seo-promise {
        gap: 12px;
    }

    .serp-mock,
    .rank-chart {
        transform: none;
    }

    .serp-mock:hover {
        transform: translateY(-4px);
    }

    .serp-body {
        padding: 14px;
    }

    .serp-result {
        grid-template-columns: 50px 1fr;
        padding: 10px;
    }

    .sr-rank-badge {
        width: 38px;
        height: 38px;
        font-size: 0.82rem;
    }

    .ssb-inner {
        grid-template-columns: 1fr 1fr;
        padding: 28px 16px;
    }

    .ssb-item {
        padding: 0 8px;
    }

    .pm-rank {
        grid-template-columns: 100px 1fr;
        gap: 12px;
    }

    .pm-verdict {
        grid-column: 1 / -1;
        text-align: left;
        padding-top: 4px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .calendar-wrap {
        grid-template-columns: 1fr;
    }

    .roi-wrap {
        padding: 28px 20px;
    }

    .roi-card-val {
        font-size: 1.6rem;
    }

    .roi-card.featured .roi-card-val {
        font-size: 2rem;
    }

    .seo-faq-item summary {
        padding: 16px 18px;
    }

    .sfi-q-wrap {
        gap: 10px;
    }

    .sfi-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .sfi-q {
        font-size: 0.9rem;
    }

    .sfi-body {
        padding: 0 18px 18px 60px;
    }

    .sfi-body p {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .pm-serp {
        padding: 20px;
    }

    .pm-rank {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }

    .pm-rank-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}