/* ========================================
   MapRank Pro - Cartographic Modernism
   ======================================== */

:root {
    /* Core Palette - Dark Navy Base */
    --bg-primary: #0a0e14;
    --bg-secondary: #0f1419;
    --bg-tertiary: #151c25;
    --bg-card: #1a232e;
    --bg-elevated: #212c3a;

    /* Text Colors */
    --text-primary: #f0f4f8;
    --text-secondary: #8899a8;
    --text-muted: #5a6a7a;

    /* Accent Colors - Map Pin Inspired */
    --accent-orange: #FF6B35;
    --accent-orange-glow: rgba(255, 107, 53, 0.3);
    --accent-teal: #3ECFB2;
    --accent-teal-glow: rgba(62, 207, 178, 0.3);
    --accent-yellow: #F7C744;
    --accent-purple: #8B5CF6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7C744 100%);
    --gradient-teal: linear-gradient(135deg, #3ECFB2 0%, #0EA5E9 100%);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Noto Sans JP', 'DM Sans', -apple-system, sans-serif;
    --font-body: 'Noto Sans JP', 'DM Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Topographic Background */
.topo-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image:
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            transparent 10px,
            rgba(255, 107, 53, 0.1) 10px,
            rgba(255, 107, 53, 0.1) 11px
        ),
        repeating-radial-gradient(
            circle at 30% 70%,
            transparent 0,
            transparent 15px,
            rgba(62, 207, 178, 0.1) 15px,
            rgba(62, 207, 178, 0.1) 16px
        ),
        repeating-radial-gradient(
            circle at 70% 30%,
            transparent 0,
            transparent 20px,
            rgba(247, 199, 68, 0.1) 20px,
            rgba(247, 199, 68, 0.1) 21px
        );
    background-size: 100px 100px, 150px 150px, 200px 200px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-pin {
    width: 28px;
    height: 36px;
    background: var(--gradient-primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20c0-6.6-5.4-12-12-12zm0 16c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20c0-6.6-5.4-12-12-12zm0 16c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-pro {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: var(--bg-primary) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-orange-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 40px 80px;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.15s;
}

.title-line.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--accent-teal);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-orange-glow);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-primary.large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-orange);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    flex: 0 0 auto;
    width: 480px;
    max-width: 45%;
    z-index: 1;
    opacity: 0;
    animation: fadeInRight 1s ease 0.6s forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
    }
}

.dashboard-preview {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-subtle);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-elevated);
}

