:root {
    /* Color Palette - Cyber Security Pro */
    --color-bg: #020617;
    /* Deep Navy */
    --color-text: #e2e8f0;
    /* Slate 200 */
    --color-text-light: #94a3b8;
    /* Slate 400 */

    --color-primary: #06b6d4;
    /* Cyan 500 */
    --color-primary-dark: #0891b2;
    /* Cyan 600 */
    --color-primary-glow: rgba(6, 182, 212, 0.4);

    --color-secondary: #0f172a;
    /* Slate 900 */
    --color-surface: #1e293b;
    /* Slate 800 */
    --color-accent: #3b82f6;
    /* Blue 500 */

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1240px;
    --section-spacing: 120px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px var(--color-primary-glow);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    background-image: radial-gradient(circle at 50% 0%, #172a45 0%, #020617 60%);
    background-attachment: fixed;
}

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

/* Typography Helpers */
h1,
h2,
h3 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--color-primary-dark);
    position: relative;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
    filter: brightness(1.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background: rgba(2, 6, 23, 0.95);
    /* Increased opacity for better contrast */
    backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    height: 80px;
    /* Slightly taller for better breathing room */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    /* Make logo pop */
    transition: all 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.6));
    /* Glow on hover */
    transform: scale(1.02);
}

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

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

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

.nav .btn {
    margin-left: 12px;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: transparent;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-primary-dark);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.5rem;
    /* Big impact */
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.link-secondary {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

.hero-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Problem Section */
.section {
    padding: var(--section-spacing) 0;
}

.problem-section {
    background: transparent;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

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

.card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 16px;
    border: var(--glass-border);
    transition: all 0.4s ease;
}

.problem-card {
    background: rgba(15, 23, 42, 0.6);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-primary);
    background: rgba(30, 41, 59, 1);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* Solution Section */
.benefits-section {
    background: transparent;
    position: relative;
    padding-bottom: 80px;
}

.benefit-card {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
    border-color: var(--color-primary);
}

.benefit-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
}

.solution-section {
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);

    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.feature-list strong {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.visual-block img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(0deg, #020617 0%, #0f172a 100%);
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-box {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(20px);
    color: white;
    max-width: 600px;
    margin: -120px auto 0;
    /* Overlap effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact-form input {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* Footer */
.footer {
    background: #020617;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        display: none;
    }

    /* Todo: Mobile Menu */

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

    .hero-container,
    .split-layout,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-img {
        order: -1;
    }

    /* Image on top on mobile */
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        display: flex;
        /* Override display: none from previous media query */
        transform: translateY(0);
    }

    .nav a {
        font-size: 1.1rem;
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav .btn {
        margin: 20px 0 0;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
        /* Todo: Add hamburger styling */
        width: 30px;
        height: 20px;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-secondary);
        position: absolute;
        transition: 0.3s;
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 9px;
    }

    .mobile-menu-btn span:nth-child(3) {
        top: 18px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
}

/* Animations */
.fade-in-section {
    opacity: 1;
    /* Forced visible for stability */
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Calculator Section */
.calculator-section {
    padding-top: 140px;
    /* Account for fixed header */
    min-height: 100vh;
    background: radial-gradient(circle at 50% 10%, #172a45 0%, #020617 80%);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 60px;
}

.sticky-card {
    position: sticky;
    top: 100px;
}

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

.form-group h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.subtitle-sm {
    color: var(--color-text-light);
    font-size: 0.8rem;
    margin-top: 8px;
    font-style: italic;
}

/* Range Slider */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    transition: 0.2s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
    border: 2px solid white;
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
    border: 2px solid white;
}

.val-display {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.1rem;
    margin-left: 8px;
}

/* Inputs */
.input-with-unit {
    position: relative;
    max-width: 200px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-main);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    font-weight: 600;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-wrapper:hover {
    border-color: var(--color-primary);
    background: rgba(6, 182, 212, 0.05);
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* Contact Form Grid */
.contact-group {
    background: rgba(6, 182, 212, 0.05);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.input-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 1s infinite;
}

.modal-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.modal-message {
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Contact Form Grid */
.input-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Result Card */
.result-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--color-primary-dark);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

.price-display {
    margin: 24px 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    color: white;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 8px;
    color: var(--color-text-light);
}

#total-price {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.breakdown-row span:last-child {
    color: white;
    font-weight: 600;
}

.disclaimer {
    color: var(--color-text-light);
    font-size: 0.75rem;
    margin-top: 16px;
    text-align: center;
    opacity: 0.7;
}

/* Mobile Calculator */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: static;
        margin-top: 20px;
    }

    #total-price {
        font-size: 3rem;
    }
}