:root {
    --bg-dark: #121212;
    --bg-panel: #1e1e1e;
    --bg-light-panel: #2a2a2a;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --accent-orange: #FF5722;
    --accent-hover: #E64A19;
    --border-color: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(255, 87, 34, 0.05), transparent 25%),
        radial-gradient(circle at 85% 60%, rgba(255, 87, 34, 0.08), transparent 25%);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.navbar {
    padding: 2rem 5%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo .icon {
    color: var(--accent-orange);
    font-size: 1.8rem;
}

/* 1. Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.3);
    color: var(--accent-orange);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent-orange);
    position: relative;
    display: inline-block;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    text-decoration: none;
    padding: 1.25rem 2rem;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.3);
}

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

.cta-button:hover svg {
    transform: translateX(5px);
}

.pulse-btn {
    animation: pulse 2s infinite;
    width: auto;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 87, 34, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

/* Problem & Solution / Process Mastery */
.problem-solution {
    padding: 6rem 0;
    text-align: center;
}

.problem-solution h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.agitation {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.savalia-model {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 4rem 3rem;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.savalia-model h3 {
    color: var(--accent-orange);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.model-step {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num {
    font-family: 'Roboto Mono', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.model-step h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.model-step p {
    color: var(--text-muted);
}

/* Cost Calculator */
.calculator-section {
    padding: 4rem 0;
}

.calculator-box {
    background: var(--bg-panel);
    border: 2px dashed var(--accent-orange);
    border-radius: 16px;
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.calculator-box h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.calc-math {
    background: #111;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.calc-row span {
    color: var(--text-muted);
}

.calc-result {
    margin-top: 2rem;
}

.calc-result span {
    display: block;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.loss-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 3.5rem;
    font-weight: 800;
    color: #f44336;
    /* Red for loss */
    margin-bottom: 1rem;
}

/* Benefits & Founders */
.beta-benefits {
    padding: 4rem 0;
}

.grids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.founder-card,
.benefits-card {
    background: var(--bg-panel);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.founder-card h3,
.benefits-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.founder-card p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.power-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.power-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
}

.power-list li strong {
    color: var(--text-main);
}

.icon-wrap {
    font-size: 1.5rem;
}

/* Logical Conclusion Table */
.comparison-section {
    padding: 6rem 0;
    text-align: center;
}

.comparison-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.table-wrapper {
    overflow-x: auto;
    background: var(--bg-panel);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.125rem;
    color: var(--text-muted);
}

.comparison-table td {
    font-size: 1.125rem;
}

.comparison-table .highlight-col {
    background: rgba(255, 87, 34, 0.1);
    color: var(--accent-orange);
    font-weight: 600;
}

/* Form Section */
.cta-section {
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.form-wrapper {
    background: var(--bg-panel);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 500px;
    position: relative;
}

.form-wrapper.hidden {
    display: none;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 16px 16px 0 0;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

/* Thank you block */
.thank-you-wrapper {
    background: var(--bg-panel);
    padding: 4rem 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.thank-you-wrapper.hidden {
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 1.5rem;
}

.thank-you-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.thank-you-wrapper>p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.referral-box {
    background: var(--bg-light-panel);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

.ref-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.ref-link {
    display: flex;
    align-items: center;
    background: #000;
    padding: 0.5rem;
    border-radius: 6px;
}

.ref-link code {
    flex: 1;
    color: var(--accent-orange);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

.ref-link button {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.ref-link button:hover {
    background: var(--border-color);
}

@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        padding-top: 2rem;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .steps-grid,
    .grids {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .loss-value {
        font-size: 2.5rem;
    }

    .form-wrapper,
    .thank-you-wrapper,
    .calculator-box {
        padding: 2rem;
    }
}