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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --card-bg: #2a2a2a;
    --accent-color: #ff006e;
    --accent-hover: #ff1a7a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #3a3a3a;
    --success-color: #00ff88;
    --gradient-1: linear-gradient(135deg, #ff006e 0%, #ff4081 100%);
    --gradient-2: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 0, 110, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 80% 50%, rgba(255, 64, 129, 0.3) 0%, transparent 2%),
        radial-gradient(circle at 30% 80%, rgba(255, 0, 110, 0.25) 0%, transparent 2%),
        radial-gradient(circle at 70% 10%, rgba(255, 64, 129, 0.25) 0%, transparent 2%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 110, 0.2) 0%, transparent 2%);
    background-size: 100% 100%;
    animation: floatOrbs 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes floatOrbs {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(50px, -100px) rotate(120deg);
    }
    66% {
        transform: translate(-50px, 50px) rotate(240deg);
    }
}

.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 64, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: bgShift 15s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 100% 0%, 0% 100%, 25% 75%;
    }
}

.geometric-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, transparent 49%, rgba(255, 0, 110, 0.08) 50%, transparent 51%),
        linear-gradient(90deg, transparent 49%, rgba(255, 0, 110, 0.08) 50%, transparent 51%);
    background-size: 80px 80px;
    animation: float 20s ease-in-out infinite, gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.geometric-bg::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 0, 110, 0.15) 50%,
        transparent 100%
    );
    box-shadow: 0 0 80px rgba(255, 0, 110, 0.3);
    animation: scan 6s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(200%); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.calculator-card::after,
.contact-card::after,
.results-card::after,
.overspend-card::after,
.case-study-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    animation: shimmer 4s infinite;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Prevent horizontal overflow on all major elements */
main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Header */
.header {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Admin Nav */
.admin-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-nav .logo {
    justify-content: flex-start;
}

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

.admin-nav-link {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.admin-nav-link:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.admin-nav-logout {
    color: var(--accent-color);
    border-color: rgba(255, 0, 110, 0.3);
}

.admin-nav-logout:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    padding: 40px 0 30px;
}

.hero-flow {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-flow .hero-title,
.hero-flow .hero-subtitle {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.flow-section {
    margin-top: 40px;
}

.flow-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.flow-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.flow-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.flow-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.result-item-cta {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08) 0%, rgba(255, 64, 129, 0.04) 100%);
    border: 1px solid rgba(255, 0, 110, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.result-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.result-cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

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

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

.result-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.result-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
}

/* Sliq Projection Section */
.sliq-projection-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(255, 64, 129, 0.02) 100%);
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.projection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0 30px;
}

.projection-item {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.projection-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 110, 0.15);
}

.projection-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--accent-color);
}

.projection-icon svg {
    width: 100%;
    height: 100%;
}

.projection-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.projection-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-cta {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.results-cta h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.results-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.trust-badge:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.trust-logo {
    flex-shrink: 0;
}

.trust-logo-clutch {
    width: 60px;
    height: auto;
}

.trust-stars {
    display: flex;
    gap: 1px;
}

.trust-stars .star {
    color: #FBBC05;
    font-size: 14px;
    line-height: 1;
}

.trust-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-form-container {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 20px 18px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-form-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: center;
    color: var(--text-primary);
}

.hero-right {
    position: relative;
}

.hero-calculator-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 20px 18px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
}

.hero-calculator-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.hero-calculator-card .calculator-desc {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.hero-calculator-card.locked {
    pointer-events: none;
}

.calculator-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    border-radius: 16px;
}

.lock-icon {
    font-size: 48px;
    opacity: 0.6;
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.calculator-lock-overlay p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Hero Legend (shows after unlock) */
.hero-legend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* Calculator Section */
.calculator-section {
    padding: 60px 0;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 30px;
    align-items: start;
}

.calculator-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.calculator-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

/* Calculator Legend */
.calculator-legend {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 10px;
    min-width: 0;
    position: sticky;
    top: 90px;
}

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

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

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

@keyframes legendFadeIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.legend-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 16px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: legendFadeIn 0.5s ease forwards;
}

.legend-card:nth-child(1) {
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
}

