:root {
    --bg-dark: #070b14;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.65);
    
    --border-color: rgba(255, 255, 255, 0.09);
    --border-glow: rgba(6, 182, 212, 0.3);
    
    --color-primary: #06b6d4;
    --color-primary-glow: rgba(6, 182, 212, 0.5);
    --color-emerald: #10b981;
    --color-emerald-glow: rgba(16, 185, 129, 0.4);
    --color-coral: #ef4444;
    --color-coral-glow: rgba(239, 68, 68, 0.4);
    --color-amber: #f59e0b;
    --color-purple: #a855f7;
    --color-orange: #f97316;
    
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --text-muted: #64748b;
    
    --font-main: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 35px -5px var(--color-primary-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Background Glows */
.glow-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.28;
}

.glow-1 {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #06b6d4, #3b82f6);
}

.glow-2 {
    top: 40%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #8b5cf6, #ec4899);
}

.glow-3 {
    bottom: -10%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #10b981, #06b6d4);
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.text-cyan { color: var(--color-primary); }
.text-white { color: #ffffff; }

.badge-ai {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: var(--radius-full);
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* Language Toggle Button */
.btn-lang {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-lang:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Buttons */
.btn-highlight-cyan {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border: 1px solid rgba(6, 182, 212, 0.5);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transition: all 0.2s ease;
}

.btn-highlight-cyan:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
    transform: translateY(-1px);
}

.btn-highlight-cta {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: 1px solid rgba(249, 115, 22, 0.5);
    color: #ffffff;
    padding: 7px 13px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-highlight-cta:hover {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 7px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary-outline {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 7px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-primary-outline:hover {
    background: var(--color-primary);
    color: #070b14;
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
    transform: translateY(-1px);
}

.full-w {
    width: 100%;
}

/* Main Container */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2.5rem 0 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #22d3ee, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-sub);
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

/* Search Card */
.search-card-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 0.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.15);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.7), 0 0 30px var(--color-primary-glow);
}

.input-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.8rem;
    position: relative;
}

.input-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

#targetUrlInput {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-family: var(--font-main);
}

#targetUrlInput::placeholder {
    color: var(--text-muted);
}

.btn-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.btn-clear:hover {
    color: #ffffff;
}

.btn-scan {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-scan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.quick-samples {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
    font-size: 0.85rem;
}

.sample-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sample-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sample-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 4px 11px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sample-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ==========================================================================
   🛡️ Global Security Standards & Credibility Section
   ========================================================================== */
.trust-standards-section {
    margin: 3.5rem auto 1.5rem auto;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(10, 16, 30, 0.9));
    border: 1px solid rgba(6, 182, 212, 0.22);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.trust-header-area {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.2rem auto;
}

.trust-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 0.8rem;
}

.trust-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.trust-subtitle {
    font-size: 0.92rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.standards-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.std-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.2s ease;
}

.std-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

.std-card-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.std-card-icon-box.cyan { background: rgba(6, 182, 212, 0.15); color: var(--color-primary); }
.std-card-icon-box.emerald { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }
.std-card-icon-box.purple { background: rgba(168, 85, 247, 0.15); color: var(--color-purple); }
.std-card-icon-box.amber { background: rgba(245, 158, 11, 0.15); color: var(--color-amber); }

.std-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.std-org {
    font-size: 0.72rem;
    color: var(--color-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.std-desc {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.5;
}

/* 3-Layer Zero Downtime Safety Guarantee Box */
.safety-guarantee-box {
    background: rgba(6, 182, 212, 0.07);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.8rem;
}

.safety-box-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.safety-head-icon {
    width: 22px;
    height: 22px;
    color: var(--color-emerald);
}

.safety-box-head h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}

.safety-tri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.safety-tri-item {
    display: flex;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.tri-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-primary);
    font-family: var(--font-mono);
    line-height: 1;
}

.tri-body strong {
    font-size: 0.88rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.3rem;
}

.tri-body p {
    font-size: 0.8rem;
    color: var(--text-sub);
    line-height: 1.45;
}

/* Scanning Progress Animation */
.scanning-section {
    margin: 2rem auto;
    max-width: 820px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

.radar-spinner {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.3);
    margin: 0 auto 1.5rem auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(6, 182, 212, 0.7) 360deg);
    border-radius: 50%;
    animation: radarSpin 1.8s linear infinite;
}

@keyframes radarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-center-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    position: relative;
    z-index: 2;
}

.scan-status-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.scan-status-sub {
    color: var(--text-sub);
    font-size: 0.92rem;
    margin-bottom: 2.2rem;
}

.scan-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    text-align: left;
}

