/* BeFriendly Tech Support - Brutalist Design System */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    border-bottom: 4px solid #000;
    padding: 30px 0;
    margin-bottom: 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .logo {
    font-size: 24px;
    font-weight: bold;
}

nav .links {
    display: flex;
    gap: 30px;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    border-bottom: 2px solid #059669;
}

/* Sticky Top Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 4px solid #000;
    z-index: 1000;
    padding: 15px 0;
}

.sticky-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sticky-nav .logo {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.sticky-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.sticky-nav ul li:before {
    content: none; /* Remove default bullet */
}

.sticky-nav a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.sticky-nav a:hover {
    background: #f5f5f5;
    border-bottom-color: #059669;
}

.sticky-nav a.active {
    background: #059669;
    color: #fff;
    border-bottom-color: #059669;
}

/* Book Now button in sticky nav */
.sticky-nav .book-now-btn {
    border: 3px solid #000;
    border-bottom: 3px solid #000 !important;
    padding: 8px 20px;
}

.sticky-nav .book-now-btn:hover {
    background: #000;
    color: #fff;
    border-bottom-color: #000 !important;
}

.sticky-nav .book-now-btn.active {
    background: #059669;
    color: #fff;
    border: 3px solid #059669;
    border-bottom-color: #059669 !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 20px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border: 4px solid #000;
}

.btn:hover {
    background: #fff;
    color: #000;
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 4px solid #000;
}

.btn-secondary:hover {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

/* Headings */
h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
    border-left: 8px solid #059669;
    padding-left: 20px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Sections */
section {
    margin-bottom: 80px;
}

/* Hero */
.hero {
    padding: 60px 0;
    border: 4px solid #000;
    margin-bottom: 60px;
    background: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.2;
}

.hero .price {
    font-size: 48px;
    font-weight: bold;
    margin: 30px 0;
    color: #059669;
}

.subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

/* Stats */
.stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin: 60px 0;
    background: #ffff00;
    border: 4px solid #000;
    padding: 40px 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 72px;
    font-weight: bold;
    color: #000;
}

.stat-label {
    font-size: 16px;
    margin-top: 10px;
    font-weight: bold;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.card {
    border: 3px solid #000;
    padding: 30px;
    transition: all 0.2s ease;
}

.card:hover {
    background: #ffff00;
    transform: translateY(-2px);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.price-card {
    border: 4px solid #000;
    padding: 40px;
    text-align: center;
    transition: all 0.2s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 #000;
}

.price-card.featured {
    background: #059669;
    color: #fff;
    border-color: #059669;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 8px 8px 0 #000;
}

.price-card.featured h3 {
    background: #ffff00;
    color: #000;
    padding: 10px;
    margin: -40px -40px 20px -40px;
}

.price-amount {
    font-size: 64px;
    font-weight: bold;
    margin: 20px 0;
}

/* Lists */
ul {
    list-style: none;
}

ul li:before {
    content: "■ ";
    color: #059669;
    font-weight: bold;
    margin-right: 10px;
}

/* Guarantee box */
.guarantee-box {
    text-align: center;
    padding: 60px 40px;
    border: 4px solid #000;
    margin: 60px 0;
    background: #ffff00;
}

/* Comparison */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 4px solid #000;
}

.comparison-col {
    padding: 40px;
    border-right: 4px solid #000;
}

.comparison-col:last-child {
    border-right: none;
    background: #059669;
    color: #fff;
}

.comparison-col:last-child h3 {
    color: #fff;
}

.comparison-col:last-child li:before {
    color: #ffff00;
}

.comparison h3 {
    margin-bottom: 20px;
}

.comparison ul {
    margin-top: 20px;
}

.comparison li {
    margin-bottom: 15px;
}

/* Scenarios */
.scenario-card {
    border: 3px solid #000;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.2s ease;
}

.scenario-card:hover {
    border-left: 8px solid #059669;
}

.scenario-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 8px solid #ffff00;
    padding-left: 15px;
    font-style: italic;
}

.scenario-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scenario-problem,
.scenario-solution {
    padding-bottom: 15px;
}

.scenario-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 5px;
}

.scenario-result strong {
    font-size: 24px;
    color: #059669;
}

/* FAQ */
.faq-item {
    border: 3px solid #000;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-left: 8px solid #ffff00;
    background: #fafafa;
}

/* Real Example / Case Study */
.case-study {
    border: 4px solid #000;
    padding: 40px;
    margin-top: 40px;
}

.case-study h3 {
    font-size: 28px;
    margin-bottom: 20px;
    border-left: 8px solid #ffff00;
    padding-left: 15px;
}

.case-study h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #666;
    letter-spacing: 1px;
}

.case-study-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.case-study-stat {
    padding: 20px;
    text-align: center;
}

.case-study-stat.highlight {
    background: #059669;
    color: #fff;
    border: 3px solid #059669;
}

.case-study-stat.highlight .stat-value {
    color: #fff;
}

.case-study-stat .stat-value {
    font-size: 48px;
    font-weight: bold;
    color: #059669;
}

.case-study-stat .stat-desc {
    font-size: 14px;
    margin-top: 5px;
}

/* CTA Section */
.cta-section {
    background: #059669;
    color: #fff;
    border: 4px solid #000;
}

.cta-section h2 {
    color: #fff;
    border-left-color: #ffff00;
}

.cta-section .btn {
    background: #ffff00;
    color: #000;
    border-color: #000;
}

.cta-section .btn:hover {
    background: #000;
    color: #fff;
}

/* Footer */
footer {
    border-top: 4px solid #000;
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
}

/* Login Overlay */
#login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#login-overlay.hidden {
    display: none;
}

.login-box {
    border: 4px solid #000;
    padding: 60px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.login-box h2 {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 15px;
    border: 3px solid #000;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.login-box input:focus {
    outline: none;
    border-color: #059669;
}

.login-error {
    color: #ff0000;
    margin-bottom: 20px;
    font-weight: bold;
}

#main-content {
    display: none;
}

#main-content.visible {
    display: block;
}

/* Screen reader only (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .sticky-nav ul {
        gap: 10px;
    }

    .sticky-nav a {
        font-size: 12px;
        padding: 12px 14px; /* Increased from 6px 10px for better touch targets */
        min-height: 44px; /* WCAG 2.1 Level AAA minimum touch target */
        display: inline-flex;
        align-items: center;
    }

    .sticky-nav .logo {
        font-size: 16px;
        padding: 12px 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .comparison-col {
        border-right: none;
        border-bottom: 4px solid #000;
    }

    .comparison-col:last-child {
        border-bottom: none;
    }

    h1 {
        font-size: 32px;
    }

    .hero h1 {
        font-size: 42px;
    }

    nav .links {
        display: none;
    }
}
