/* NetBro Design Tokens */
:root {
    --color-bg-dark: #07090e;
    --color-bg-card: rgba(15, 23, 42, 0.6);
    --color-bg-card-hover: rgba(30, 41, 59, 0.85);
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(59, 130, 246, 0.4);
    
    --color-primary: #3b82f6; /* Electric Blue */
    --color-primary-hover: #2563eb;
    --color-primary-glow: rgba(59, 130, 246, 0.15);
    
    --color-secondary: #10b981; /* Emerald */
    --color-text-main: #f1f5f9;
    --color-text-muted: #94a3b8;
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-size: 1.45rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo-net {
    color: #ffffff;
}

.logo-bro {
    color: var(--color-primary);
}

.logo-bro .dot {
    color: var(--color-secondary);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #ffffff;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--color-primary-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 70%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.03) 60%, rgba(7, 9, 14, 0) 100%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
}

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

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

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

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.08);
}

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

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 70px;
}

.service-bullets {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-bullets li {
    font-size: 0.85rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-bullets li::before {
    content: "⚡";
    color: var(--color-primary);
    font-size: 0.75rem;
}

/* Pricing / Estimator Configurator styling */
.estimator-section {
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.estimator-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.estimator-controls {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
}

.estimator-controls h2 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.estimator-controls p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.config-group {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.group-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 1.25rem;
}

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

.switch-row span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Custom switch button slider */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 24px;
    border: 1px solid var(--color-border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Slider Row */
.slider-row {
    margin-top: 1.25rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.slider-labels strong {
    color: var(--color-primary);
}

.slider-row input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 99px;
    outline: none;
}

.slider-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Radio selectors styling */
.radio-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.radio-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.radio-btn:hover {
    background: rgba(255, 255, 255, 0.04);
}

.radio-btn input {
    margin-right: 0.75rem;
    accent-color: var(--color-primary);
}

.radio-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.disabled-opacity {
    opacity: 0.35;
    pointer-events: none;
}

/* Summary Invoice panel styling */
.estimator-invoice {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
    position: sticky;
    top: 110px;
}

.estimator-invoice h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.25rem 0;
}

.invoice-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.invoice-items li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.invoice-items li strong {
    color: #ffffff;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.total-row span {
    font-weight: 600;
    font-size: 1rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    font-family: var(--font-heading);
}

.price-box .currency {
    font-size: 1rem;
    color: var(--color-primary);
    margin-right: 0.2rem;
}

.price-box .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.price-box .period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Modal Overlay styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.hidden { display: none !important; }

.modal-card {
    background: #0f172a;
    border: 1px solid var(--color-border-hover);
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.modal-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    outline: none;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}

.success-message {
    margin-top: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--color-secondary);
    color: #34d399;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
}

.success-message.hidden { display: none; }

/* Company Stats Grid */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    background: #05070a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

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

/* Footer bottom */
.app-footer {
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 0;
    background-color: #030406;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .estimator-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .estimator-invoice {
        position: static;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-menu {
        display: none;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