.scan-step-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.scan-step-item.active {
    border-color: var(--color-primary);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.scan-step-item.completed {
    border-color: var(--color-emerald);
    background: rgba(16, 185, 129, 0.08);
}

.scan-step-item.completed .step-icon {
    color: var(--color-emerald);
}

.step-icon {
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.step-state {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Dashboard Hero Card */
.dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.dashboard-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-emerald));
}

.hero-left-meta {
    flex: 1;
}

.target-badge-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

.badge-scheme {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    background: rgba(6, 182, 212, 0.2);
    color: var(--color-primary);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: var(--radius-full);
}

.badge-scheme.http {
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-coral);
    border-color: rgba(239, 68, 68, 0.4);
}

.target-domain {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: #ffffff;
}

.target-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.meta-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: var(--radius-md);
    font-size: 0.83rem;
    display: flex;
    gap: 0.4rem;
}

.chip-k { color: var(--text-muted); }
.chip-v { color: var(--text-main); font-weight: 600; font-family: var(--font-mono); }
.text-emerald { color: var(--color-emerald); }
.text-coral { color: var(--color-coral); }

/* Score Circular Gauge */
.hero-right-gauge {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.gauge-container {
    position: relative;
    width: 140px;
    height: 140px;
}

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

.score-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 12;
}

.score-ring-bar {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1.5s ease-out, stroke 0.5s ease;
}

.score-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-mono);
    color: #ffffff;
}

.score-max {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.grade-badge-wrap {
    text-align: left;
}

.grade-badge {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    padding: 4px 18px;
    border-radius: var(--radius-md);
    letter-spacing: -1px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    margin-bottom: 0.4rem;
}

.grade-a { background: rgba(16, 185, 129, 0.2); color: var(--color-emerald); border: 2px solid var(--color-emerald); box-shadow: 0 0 20px var(--color-emerald-glow); }
.grade-b { background: rgba(6, 182, 212, 0.2); color: var(--color-primary); border: 2px solid var(--color-primary); box-shadow: 0 0 20px var(--color-primary-glow); }
.grade-c { background: rgba(245, 158, 11, 0.2); color: var(--color-amber); border: 2px solid var(--color-amber); box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }
.grade-d { background: rgba(239, 68, 68, 0.2); color: var(--color-coral); border: 2px solid var(--color-coral); box-shadow: 0 0 20px var(--color-coral-glow); }
.grade-f { background: rgba(239, 68, 68, 0.3); color: #ff3344; border: 2px solid #ff3344; box-shadow: 0 0 30px rgba(255, 51, 68, 0.6); }

.score-tone {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-weight: 500;
}

/* 4 Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.4rem;
    backdrop-filter: blur(16px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.pillar-icon-box {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon-box.cyan { background: rgba(6, 182, 212, 0.15); color: var(--color-primary); }
.pillar-icon-box.emerald { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }
.pillar-icon-box.purple { background: rgba(168, 85, 247, 0.15); color: var(--color-purple); }
.pillar-icon-box.amber { background: rgba(245, 158, 11, 0.15); color: var(--color-amber); }

.pillar-title-group {
    display: flex;
    flex-direction: column;
}

.pillar-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-sub);
}

.pillar-score {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-mono);
}

.pillar-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.pillar-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #10b981);
    border-radius: var(--radius-full);
    transition: width 1.2s ease-out;
}

.pillar-subtext {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Option 1 Monetization Hero Banner */
.cta-instant-patch-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(6, 182, 212, 0.45);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 10px 35px rgba(6, 182, 212, 0.2);
}

.cta-instant-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(6, 182, 212, 0.2);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.cta-instant-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.cta-instant-desc {
    font-size: 0.88rem;
    color: #cbd5e1;
    max-width: 650px;
}

.cta-instant-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
    white-space: nowrap;
}

.instant-price-tag {
    text-align: right;
}

.price-original {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.price-current {
    font-size: 1.8rem;
    font-weight: 900;
    color: #38bdf8;
    font-family: var(--font-mono);
}

.price-vat {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.4rem;
}

.btn-buy-instant {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
    transition: all 0.2s ease;
}

.btn-buy-instant:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.8);
    transform: translateY(-2px);
}

.btn-buy-instant-sm {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transition: all 0.2s ease;
}

.btn-buy-instant-sm:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.7);
}

/* AI Summary Card */
.ai-summary-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(24, 32, 56, 0.8));
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2.2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(6, 182, 212, 0.1);
}

.ai-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ai-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(6, 182, 212, 0.12);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.ai-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.ai-summary-body {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #e2e8f0;
    margin-bottom: 1.8rem;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.scenario-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.1rem;
}

