﻿/* =========================================================
   GEO GRID RANKING SERVICE PAGE - geogrid.css
   Premium aesthetic: light mode, animated blobs, dot grid
   ========================================================= */

/* -- Shared Utility -- */
.text-gradient-gg {
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- HERO SECTION -- */
.gg-hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #eef4ff 0%, #f0fdf9 50%, #f8fafc 100%);
    padding: 50px 0 40px;
}

.gg-hero-dots {
    position: absolute;
    inset: -50%;
    background-image: radial-gradient(rgba(11, 94, 221, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
    z-index: 0;
    animation: ggDotsMove 50s linear infinite alternate;
}
@keyframes ggDotsMove {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 20px) rotate(3deg); }
}

.gg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    animation: ggBlobDrift 12s infinite alternate ease-in-out;
}
.gg-blob-1 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(11,94,221,0.13) 0%, transparent 70%);
    top: -200px; right: -180px;
}
.gg-blob-2 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(22,182,124,0.12) 0%, transparent 70%);
    bottom: -150px; left: -150px;
    animation-duration: 15s;
    animation-delay: -6s;
}
@keyframes ggBlobDrift {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-25px, 35px); }
}

.gg-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.gg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 24px;
}
.gg-breadcrumb a {
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}
.gg-breadcrumb a:hover { color: #0b5edd; }
.gg-breadcrumb a svg { width: 14px; height: 14px; }
.gg-breadcrumb .sep { color: #cbd5e1; }
.gg-breadcrumb .curr { color: #0b5edd; font-weight: 600; }

.gg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 94, 221, 0.08);
    border: 1px solid rgba(11, 94, 221, 0.2);
    color: #0b5edd;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.gg-badge-dot {
    width: 7px; height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: ggPulse 2s infinite;
}
@keyframes ggPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.4); opacity: 0.6; }
}

.gg-title {
    font-size: 3.4rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 24px;
}
.gg-desc {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 36px;
}

.gg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    color: #fff;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(11, 94, 221, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gg-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(11, 94, 221, 0.4);
    color: #fff;
}