.preview-dots span:first-child { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FFBD2E; }
.preview-dots span:last-child { background: #28CA41; }

.preview-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.preview-content {
    display: flex;
    min-height: 320px;
}

.preview-sidebar {
    width: 60px;
    background: var(--bg-tertiary);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-right: 1px solid var(--border-subtle);
}

.sidebar-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.sidebar-item.active {
    background: var(--accent-orange);
    color: var(--bg-primary);
}

.sidebar-item:hover:not(.active) {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.preview-main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.preview-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
}

.rank-card {
    grid-row: span 2;
}

.rank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rank-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rank-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.rank-badge.up {
    background: rgba(62, 207, 178, 0.15);
    color: var(--accent-teal);
}

.rank-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.rank-position {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rank-suffix {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.rank-keyword {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: var(--bg-elevated);
    border-radius: 8px;
    font-family: var(--font-mono);
}

.chart-card {
    display: flex;
    flex-direction: column;
}

.chart-header {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.chart-visual {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.chart-line {
    width: 100%;
    height: 100%;
}

.review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.review-count {
    color: var(--accent-teal);
    font-weight: 600;
}

.review-item {
    background: var(--bg-elevated);
    border-radius: 8px;
    padding: 12px;
}

.review-stars {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.review-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Floating Elements */
.float-pin {
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.pin-1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.pin-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.float-stat {
    position: absolute;
    top: 25%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.float-stat-icon {
    font-size: 1.2rem;
}

.float-stat-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-teal);
}

/* Trusted Section */
.trusted {
    padding: 60px 40px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.trusted-container {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.trusted-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

/* Why Us Section - Differentiators */
.why-us {
    padding: var(--section-padding) 40px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    z-index: 1;
}

.why-us-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

.section-subtitle strong {
    color: var(--text-primary);
}

.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.diff-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.diff-card.highlight-card {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(247, 199, 68, 0.08) 100%);
    border-color: var(--accent-orange);
}

.diff-card.naver-card {
    background: linear-gradient(135deg, rgba(3, 199, 90, 0.1) 0%, rgba(0, 176, 80, 0.05) 100%);
    border-color: #03C75A;
}

.diff-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bg-primary);
}

.diff-badge.naver {
    background: linear-gradient(135deg, #03C75A 0%, #00B050 100%);
}

.diff-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-badge .badge-icon svg {
    width: 14px;
    height: 14px;
}

.diff-icon-large {
    margin-bottom: 24px;
}

.guide-badge-visual {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
}

.guide-badge-visual::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.guide-badge-visual .level-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-primary);
    line-height: 1;
    font-family: var(--font-mono);
}

.guide-badge-visual .level-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.diff-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.diff-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.diff-lead {
    font-size: 1rem;
    color: var(--accent-teal);
    font-weight: 500;
    margin-bottom: 12px;
}

.diff-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.diff-desc strong {
    color: var(--text-primary);
}

.diff-stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.diff-stat {
    text-align: center;
}

.diff-stat .stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.diff-stat .stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.diff-features {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diff-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.diff-features li svg {
    color: #03C75A;
    flex-shrink: 0;
}

.why-us-cta {
    text-align: center;
}

/* Local Guide Value Section */
.guide-value {
    padding: var(--section-padding) 40px;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

.guide-value-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Influence Grid */
.influence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.influence-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.influence-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-orange);
}

.influence-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-teal);
}

.influence-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.influence-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.influence-card p strong {
    color: var(--text-primary);
}

/* Case Studies */
.case-studies {
    margin-bottom: 64px;
}

.case-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.case-title svg {
    color: var(--accent-orange);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: var(--accent-teal);
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.case-industry {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: 100px;
}

.case-result {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.case-result.success {
    background: rgba(62, 207, 178, 0.15);
    color: var(--accent-teal);
}

.case-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.case-problem,
.case-solution {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.case-problem strong,
.case-solution strong {
    color: var(--accent-orange);
}

.case-solution strong {
    color: var(--accent-teal);
}

/* Guide Quote */
.guide-quote {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 199, 68, 0.05) 100%);
    border: 1px solid var(--accent-orange);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
}

.guide-quote blockquote {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.guide-quote blockquote strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-badge {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-mono);
}

.quote-author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-weight: 500;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
}

.section-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features {
    padding: var(--section-padding) 40px;
    position: relative;
}

.features-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-large {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 14px;
    margin-bottom: 24px;
    color: var(--accent-orange);
}

.feature-icon.teal {
    background: linear-gradient(135deg, rgba(62, 207, 178, 0.15), rgba(62, 207, 178, 0.05));
    border-color: rgba(62, 207, 178, 0.2);
    color: var(--accent-teal);
}

.feature-icon.orange {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    border-color: rgba(255, 107, 53, 0.2);
    color: var(--accent-orange);
}

.feature-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border-color: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
}

.feature-icon.yellow {
    background: linear-gradient(135deg, rgba(247, 199, 68, 0.15), rgba(247, 199, 68, 0.05));
    border-color: rgba(247, 199, 68, 0.2);
    color: var(--accent-yellow);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-visual {
    margin-top: auto;
    padding-top: 32px;
}

.optimization-meter {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
}

.meter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.meter-bar {
    height: 12px;
    background: var(--bg-elevated);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.meter-fill {
    height: 100%;
    width: var(--fill);
    background: var(--gradient-primary);
    border-radius: 6px;
    animation: fillMeter 1.5s ease forwards;
}

@keyframes fillMeter {
    from { width: 0; }
}

.meter-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.feature-rank-preview {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.rank-kw {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.rank-pos {
    font-size: 0.85rem;
    font-weight: 600;
}

.rank-pos.up {
    color: var(--accent-teal);
}

/* How It Works */
.how-it-works {
    padding: var(--section-padding) 40px;
    background: var(--bg-secondary);
}

.hiw-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.step-connector {
    width: 80px;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.step-connector svg {
    width: 100%;
}

.diagnosis-score {
    position: relative;
    width: 120px;
    height: 120px;
}

.score-ring {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
}

.score-value span {
    font-size: 1rem;
    color: var(--text-muted);
}

.optimize-checklist {
    text-align: left;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 16px;
}

.check-item {
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-radius: 6px;
    margin-bottom: 4px;
}

.check-item.done {
    color: var(--accent-teal);
}

.check-item.done::before {
    content: "✓ ";
}

.check-item.active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
}

.check-item.active::before {
    content: "→ ";
}

.result-metrics {
    display: flex;
    gap: 24px;
}

.metric {
    text-align: center;
}

.metric-delta {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-teal);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding) 40px;
}

.testimonials-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.testimonial-card.featured {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--bg-secondary), rgba(255, 107, 53, 0.05));
}

.testimonial-rating {
    color: var(--accent-yellow);
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bg-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-company {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-result {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    text-align: center;
}

.testimonial-result span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-teal);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 40px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 600px;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-decoration {
    position: relative;
    width: 300px;
    height: 300px;
}

.deco-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 80px;
    background: var(--gradient-primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20c0-6.6-5.4-12-12-12zm0 16c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20c0-6.6-5.4-12-12-12zm0 16c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    animation: float 3s ease-in-out infinite;
}

.deco-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: ringPulse 3s ease-in-out infinite;
}

.deco-ring.ring-2 {
    width: 220px;
    height: 220px;
    animation-delay: 0.5s;
    opacity: 0.15;
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.1; }
}

/* Footer */
.footer {
    padding: 80px 40px 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .differentiator-grid {
        grid-template-columns: 1fr;
    }

    .diff-card.highlight-card {
        grid-row: span 1;
    }

    .influence-grid {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .guide-quote {
        padding: 32px 24px;
    }

    .guide-quote blockquote {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 60px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: span 1;
    }

    .footer-main {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .cta-decoration {
        display: none;
    }
}
