* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000777 0%, #000555 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #f97316;
    text-decoration: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .subtitle {
    color: #f97316;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #f97316;
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header .subtitle {
    color: #f97316;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000555;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* Network Requirements Assessment */
.network-assessment {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.assessment-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.assessment-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.assessment-header::before {
    content: '📊';
    font-size: 4rem;
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
}

.assessment-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.assessment-content {
    padding: 3rem 2rem;
}

.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.step-circle.active {
    background: #3b82f6;
    color: white;
}

.step-circle.completed {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

#progress-bar {
    position: absolute;
    top: 20px;
    left: 12.5%;
    height: 2px;
    background: #10b981;
    width: 0%;
    transition: width 0.4s ease;
    z-index: 0;
}

.question-section {
    display: none;
    margin-bottom: 2rem;
}

.question-section.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.question-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000555;
    margin-bottom: 1rem;
}

.question-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}

.answer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.answer-option {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.answer-option:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.answer-option.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.option-text {
    font-weight: 600;
    color: #000555;
}

.input-option {
    background: white;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.input-option:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.speed-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.speed-input-container .input-option {
    flex-grow: 1;
}

.speed-input-container span {
    font-weight: 600;
    color: #64748b;
    font-size: 1rem;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.nav-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button.primary {
    background: #3b82f6;
    color: white;
}

.nav-button.primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.nav-button.secondary {
    background: #e2e8f0;
    color: #64748b;
}

.nav-button.secondary:hover {
    background: #cbd5e1;
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    background-color: #e2e8f0;
}

.nav-button.hidden {
    display: none;
}

/* Results Section */
.results-section {
    display: none;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
    margin-top: -3rem;
    /* Adjusted to align with container */
    padding-top: 3rem;
}

.results-section.show {
    display: block;
    animation: slideIn 0.5s ease-out;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.comparison-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.comparison-card.needs::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.comparison-card.current::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.comparison-card.status::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.comparison-card.status.insufficient::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.comparison-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000555;
    margin-bottom: 1rem;
}

.comparison-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.comparison-unit {
    font-size: 1rem;
    color: #64748b;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.status-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.status-text {
    font-weight: 600;
}

.status-sufficient {
    color: #10b981;
}

.status-insufficient {
    color: #ef4444;
}

.recommendations-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.recommendations-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000555;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.recommendations-title::before {
    content: '💡';
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

#recommendationList {
    list-style: none;
    padding: 0;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #f97316;
}

.recommendation-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    color: #f97316;
}

.recommendation-content {
    flex: 1;
}

.recommendation-text {
    font-weight: 600;
    color: #000555;
    margin-bottom: 0.25rem;
}

.recommendation-description {
    font-size: 0.9rem;
    color: #64748b;
}

/* Fallback for icon fonts */
.recommendation-icon::before {
    content: '✓';
    font-weight: bold;
}

/* Implementation Process Section */
.process-section {
    background-color: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.process-card-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #000777 0%, #000555 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-card h3 {
    font-size: 1.25rem;
    color: #000555;
    margin-bottom: 1rem;
}

.process-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Network Solutions & Components */
.network-solutions {
    background: white;
}

.components-section {
    background-color: #f8fafc;
}

.solutions-grid,
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card,
.component-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before,
.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.solution-card:hover,
.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.solution-icon,
.component-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
}

.solution-card h3,
.component-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000555;
}

.solution-card p,
.component-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
}

.solution-features li::before {
    content: '✓';
    color: #f97316;
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #000777 0%, #000555 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #e2e8f0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000555;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #f97316;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #475569;
    line-height: 1.7;
}

.faq-answer p {
    padding: 0 1rem 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Adjust as needed */
    transition: max-height 0.4s ease-in;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #f97316;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: #f97316;
}

/* Responsive Design */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .assessment-content {
        padding: 2rem 1rem;
    }

    .answer-options {
        grid-template-columns: 1fr;
    }

    .comparison-grid,
    .solutions-grid,
    .components-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .navigation-buttons {
        flex-direction: column-reverse;
        /* Puts 'Next' button on top on mobile */
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}