:root {
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f4f4;
    --text-main: #000000;
    --text-muted: #555555;
    --accent-cyan: #000000;
    --accent-purple: #000000;
    --accent-green: #000000;
    --border-color: #000000;
}

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

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.highlight-text {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: white;
    border-bottom: 2px solid var(--border-color);
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid black;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: black;
}

nav a {
    color: var(--text-main);
    text-decoration: underline;
    margin-left: 2rem;
    font-weight: bold;
}

nav a:hover {
    background-color: black;
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid black;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid black;
    background: white;
    color: black;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 4px 4px 0px black;
}

.btn:hover {
    background: black;
    color: white;
    box-shadow: 2px 2px 0px black;
    transform: translate(2px, 2px);
}

.btn-primary {
    background: black;
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Sections */
.section {
    padding: 8rem 0;
}

/* Hero */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 2px dashed black;
}

.hero-bg {
    display: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.subhead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Section */
.why-section {
    background: white;
    border-top: 2px dashed black;
    border-bottom: 2px dashed black;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hook {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.solution-card {
    background: var(--bg-card);
    border: 2px solid black;
    padding: 3rem;
    box-shadow: 8px 8px 0px black;
    margin-bottom: 2rem;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border: 2px solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: black;
}

/* Tri-Fi Section */
.trifi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.network-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.network-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border: 2px solid black;
    box-shadow: 4px 4px 0px black;
}

.dot {
    width: 16px;
    height: 16px;
    border: 2px solid black;
    margin-top: 4px;
}

.color-cyan { background: white; }
.color-purple { background: #ccc; }
.color-green { background: #666; }

.trifi-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    background: repeating-linear-gradient(
        45deg,
        white,
        white 10px,
        #f0f0f0 10px,
        #f0f0f0 20px
    );
}

.router-node {
    display: none;
}
.router-lights {
    display: none;
}
.signals {
    display: none;
}
img.trifi-visual {
    opacity: 0.5;
    filter: grayscale(100%);
    border: 2px solid black;
}

/* Setup Section */
.text-center { text-align: center; }
.subtitle { color: var(--text-muted); margin-bottom: 4rem; font-size: 1.25rem; }

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border: 2px solid black;
    padding: 3rem 2rem;
    position: relative;
    box-shadow: 4px 4px 0px black;
}

.step-number {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
}

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

/* Footer */
footer {
    padding: 4rem 0 2rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 2px dashed black;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .navbar nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 2px solid black;
        padding: 1rem 0;
    }

    .navbar nav.active {
        display: flex;
    }

    .navbar nav a {
        margin: 1rem 0;
        text-align: center;
    }

    .trifi-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .trifi-visual {
        margin-top: 4rem;
    }
}

/* Plans Page Styles */
.plans-hero {
    position: relative;
    padding: 12rem 0 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 2px dashed black;
}

.address-search-container {
    margin-top: 3rem;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.address-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid black;
    padding: 0.5rem;
    box-shadow: 4px 4px 0px black;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: black;
}

.address-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1rem 1rem 3.5rem;
    color: black;
    font-family: inherit;
    font-size: 1.125rem;
    outline: none;
}

.address-input::placeholder {
    color: var(--text-muted);
}

.btn-search {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.plans-section {
    padding: 4rem 0 8rem;
}

.plans-table-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.plans-track {
    display: flex;
    gap: 2rem;
    justify-content: center;
    min-width: max-content;
}

.plan-card {
    background: white;
    border: 2px solid black;
    padding: 2.5rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 8px 8px 0px black;
}

.plan-card.featured-plan {
    border: 4px dashed black;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    padding: 0.25rem 1rem;
    border: 2px solid black;
    font-weight: bold;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px dashed black;
    padding-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1;
    margin: 0 0.25rem;
}

.plan-price .period {
    color: var(--text-muted);
}

.plan-speeds {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 2px dashed black;
}

.speed {
    text-align: center;
}

.speed-value {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.speed-unit {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
}

.speed-label {
    font-size: 0.75rem;
    color: black;
    text-transform: uppercase;
    text-decoration: underline;
    margin-top: 5px;
    display: block;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: black;
}

.plan-features li::before {
    content: '[x]';
    position: absolute;
    left: 0;
    color: black;
    font-family: monospace;
}

.btn-full {
    width: 100%;
    text-align: center;
}

@media (max-width: 1200px) {
    .plans-track {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .address-search-wrapper {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
    }
    
    .address-input {
        width: 100%;
        background: white;
        border: 2px solid black;
        margin-bottom: 1rem;
        box-shadow: 4px 4px 0px black;
    }
    
    .search-icon {
        top: 1.15rem;
    }
    
    .btn-search {
        width: 100%;
        white-space: normal;
    }
}