.scenario-card.critical { border-left: 4px solid var(--color-coral); }
.scenario-card.high { border-left: 4px solid #f97316; }
.scenario-card.medium { border-left: 4px solid var(--color-amber); }

.scenario-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.scenario-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.risk-pill {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

.risk-pill.critical { background: rgba(239, 68, 68, 0.2); color: var(--color-coral); }
.risk-pill.high { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.risk-pill.medium { background: rgba(245, 158, 11, 0.2); color: var(--color-amber); }

.scenario-vector {
    font-size: 0.83rem;
    color: var(--text-sub);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.scenario-counter {
    font-size: 0.8rem;
    color: var(--color-emerald);
    background: rgba(16, 185, 129, 0.08);
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 2px solid var(--color-emerald);
}

/* Details Tabs */
.details-tab-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 16, 30, 0.5);
    overflow-x: auto;
}

.tab-btn {
    padding: 1.1rem 1.6rem;
    background: transparent;
    border: none;
    color: var(--text-sub);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background: rgba(6, 182, 212, 0.06);
}

.tab-btn.highlight-tab.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
}

.tab-pane {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

/* Quick Script Download Box in Remediation Tab */
.quick-script-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.script-box-left h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.script-box-left p {
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* Unlocked Success Banner */
.unlocked-banner {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--color-emerald);
    color: var(--color-emerald);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--color-emerald-glow);
    animation: fadeIn 0.3s ease;
}

/* Findings Tab */
.findings-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.critical.active { background: rgba(239, 68, 68, 0.25); color: var(--color-coral); border-color: var(--color-coral); }
.filter-btn.high.active { background: rgba(249, 115, 22, 0.25); color: #f97316; border-color: #f97316; }
.filter-btn.medium.active { background: rgba(245, 158, 11, 0.25); color: var(--color-amber); border-color: var(--color-amber); }
.filter-btn.low.active { background: rgba(6, 182, 212, 0.25); color: var(--color-primary); border-color: var(--color-primary); }

.findings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.finding-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    transition: transform 0.15s ease;
}

.finding-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.finding-card.critical { border-left: 4px solid var(--color-coral); }
.finding-card.high { border-left: 4px solid #f97316; }
.finding-card.medium { border-left: 4px solid var(--color-amber); }
.finding-card.low { border-left: 4px solid var(--color-primary); }

.finding-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.finding-category-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.finding-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.finding-desc {
    font-size: 0.88rem;
    color: var(--text-sub);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.finding-remediation {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.84rem;
    color: #67e8f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Cyber Table */
.table-responsive {
    overflow-x: auto;
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cyber-table th {
    text-align: left;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.cyber-table td {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.status-badge.present { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-badge.missing { background: rgba(239, 68, 68, 0.15); color: var(--color-coral); border: 1px solid rgba(239, 68, 68, 0.3); }

.cell-code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    color: #e2e8f0;
    word-break: break-all;
    max-width: 320px;
    display: inline-block;
}

/* SSL Grid */
.ssl-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
}

.info-card-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-kv-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-kv {
    display: flex;
    justify-content: space-between;
    font-size: 0.87rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-kv .k { color: var(--text-muted); }
.info-kv .v { color: #f1f5f9; font-weight: 500; text-align: right; }
.info-kv .v.mono { font-family: var(--font-mono); font-size: 0.8rem; }

.sans-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.sans-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sans-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.san-chip {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #22d3ee;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-family: var(--font-mono);
}

/* Cookie & DNS Tab */
.sub-section {
    margin-bottom: 2rem;
}

.sub-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-items-grid, .leaks-items-grid, .dns-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.item-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.item-box.safe { border-left: 3px solid var(--color-emerald); }
.item-box.danger { border-left: 3px solid var(--color-coral); }
.item-box.warn { border-left: 3px solid var(--color-amber); }

.item-box-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
    font-family: var(--font-mono);
}

.item-box-flags {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.flag-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.flag-badge.ok { background: rgba(16, 185, 129, 0.2); color: var(--color-emerald); }
.flag-badge.bad { background: rgba(239, 68, 68, 0.2); color: var(--color-coral); }

/* Code Snippet Styles & Paywall Locking */
.code-subtabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.code-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.code-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.code-tab-btn.active {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.code-viewer-container {
    background: #090d16;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.code-viewer-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-filename {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.btn-copy {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background: var(--color-primary);
    color: #070b14;
}

.btn-copy.btn-copy-locked {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.btn-copy.btn-copy-locked:hover {
    background: #f59e0b;
    color: #070b14;
}

.code-pre-wrapper {
    position: relative;
    min-height: 240px;
}

.code-pre {
    padding: 1.4rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    line-height: 1.65;
    color: #e2e8f0;
    transition: filter 0.3s ease;
}

/* Locked Code Blur State */
.code-viewer-container.locked .code-pre {
    filter: blur(6.5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.45;
}

/* Paywall Lock Overlay Card */
.code-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 20, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

.code-viewer-container:not(.locked) .code-lock-overlay {
    display: none;
}

.lock-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.code-lock-overlay h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.code-lock-overlay p {
    font-size: 0.88rem;
    color: #cbd5e1;
    max-width: 480px;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
}

.modal-backdrop.hidden {
    display: none;
}

.modal-card {
    background: #0d1322;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    max-width: 620px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    overflow: hidden;
    animation: modalPop 0.25s ease;
}

.modal-pricing { max-width: 920px; }
.modal-consulting { max-width: 680px; }
.modal-checkout { max-width: 650px; }

@keyframes modalPop {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-title-icon {
    width: 22px;
    height: 22px;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.btn-close-modal:hover { color: #ffffff; }

.modal-body {
    padding: 1.6rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.6rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
}

.notice-callout {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.2rem;
    color: #fde68a;
}

/* Payment Gateway Switcher Tabs (Toss vs PayPal) */
.pg-gateway-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.pg-tab-btn {
    flex: 1;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.2s ease;
    text-align: center;
}

.pg-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.pg-tab-btn.active {
    background: rgba(6, 182, 212, 0.18);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.pg-content-box {
    margin-top: 0.6rem;
}

.paypal-container-wrap {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    text-align: center;
}

.paypal-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

/* Option 1 Checkout Box */
.checkout-summary-box {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
}

.summary-item .s-label { color: var(--text-muted); }
.summary-item .s-val { font-weight: 600; }
.summary-item.total-row {
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-highlight {
    font-size: 1.35rem;
    font-weight: 900;
    color: #38bdf8;
    font-family: var(--font-mono);
}

.section-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.6rem;
}

.pay-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.pay-method-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pay-method-card:hover, .pay-method-card.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--color-primary);
}

.pay-method-card input {
    accent-color: var(--color-primary);
}

.pay-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

/* Success & Terminal Box */
.success-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem auto;
}

.success-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.success-header p {
    font-size: 0.88rem;
    color: var(--text-sub);
}

.terminal-command-card {
    background: #060911;
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.terminal-bar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-pre {
    padding: 1.2rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #67e8f9;
    line-height: 1.5;
}

.terminal-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #cbd5e1;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.2);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

kbd {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

/* Pricing Grid */
.pricing-intro {
    text-align: center;
    color: var(--text-sub);
    margin-bottom: 1.5rem;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.plan-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card.popular {
    border-color: var(--color-primary);
    background: rgba(6, 182, 212, 0.08);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.2);
}

.popular-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-mono);
    margin-bottom: 1rem;
}

.plan-price span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
    font-family: var(--font-main);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-group .required { color: var(--color-coral); }

.form-group input, .form-group select, .form-group textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
}

.form-group select option {
    background: #0d1322;
    color: #ffffff;
}

.print-report-footer {
    display: none;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .standards-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-tri-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-cards-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .standards-cards-grid { grid-template-columns: 1fr; }
    .cta-instant-patch-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-instant-right {
        align-items: flex-start;
        width: 100%;
    }
    .dashboard-hero-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .hero-right-gauge {
        width: 100%;
        justify-content: space-around;
    }
    .pillars-grid { grid-template-columns: 1fr; }
    .search-form { flex-direction: column; }
    .btn-scan { justify-content: center; }
    .quick-script-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .pay-methods-grid { grid-template-columns: 1fr; }
}

/* Print Styles */
@media print {
    body { background: #ffffff !important; color: #0f172a !important; }
    .glow-sphere, .app-header, .hero-section, .trust-standards-section, .scanning-section, .tab-nav, .findings-filter-bar, .code-subtabs, .btn-copy, .quick-samples, .cta-instant-patch-banner, .quick-script-box, .modal-backdrop {
        display: none !important;
    }
    .main-content { padding: 0 !important; max-width: 100% !important; }
    .dashboard-hero-card, .pillar-card, .ai-summary-card, .details-tab-card, .info-card, .finding-card, .scenario-card {
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
        color: #0f172a !important;
    }
    .target-domain, .score-number, .finding-title, .scenario-title, .info-card-header, .sub-section-title {
        color: #0f172a !important;
    }
    .tab-pane { display: block !important; padding: 1rem 0 !important; page-break-inside: avoid; }
    .score-ring-bg { stroke: #e2e8f0; }
    .print-report-footer {
        display: block !important;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid #cbd5e1;
        font-size: 0.75rem;
        color: #64748b;
        text-align: center;
    }
}