.legend-card:nth-child(2) {
    animation-delay: 0.25s;
    animation-fill-mode: forwards;
}

.legend-card:nth-child(3) {
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
}

.legend-card.floating-1 { animation: legendFadeIn 0.5s ease 0.1s forwards, legendFloat1 5s ease-in-out 0.7s infinite; }
.legend-card.floating-2 { animation: legendFadeIn 0.5s ease 0.25s forwards, legendFloat2 6s ease-in-out 0.9s infinite; }
.legend-card.floating-3 { animation: legendFadeIn 0.5s ease 0.4s forwards, legendFloat3 4.5s ease-in-out 1.1s infinite; }

.legend-card.is-active {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.2), 0 8px 30px rgba(0,0,0,0.3);
}

.legend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legend-card.is-active::before {
    opacity: 1;
}

.legend-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-icon svg {
    width: 14px;
    height: 14px;
    color: white;
}

.legend-content h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.legend-content p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.legend-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

.calculator-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

input {
    width: 100%;
    padding: 12px;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

select {
    width: 100%;
    padding: 12px 36px 12px 12px;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

select option {
    background: var(--secondary-bg);
    color: var(--text-primary);
    padding: 10px;
}

textarea {
    width: 100%;
    padding: 12px;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.video-container {
    text-align: center;
    padding: 20px 0;
}

.video-container h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.video-placeholder {
    background: var(--secondary-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 20px;
    margin-bottom: 20px;
}

.video-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.video-note {
    font-size: 13px;
    opacity: 0.6;
}

.booking-container {
    padding: 10px 0;
}

.booking-container h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.calculate-btn, .submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calculate-btn:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.3);
}

.calculate-btn:active, .submit-btn:active {
    transform: translateY(0);
}

/* Results Section */
.results-section {
    padding: 60px 0;
    animation: fadeIn 0.6s ease;
}

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

.results-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

 .results-cta {
     margin-top: 28px;
 }

.results-grid-top {
    margin-bottom: 10px;
}

.results-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.results-divider::before,
.results-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.results-outstanding-msg {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.06) 0%, rgba(255, 64, 129, 0.03) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 0, 110, 0.25);
    margin: 20px 0;
}

.outstanding-icon {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 14px;
    display: block;
}

.results-outstanding-msg h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.results-outstanding-msg p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 10px;
}

.outstanding-sub {
    font-size: 13px;
    opacity: 0.8;
}

.callback-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.callback-cta h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.callback-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.callback-cta .submit-btn {
    max-width: 300px;
    margin: 0 auto;
}

.result-metric {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px;
}

.result-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.result-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
}

.result-sublabel {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    text-transform: lowercase;
}

 .result-metric.is-primary .result-value {
     color: var(--success-color);
 }

 .result-value.is-positive {
     color: var(--success-color);
 }

 .result-value.is-negative {
     color: #ff006e;
 }

@media (max-width: 768px) {
    .results-grid, .projection-grid {
        grid-template-columns: 1fr;
    }

    .result-value, .projection-value {
        font-size: 28px;
    }

    .projection-icon {
        width: 40px;
        height: 40px;
    }
}