.gg-widget {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    max-width: 460px;
    margin: 0 auto;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08), 0 0 0 1px rgba(226,232,240,0.8);
    position: relative;
    animation: ggWidgetFloat 6s ease-in-out infinite;
}
@keyframes ggWidgetFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.gg-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.gg-widget-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gg-widget-title svg { color: #0b5edd; }
.gg-widget-live {
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.gg-widget-live-dot {
    width: 6px; height: 6px;
    background: #16a34a;
    border-radius: 50%;
    animation: ggPulse 2s infinite;
}

.gg-dot-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 14px;
    background: #e2e8f0 url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=800&q=80') center/cover;
    padding: 16px;
    border-radius: 12px;
    position: relative;
    border: 1px solid #cbd5e1;
}
/* Dashed lines behind the dots */
.gg-dot-grid::before {
    content: '';
    position: absolute;
    inset: 16px;
    background-image: 
        repeating-linear-gradient(to right, transparent, transparent calc(14.28% - 1px), rgba(0,0,0,0.15) calc(14.28% - 1px), rgba(0,0,0,0.15) 14.28%),
        repeating-linear-gradient(to bottom, transparent, transparent calc(14.28% - 1px), rgba(0,0,0,0.15) calc(14.28% - 1px), rgba(0,0,0,0.15) 14.28%);
    background-size: 100% 100%;
    z-index: 0;
}
.gg-dot {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    cursor: default;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}
.gg-dot:hover { transform: scale(1.25); z-index: 2; }

.gg-dot.r1  { background: #16a34a; }
.gg-dot.r2  { background: #22c55e; }
.gg-dot.r3  { background: #4ade80; color: #166534; }
.gg-dot.r4  { background: #86efac; color: #166534; }
.gg-dot.r5  { background: #bef264; color: #365314; }
.gg-dot.r6  { background: #facc15; color: #713f12; }
.gg-dot.r7  { background: #fb923c; color: #7c2d12; }
.gg-dot.r8  { background: #f87171; color: #7f1d1d; }
.gg-dot.r9  { background: #ef4444; }
.gg-dot.star {
    background: #6366f1; /* Purple/Blue star in screenshot */
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transform: scale(1.15);
    font-size: 0.85rem;
}
.gg-dot.star::before {
    content: '★';
    color: #fff;
}

.gg-widget-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.gg-stat { text-align: center; }
.gg-stat-num {
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gg-stat-label {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gg-decor {
    position: absolute;
    z-index: 5;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
    animation: ggDecorFloat 5s ease-in-out infinite;
}
@keyframes ggDecorFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.gg-decor-1 { top: 10%; left: -20px; animation-delay: 0s; }
.gg-decor-2 { bottom: -18px; right: -15px; animation-delay: -2.5s; }
.gg-decor-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.gg-decor-icon.green { background: #10b981; }
.gg-decor-icon.blue  { background: #0b5edd; }
.gg-decor-text strong { font-size: 0.82rem; color: #1e293b; display: block; }
.gg-decor-text span   { font-size: 0.7rem; color: #64748b; }

/* -- FEATURES -- */
.gg-features-section {
    padding: 100px 0;
    background: #f8fafc;
}
.gg-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.gg-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.gg-feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: -150%; width: 150%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11,94,221,0.08), rgba(22,182,124,0.08), transparent);
    z-index: -1;
    transform: skewX(-20deg);
}
.gg-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 94, 221, 0.12);
    border-color: rgba(11, 94, 221, 0.4);
}
.gg-feature-card:hover::before {
    animation: ggColorWave 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes ggColorWave {
    0% { left: -150%; }
    100% { left: 150%; }
}
.gg-fc-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(11,94,221,0.1), rgba(22,182,124,0.1));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    color: #0b5edd;
}
.gg-fc-icon svg { width: 28px; height: 28px; }
.gg-fc-title { font-size: 1.2rem; font-weight: 800; color: #1e293b; margin-bottom: 10px; }
.gg-fc-desc  { font-size: 0.95rem; color: #64748b; line-height: 1.65; }

/* -- PROCESS -- */
.gg-process-section {
    padding: 100px 0;
    background: #ffffff;
}
.gg-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
}
.gg-process-line {
    position: absolute;
    top: 32px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, #0b5edd, #16b67c);
    z-index: 0;
}
.gg-step { text-align: center; position: relative; z-index: 1; }
.gg-step-num {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 900; color: #ffffff;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(11, 94, 221, 0.3);
}
.gg-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 20px;
}
.gg-step-title { font-size: 1.05rem; font-weight: 800; color: #1e293b; margin-bottom: 10px; }
.gg-step-desc  { font-size: 0.88rem; color: #64748b; line-height: 1.6; }

/* -- WHY GEO GRID -- */
.gg-why-section {
    padding: 100px 0;
    background: linear-gradient(160deg, #eef4ff 0%, #f0fdf9 100%);
    position: relative;
    overflow: hidden;
}
.gg-why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.gg-why-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 20px;
    margin-top: 32px;
}
.gg-why-item { display: flex; gap: 16px; align-items: flex-start; }
.gg-why-check {
    width: 26px; height: 26px; min-width: 26px;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-top: 2px;
}
.gg-why-check svg { width: 14px; height: 14px; }
.gg-why-text strong { color: #1e293b; font-size: 0.98rem; display: block; margin-bottom: 4px; }
.gg-why-text span   { color: #64748b; font-size: 0.88rem; line-height: 1.5; }

.gg-rankings-visual {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}
.gg-rankings-title {
    font-size: 0.82rem; font-weight: 800;
    color: #64748b; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 20px;
}
.gg-rank-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gg-rank-label { font-size: 0.85rem; font-weight: 600; color: #475569; min-width: 130px; }
.gg-rank-bar-track { flex: 1; background: #f1f5f9; border-radius: 50px; height: 10px; overflow: hidden; }
.gg-rank-bar {
    height: 100%; border-radius: 50px;
    background: linear-gradient(90deg, #0b5edd, #16b67c);
    width: 0;
    transition: width 1.5s ease;
}
.gg-rank-value { font-size: 0.82rem; font-weight: 800; color: #0b5edd; min-width: 30px; text-align: right; }

/* -- FAQ -- */
.gg-faq-section { padding: 100px 0; background: #f8fafc; }
.gg-faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
    margin-top: 0;
}
.gg-faq-left { position: sticky; top: 100px; }
.gg-faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.gg-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.gg-faq-item.active {
    border-color: rgba(11,94,221,0.4);
    box-shadow: 0 8px 24px rgba(11,94,221,0.08);
}
.gg-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    gap: 16px;
}
.gg-faq-question h4 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0; }
.gg-faq-icon {
    width: 28px; height: 28px; min-width: 28px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #0b5edd;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}
.gg-faq-item.active .gg-faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    color: #ffffff;
}
.gg-faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}
.gg-faq-item.active .gg-faq-answer { max-height: 300px; padding-bottom: 20px; }
.gg-faq-answer p { font-size: 0.95rem; color: #64748b; line-height: 1.7; margin: 0; }

/* -- CTA -- */
.gg-cta-section { padding: 60px 0 80px; background: #f8fafc; }
.gg-cta-banner {
    background: linear-gradient(135deg, #0b5edd 0%, #0d8a65 100%);
    border-radius: 28px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gg-cta-blob {
    position: absolute; border-radius: 50%;
    filter: blur(60px); z-index: 0;
}
.gg-cta-blob-1 {
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.07);
    top: -150px; left: -100px;
    animation: ggBlobDrift 10s infinite alternate ease-in-out;
}
.gg-cta-blob-2 {
    width: 350px; height: 350px;
    background: rgba(255,255,255,0.07);
    bottom: -120px; right: -80px;
    animation: ggBlobDrift 14s infinite alternate-reverse ease-in-out;
}
.gg-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.gg-cta-inner h2 { font-size: 2.6rem; font-weight: 900; color: #ffffff; margin-bottom: 16px; }
.gg-cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 36px; }
.gg-cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.gg-btn-light {
    background: #ffffff; color: #0b5edd; font-weight: 700;
    padding: 15px 32px; border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.gg-btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(0,0,0,0.18); color: #0b5edd; }
.gg-btn-outline {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.5); font-weight: 700;
    padding: 14px 32px; border-radius: 50px; text-decoration: none;
    transition: all 0.3s;
}
.gg-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* -- Shared Section Styles -- */
/* Shared Section Styles */
.text-center {
    text-align: center;
}
.gg-section-badge {
    display: inline-block;
    background: rgba(11,94,221,0.08);
    color: #0b5edd;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.75rem; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 16px;
}
.gg-section-title {
    font-size: 2.5rem; font-weight: 900;
    color: #0f172a; line-height: 1.25; margin-bottom: 16px;
    text-align: center;
}
.gg-section-title span {
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gg-section-desc {
    font-size: 1.05rem; color: #64748b;
    line-height: 1.65; max-width: 620px; margin: 0 auto;
    text-align: center;
}

/* Override for left-aligned sections (Why and FAQ left column) */
.gg-why-content .gg-section-title,
.gg-faq-left .gg-section-title {
    text-align: left;
}
.gg-why-content .gg-section-desc,
.gg-faq-left .gg-section-desc {
    text-align: left;
    margin: 0;
}

/* -- RESPONSIVE -- */
@media (max-width: 991px) {
    .gg-hero-layout   { grid-template-columns: 1fr; gap: 48px; }
    .gg-title         { font-size: 2.6rem; }
    .gg-features-grid { grid-template-columns: 1fr 1fr; }
    .gg-process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
    .gg-process-line  { display: none; }
    .gg-why-layout    { grid-template-columns: 1fr; gap: 48px; }
    .gg-faq-layout    { grid-template-columns: 1fr; gap: 40px; }
    .gg-faq-left      { position: static; }
    .gg-decor         { display: none; }
}
@media (max-width: 575px) {
    .gg-hero          { padding: 85px 0 50px; }
    .gg-title         { font-size: 2rem; }
    .gg-features-grid { grid-template-columns: 1fr; }
    .gg-process-steps { grid-template-columns: 1fr; }
    .gg-cta-banner    { padding: 48px 24px; }
    .gg-cta-inner h2  { font-size: 1.8rem; }
    .gg-section-title { font-size: 2rem; }
}


