:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --bg: #f8fafc;
    --bg-alt: #ffffff;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text) !important;
}
.navbar-brand span { color: var(--primary); }
.nav-link {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0.75rem !important;
    border-radius: 6px;
}
.nav-link:hover { color: var(--text) !important; background: var(--bg); }
.nav-link.active { color: var(--primary) !important; background: var(--primary-light); }
.navbar-toggler { border: 1px solid var(--border) !important; }
.navbar-toggler i { color: var(--text) !important; }

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #1e2d5a 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37, 99, 235, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #bfdbfe;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff;
}
.hero h1 span { color: #93c5fd; }
.hero p.lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
}
.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
}

/* SECTION */
section { padding: 4rem 0; }
.section-bg-white { background: #ffffff; }
.section-bg-light { background: var(--bg); }
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.section-sub {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* KI CARDS */
.ki-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.ki-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
    color: inherit;
    text-decoration: none;
}
.ki-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.ki-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.ki-card .maker {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.ki-card p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 1rem;
}
.ki-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ki-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    background: #eff6ff;
    color: var(--primary);
    border: 1px solid #bfdbfe;
}
.ki-tag.green {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}
.ki-tag.orange {
    background: #fff7ed;
    color: #ea580c;
    border-color: #fed7aa;
}

/* COMPARISON TABLE */
.compare-table {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.compare-table table { margin: 0; color: var(--text); }
.compare-table thead th {
    background: #f1f5f9;
    color: var(--text);
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-color: var(--border);
    font-size: 0.875rem;
    white-space: nowrap;
}
.compare-table tbody td {
    padding: 0.9rem 1.25rem;
    border-color: var(--border);
    font-size: 0.9rem;
    vertical-align: middle;
    color: #475569;
}
.compare-table tbody tr:hover { background: #f8fafc; }
.compare-table tbody td:first-child { color: var(--text); font-weight: 500; }
.check { color: #16a34a; font-size: 1.1rem; font-weight: 700; }
.cross { color: #dc2626; font-size: 1.1rem; font-weight: 700; }
.partial { color: #d97706; font-size: 1rem; font-weight: 700; }

/* GEO SECTION */
.geo-section {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}
.geo-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}
.geo-step:last-child { margin-bottom: 0; }
.geo-step-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}
.geo-step-content h5 {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}
.geo-step-content p {
    color: #475569;
    font-size: 0.9rem;
    margin: 0;
}

/* UNSPLASH IMAGE BLOCKS */
.img-section {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.img-section img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, #1d4ed8, #2563eb, #3b82f6);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(37,99,235,0.25);
}
.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}
.cta-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.cta-banner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}
.cta-banner .d-flex { align-items: center; }
.cta-banner .btn-outline-light:hover,
.cta-banner .btn-outline-light:focus,
.cta-banner .btn-outline-light:active {
    background-color: rgba(255, 255, 255, 0.18) !important;
    border-color: #fff !important;
    color: #fff !important;
}

.btn-cta {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--primary-dark);
    text-decoration: none;
}

/* FOOTER */
footer {
    background: #1e293b;
    border-top: 1px solid #334155;
    padding: 2rem 0;
    color: #94a3b8;
    font-size: 0.875rem;
}
footer a { color: #94a3b8; text-decoration: none; }
footer a:hover { color: #fff; }
footer .footer-brand { color: #fff; font-weight: 700; }

/* DETAIL PAGE STYLES */
.detail-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.detail-card h5 { color: var(--text); font-weight: 700; margin-bottom: 1rem; }
.pro-con-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
}
.pro-con-item i { margin-top: 2px; flex-shrink: 0; }
.use-case-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    height: 100%;
}
.use-case-card h6 { color: var(--text); font-weight: 600; margin-bottom: 0.4rem; }
.use-case-card p { color: #475569; font-size: 0.875rem; margin: 0; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h6 { color: var(--text); font-weight: 600; margin-bottom: 0.5rem; }
.faq-item p { color: #475569; font-size: 0.9rem; margin: 0; }
.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37,99,235,0.15);
}
.price-card .price { font-size: 2rem; font-weight: 800; color: var(--text); }
.price-card .period { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb-item a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: #cbd5e1; }

/* SUBPAGE HERO */
.hero-sub {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e40af 100%);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-sub::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 120% at 100% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}
.hero-sub .container { position: relative; z-index: 1; }
.hero-sub .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.hero-sub .breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.hero-sub .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.hero-sub h1 { color: #fff; font-size: 2.2rem; margin-bottom: 0.25rem; }
.hero-sub .subtitle { color: rgba(255,255,255,0.75); margin: 0; }

/* GEO CHECK TOOL */
.geo-check-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    color: var(--text);
}
.geo-check-header {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    gap: 0.25rem;
}
.geo-check-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.4rem;
}
.geo-check-sub {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 1.25rem;
}
.geo-check-card .input-group {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.geo-check-card .input-group:focus-within {
    border-color: var(--primary);
}
.geo-check-card .input-group-text,
.geo-check-card .form-control {
    border: none !important;
    box-shadow: none !important;
    background: #fff;
}
.geo-check-card .form-control:focus { box-shadow: none !important; }
.geo-check-card .btn-primary { border-radius: 0 8px 8px 0; }

.geo-result-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.geo-ki-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.geo-ki-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid transparent;
}
.geo-ki-link:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); text-decoration: none; }
.geo-ki-link.perplexity { background: #1a1a2e; color: #fff; }
.geo-ki-link.chatgpt { background: #10a37f; color: #fff; }
.geo-ki-link.gemini { background: #4285f4; color: #fff; }
.geo-ki-link.claude { background: #d97706; color: #fff; }

.geo-prompt-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.875rem;
}
.geo-prompt-text {
    font-size: 0.8rem;
    color: #334155;
    font-family: 'Inter', sans-serif;
    display: block;
    word-break: break-word;
}
/* GEO SCORE */
.geo-score-block { border-top: 1px solid #e2e8f0; padding-top: 1rem; }
.geo-score-circle {
    width: 52px; height: 52px; min-width: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800; color: #fff;
    background: #94a3b8;
}
.geo-score-circle.good { background: #16a34a; }
.geo-score-circle.mid  { background: #d97706; }
.geo-score-circle.bad  { background: #dc2626; }
.geo-checks-list { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.5rem; }
.geo-check-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: #475569;
}
.geo-check-item span:first-child { font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }

.geo-idle-examples {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #94a3b8;
}
.geo-example {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s;
}
.geo-example:hover { background: #e2e8f0; color: var(--text); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero { padding: 3rem 0 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .geo-section { padding: 1.5rem; }
    .cta-banner { padding: 2rem; }
    .cta-banner h2 { font-size: 1.4rem; }
    .section-title { font-size: 1.5rem; }
    .img-section img { height: 200px; }
}