.current-cpl {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.current-cpl h4 {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.cpl-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.cpl-amount.guaranteed {
    color: var(--success-color);
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.our-cpl, .savings {
    text-align: center;
}

.our-cpl h4, .savings h4 {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.savings-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 5px;
}

.savings-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.cta-section {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.cta-section h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cta-section p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 40px 0;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 50px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.contact-card .calculator-desc {
    margin-bottom: 20px;
    font-size: 14px;
}

/* Multi-step form */
.form-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background: var(--secondary-bg);
}

.step-item.active .step-circle,
.step-item.done .step-circle {
    border-color: var(--accent-color);
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

.step-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.step-item.active .step-label,
.step-item.done .step-label {
    color: var(--accent-color);
}

.step-line {
    height: 2px;
    width: 50px;
    background: var(--border-color);
    margin-bottom: 18px;
    transition: background 0.3s ease;
}

.step-line.done {
    background: var(--accent-color);
}

.form-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.form-nav .submit-btn,
.form-nav .step-next-btn {
    flex: 1;
}

.back-btn {
    padding: 14px 20px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.back-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.field-hint {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

/* Admin Login Styles */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.admin-login-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.admin-login-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    padding: 60px 0;
}

.admin-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.settings-section {
    margin-top: 30px;
}

.settings-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.current-settings {
    margin-top: 30px;
    padding: 20px;
    background: var(--secondary-bg);
    border-radius: 10px;
}

.current-settings h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.current-settings p {
    margin-bottom: 5px;
}

/* Submissions Styles */
.submissions-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.submissions-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.submissions-list {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--secondary-bg);
}

.submission-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.submission-item:last-child {
    border-bottom: none;
}

.submission-item:hover {
    background: var(--card-bg);
}

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

.submission-date {
    color: var(--text-secondary);
    font-size: 14px;
}

.submission-id {
    color: var(--accent-color);
    font-size: 12px;
    font-family: monospace;
}

.submission-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.submission-field {
    margin-bottom: 8px;
}

.submission-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.submission-value {
    color: var(--text-secondary);
    font-size: 14px;
    word-break: break-word;
}

.submission-section-label {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    margin-top: 12px;
    margin-bottom: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.submission-section-label:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.submission-full {
    grid-column: 1 / -1;
}

.no-submissions {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--secondary-bg);
}

.footer p {
    color: var(--text-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    opacity: 0.5;
    animation: fadeInScroll 1s ease 0.5s both;
}

@keyframes fadeInScroll {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 0.7; transform: translateY(0); }
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 0, 110, 0.8);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.4), inset 0 0 8px rgba(255, 0, 110, 0.1);
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 17px;
    border: 1px solid rgba(255, 0, 110, 0.2);
    animation: mousePulse 2s ease-in-out infinite;
}

@keyframes mousePulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0; transform: scale(1.15); }
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
    box-shadow: 0 0 6px var(--accent-color);
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(12px); opacity: 0; }
    61% { transform: translateY(0); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    animation: arrowFade 1.8s ease-in-out infinite;
    box-shadow: 2px 2px 4px rgba(255, 0, 110, 0.3);
}

.scroll-arrows span:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.5;
}

@keyframes arrowFade {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* How It Works / Why Overspend Section */
.how-it-works-section,
.why-overspend-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.overspend-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px 30px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.overspend-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 16px;
}

.qualified-lead-callout {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(255, 64, 129, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    margin-bottom: 25px;
}

.callout-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    position: relative;
}

.callout-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.callout-icon.icon-spark::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

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

.callout-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.callout-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.callout-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

.overspend-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: var(--secondary-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 0, 110, 0.1);
}

.point-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    position: relative;
}

/* Target icon */
.point-icon.icon-target::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
}

.point-icon.icon-target::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Money icon */
.point-icon.icon-money::before {
    content: '$';
    color: white;
    font-size: 28px;
    font-weight: 700;
}

/* Creative icon */
.point-icon.icon-creative::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid white;
    border-radius: 4px;
}

.point-icon.icon-creative::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: white;
    box-shadow: 0 6px 0 white, 0 -6px 0 white;
}

/* Nurture icon */
.point-icon.icon-nurture::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    transform: rotate(45deg);
}

.point-icon.icon-nurture::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid white;
    transform: rotate(45deg) translateY(-8px);
}

/* Metrics icon */
.point-icon.icon-metrics::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 12px;
    background: white;
    transform: translateX(-8px);
}

.point-icon.icon-metrics::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background: white;
    box-shadow: -8px 4px 0 white, 0 8px 0 white;
}

.point-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.point-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.overspend-cta {
    margin-top: 40px;
    text-align: center;
}

.overspend-cta .calculate-btn {
    display: inline-block;
    width: auto;
    min-width: 300px;
    text-decoration: none;
}

/* How We Do It Section */
.how-we-do-it {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.how-we-do-it h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-primary);
}

.how-we-do-it > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.method-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--secondary-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.method-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
}

.method-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.method-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 13px;
}

/* Hero CTA */
.hero-cta {
    margin-top: 30px;
}

.hero-cta .calculate-btn {
    display: inline-block;
    width: auto;
    min-width: 320px;
    text-decoration: none;
    font-size: 17px;
    padding: 16px 32px;
}

/* Step Number Icons (How It Works) */
.point-icon.icon-step-num {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.point-icon.icon-step-num span {
    position: relative;
    z-index: 1;
}

/* Section Headings (shared) */
.section-heading {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Case Study Section */
.case-study-section {
    padding: 60px 0;
}

.case-study-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.case-study-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-stat {
    text-align: center;
    padding: 16px;
    background: var(--secondary-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.case-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.1;
    margin-bottom: 4px;
}

.case-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-narrative h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.case-study-block {
    margin-bottom: 18px;
}

.case-study-block h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.case-study-block p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.case-study-disclaimer {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-top: 16px;
    font-style: italic;
}

.case-study-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-study-link .case-study-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.case-study-link:hover .case-study-card {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.15);
}

.case-study-testimonial {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 3px solid var(--accent-color);
    background: rgba(255, 0, 110, 0.05);
    border-radius: 0 8px 8px 0;
}

.case-study-quote {
    font-size: 15px;
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
}

.case-study-quote-author {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 8px 0 0;
    font-style: normal;
    font-weight: 500;
}

.case-study-read-more {
    text-align: center;
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 15px;
}

/* Disclaimer Banner */
.disclaimer-banner {
    padding: 20px 0;
    background: var(--secondary-bg);
    border-top: 2px solid var(--accent-color);
}

.disclaimer-banner p {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .hero {
        padding: 30px 0 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .hero-form-container,
    .hero-calculator-card {
        padding: 16px 14px;
    }

    .hero-form-heading {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .hero-legend {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .calculator-card, .results-card, .contact-card {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator-legend {
        padding-top: 0;
        position: static;
    }
    
    .overspend-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .overspend-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .method-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cpl-amount {
        font-size: 36px;
    }
    
    .savings-amount {
        font-size: 28px;
    }

    .case-study-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        margin: 0 10px;
    }

    .case-study-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .case-stat {
        flex: 1;
        min-width: 120px;
    }

    .case-stat-value {
        font-size: 24px;
    }

    .hero-cta .calculate-btn {
        min-width: unset;
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .logo-img {
        height: 36px;
    }

    .hero {
        padding: 25px 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .scroll-indicator {
        margin-top: 15px;
        transform: scale(0.85);
    }

    .calculator-section, .results-section, .contact-section,
    .case-study-section {
        padding: 30px 0;
    }
}

/* Help Icons */
.help-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 6px;
    vertical-align: middle;
    transition: all 0.2s ease;
    line-height: 18px;
    text-align: center;
    padding: 0;
}

.help-icon:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin: 10% auto;
    padding: 30px;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-content h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20% 20px;
        padding: 24px;
    }
}

.projection-subtext {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.5;
}

/* Progress Milestone Bar */
.progress-bar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    width: 2px;
    height: 24px;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.progress-item:last-child::before {
    display: none;
}

.progress-item.active::before,
.progress-item.completed::before {
    background: var(--accent-color);
}

.progress-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #666666;
    background: rgba(102, 102, 102, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.progress-item:hover .progress-dot {
    border-color: var(--accent-color);
    background: rgba(255, 0, 110, 0.2);
    transform: scale(1.2);
}

.progress-item.active .progress-dot {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: 0 0 12px rgba(255, 0, 110, 0.4);
}

.progress-item.completed .progress-dot {
    border-color: var(--accent-color);
    background: var(--accent-color);
}

.progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.progress-item:hover .progress-label,
.progress-item.active .progress-label {
    opacity: 1;
}

.progress-item.active .progress-label {
    color: var(--accent-color);
}

/* Mobile: Bottom horizontal bar */
@media (max-width: 768px) {
    .progress-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 12px 10px;
        border-top: 1px solid var(--border-color);
        overflow-x: auto;
    }

    .progress-item {
        flex-direction: column;
        gap: 6px;
    }

    .progress-item::before {
        display: none;
    }

    .progress-dot {
        width: 12px;
        height: 12px;
    }

    .progress-label {
        font-size: 9px;
        opacity: 1;
        pointer-events: auto;
    }

    .progress-item.active .progress-label {
        font-weight: 700;
    }
}
