:root {
    /* AT&T-inspired Palette - Phase 2 (Cyan/Lighter) */
    --primary-blue: #00A8E0;
    /* New Cyan */
    --dark-blue: #001E62;
    /* Kept for contrast (Footer/Text) */
    --hero-blue: #0073AA;
    /* A mid-tone for gradients */
    --accent-orange: #E85D00;
    --light-gray: #F2F2F2;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --success-green: #28a745;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    /* Rounded pill style */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 87, 184, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}


/* =========================================
   Header Styles
   ========================================= */
#main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    /* Vertical padding */
}

/* Logo Area */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
}

.logo-icon-svg {
    flex-shrink: 0;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.brand-name-row {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand-part-bold {
    color: var(--dark-blue);
    font-weight: 800;
    /* Extra Bold */
}

.brand-part-thin {
    color: var(--primary-blue);
    /* Cyan */
    font-weight: 300;
    /* Thin */
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-lg);
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-blue);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width var(--transition-fast);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Submenu Styles */
.has-submenu {
    position: relative;
}

.submenu-icon {
    font-size: 0.8rem;
    margin-left: 4px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1000;
}

.submenu li {
    width: 100%;
}

.submenu a {
    display: block;
    padding: 10px 20px !important;
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    border-bottom: none !important;
}

.submenu a:hover {
    background-color: #f9f9f9;
    color: var(--primary-blue) !important;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-active .submenu {
    display: block !important;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    background: transparent;
}

@media (max-width: 992px) {
    .has-submenu .submenu {
        display: none;
    }

    .has-submenu.submenu-open .submenu {
        display: block;
    }

    .submenu-icon {
        transition: transform 0.3s ease;
    }

    .has-submenu.submenu-open .submenu-icon {
        transform: rotate(180deg);
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 168, 224, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-sm:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 168, 224, 0.3);
}

/* =========================================
   Hamburger Menu
   ========================================= */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 3000;
    /* Higher than side menu to close it */
}

/* Mobile Header Controls Container */
.mobile-header-controls {
    display: none;
    /* Hidden by default on desktop */
    align-items: center;
    gap: 15px;
}

/* Mobile Phone Quick Action */
.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 168, 224, 0.3);
}

.mobile-phone-btn:hover {
    transform: scale(1.1) translateY(-2px);
    background-color: var(--dark-blue);
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hamburger to X Animation */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* =========================================
   Mobile View Overrides
   ========================================= */
/* =========================================
   Responsive Header & Mobile Menu
   ========================================= */
@media (max-width: 992px) {
    .header-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
        height: 70px !important;
        width: 100% !important;
    }

    .mobile-header-controls {
        display: flex !important;
        gap: 12px !important;
    }

    .logo {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        flex-shrink: 1;
        min-width: 0;
    }

    .brand-name-row {
        font-size: 1.05rem !important;
        /* Smaller text to avoid push */
        white-space: nowrap;
    }

    .brand-subtitle {
        font-size: 0.55rem !important;
        letter-spacing: 1px !important;
    }

    .hamburger-btn {
        display: flex !important;
        margin-left: 5px !important;
        flex-shrink: 0;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 2500;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 90px 30px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        display: block !important;
        /* Always in DOM, moved by right */
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-bottom: 40px;
    }

    .main-nav ul li a {
        font-size: 1.15rem;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        display: flex !important;
        /* Ensure they show in side menu */
    }

    .header-actions .btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    /* Hide individual elements on header but show in menu */
    .main-nav .header-actions {
        margin-top: auto;
    }
}

/* Extra narrow screens fix */
@media (max-width: 450px) {
    .header-content {
        padding: 0 10px !important;
    }

    .brand-name-row {
        font-size: 0.9rem !important;
    }

    .brand-subtitle {
        font-size: 0.5rem !important;
        letter-spacing: 0.5px !important;
    }

    .logo-icon-svg {
        width: 28px !important;
        height: 28px !important;
    }

    .mobile-phone-btn svg {
        width: 22px;
        height: 22px;
    }

    .mobile-header-controls {
        gap: 8px !important;
    }
}

@media (max-width: 380px) {
    .brand-name-row {
        font-size: 0.8rem !important;
    }

    .brand-subtitle {
        font-size: 0.45rem !important;
    }

    .mobile-header-controls {
        gap: 5px !important;
    }
}

@media (min-width: 993px) {
    .hamburger-btn {
        display: none !important;
    }
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, #f0f8ff 100%);
    /* Lighter, cleaner background */
    color: var(--dark-blue);
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 50;
    min-height: 400px;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 70vh;
        /* Fills most of viewport if alone */
    }
}

/* Optional: Subtle pattern overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#00A8E0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.hero-text {
    flex: 1;
    z-index: 2;
    /* Above pattern */
}

.hero-text p {
    font-size: 1.25rem;
    color: #444;
    /* Darker than --text-light for better contrast */
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    /* For animation */
    animation: slideUpFade 0.8s ease 0.4s forwards;
    max-width: 600px;
}

.hero-text h1 {
    color: var(--dark-blue);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    opacity: 0;
    /* For animation */
    animation: slideUpFade 0.8s ease forwards;
}

/* Moved Search Bar Styles Here */
.hero-search-wrapper {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: var(--spacing-lg);
    opacity: 0;
    animation: slideUpFade 0.8s ease 0.4s forwards;
    display: flex;
    gap: var(--spacing-sm);
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.hero-search-wrapper:focus-within {
    border-color: var(--primary-blue);
    animation: none;
    /* Stop pulsing when user is typing */
}

/* Hide badge on focus */
.hero-search-wrapper:focus-within .search-guide-badge {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Mobile Focus Shift */
@media (max-width: 768px) {
    .hero-section {
        transition: padding 0.4s ease, transform 0.4s ease;
    }

    .hero-section.search-focused {
        padding-top: 5px !important;
    }

    .hero-section.search-focused .hero-text {
        transform: translateY(-40px);
        transition: transform 0.4s ease;
    }

    .hero-section.search-focused .hero-search-wrapper {
        margin-top: 5px;
    }
}

.hero-search-wrapper.pulse-effect {
    animation: slideUpFade 0.8s ease 0.4s forwards, search-pulse 2s infinite 1.2s;
}

@keyframes search-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 224, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 168, 224, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 224, 0);
    }
}

/* Search Guide Badge */
.search-guide-badge {
    position: absolute;
    top: -25px;
    left: 30px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    pointer-events: none;
    animation: bounce 2s infinite;
}

.search-guide-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: var(--accent-orange) transparent transparent transparent;
}

@keyframes bounce {

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

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

.hero-search-wrapper input {
    border: none;
    flex: 1;
    font-size: 1.1rem;
    padding: 8px 16px;
    outline: none;
}

.hero-search-wrapper .btn {
    padding: 12px 32px;
}

/* Autocomplete Dropdown */
/* Autocomplete Dropdown - Bubble Style */
.autocomplete-results {
    position: absolute;
    top: calc(100% + 12px);
    /* Detached from input */
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 24px;
    /* Fully rounded "Bubble" look */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Soft, floating shadow */
    z-index: 2000;
    max-height: 260px;
    overflow-y: auto;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 8px 0;
    /* Internal padding */
}

.autocomplete-results.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.autocomplete-item {
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #f9f9f9;
}

.autocomplete-icon {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* High Demand Banner (Hero) */
.hero-alert-banner {
    background-color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid #FFA500;
    padding: 12px 20px;
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    animation: slideUpFade 0.8s ease forwards;
}

.alert-icon {
    font-size: 1.2rem;
}

.alert-text {
    font-size: 0.9rem;
    color: var(--dark-blue);
    font-weight: 600;
}

/* Hero Image Placeholder Styles */
.hero-image-wrapper {
    flex: 1;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
    overflow: hidden;
    /* Added to keep image inside the borders */
}

/* Make image respect wrapper limits */
.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    /* Force corners to be rounded */
}

/* Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Results Card Integration */
.results-card {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
    margin-top: -80px;
    /* Overlap with hero slightly for deep integration */
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0, 168, 224, 0.1);
}

.results-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    background: #f0f7ff;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 25px;
    border-radius: 50px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

#results-title {
    font-size: 1rem;
    font-weight: 700;
    color: #008BB9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plans-section {
    padding: 80px 0;
    background: #f8fafc;
}

.filter-box {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.filter-box h3 {
    margin-bottom: 0;
    color: var(--dark-blue);
    font-size: 1.5rem;
}

.availability-form {
    display: flex;
    gap: var(--spacing-sm);
    flex: 1;
    max-width: 500px;
}

.availability-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.availability-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: var(--spacing-lg);
    }

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

    .hero-cta {
        align-items: center;
    }

    .filter-box {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .availability-form {
        width: 100%;
    }
}

/* =========================================
   Plans Grid Section
   ========================================= */
.plans-section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-xl);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* Plan Card Component */
.plan-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 87, 184, 0.15);
    border-color: var(--primary-blue);
}

/* Recommended Tag */
.plan-tag {
    background-color: var(--dark-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom-right-radius: 12px;
}

.plan-header {
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
}

.plan-speed {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
}

.plan-speed span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.plan-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: var(--spacing-xs);
}

/* Pricing */
.plan-price {
    margin: var(--spacing-md) 0;
    display: flex;
    align-items: flex-start;
    color: var(--text-dark);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 4px;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--dark-blue);
}

.period-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 4px;
    margin-top: 8px;
}

.period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.term-note {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Features List */
.plan-features {
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
    /* Push CTA to bottom */
}

.plan-features li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.icon-check {
    color: var(--success-green);
    font-weight: bold;
}

/* Removed old logo classes to keep file clean */

/* Card CTA */
.plan-card .btn {
    width: 100%;
}

.legal-text-sm {
    font-size: 0.7rem;
    color: #999;
    margin-top: var(--spacing-sm);
    text-align: center;
}

/* =========================================
   Footer Styles
   ========================================= */
.main-footer {
    background-color: #f7f7f7;
    border-top: 1px solid #e0e0e0;
    padding: var(--spacing-xl) 0;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-legal {
    max-width: 900px;
    margin: 0 auto;
}

.footer-legal p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid #ddd;
    padding-bottom: var(--spacing-md);
}

.footer-links a {
    color: var(--primary-blue);
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.75rem;
    color: #999;
}

/* =========================================
   Modal Styles (Conversion Trap)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 30, 98, 0.8);
    /* Dark Blue overlay */
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    padding: 0;
    /* Changed to 0 to allow internal header styling */
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    /* Don't exceed 90% of screen height */
    overflow: hidden;
    /* Contain the scrollable body */
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    background: var(--white);
    border-bottom: 1px solid #eee;
    z-index: 10;
}

.modal-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    /* Enable internal scrolling */
    flex: 1;
}

/* Modal sizing variants */
.modal-content.large-modal {
    max-width: 900px;
    width: 95%;
}

.modal-content.medium-modal {
    max-width: 700px;
    width: 95%;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.modal-title {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.modal-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.modal-phone {
    display: block;
    background: var(--success-green);
    /* Green for "Go" */
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    transition: transform 0.2s ease;
}

.modal-phone:hover {
    transform: scale(1.05);
}

.close-modal {
    color: var(--text-light);
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

/* =========================================
   Reviews Section
   ========================================= */
.reviews-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.reviews-grid {
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.reviews-grid::-webkit-scrollbar {
    height: 6px;
}

.reviews-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.reviews-grid::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.review-card {
    min-width: 320px;
    flex: 0 0 320px;
    background: #f9f9f9;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid #eee;
    transition: transform var(--transition-fast);
    scroll-snap-align: start;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.reviewer-name {
    font-weight: 700;
    color: var(--dark-blue);
}

.review-stars {
    color: #ffc107;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.reviews-footer {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: var(--spacing-lg);
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.google-rating .stars {
    color: #ffc107;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   Phase 4: Trust & Compliance Styles
   ========================================= */

/* Info Modals (About & Contact) */
.info-modal {
    z-index: 3000;
    /* Higher than conversion modal */
}

.modal-content.large-modal {
    max-width: 900px;
}

.modal-content.medium-modal {
    max-width: 700px;
    width: 95%;
    text-align: left;
}

.close-modal-x {
    font-size: 1.8rem;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    color: var(--dark-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal-x:hover {
    background: var(--light-gray);
    color: var(--accent-orange);
    transform: rotate(90deg);
}

.modal-heading {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.stats-row {
    display: flex;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.map-placeholder {
    background: #e0f7fa;
    height: 100%;
    min-height: 250px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-blue);
    border: 2px dashed var(--primary-blue);
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.info-group {
    display: flex;
    gap: 15px;
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    font-size: 1.5rem;
    background: var(--light-gray);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.phone-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form button {
    align-self: flex-start;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--spacing-md) 0;
    z-index: 4000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.cookie-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.plans-config-bar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lines-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lines-control {
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.line-btn {
    border: none;
    background: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.line-btn:hover {
    background: #f0f0f0;
}

.line-btn.active {
    background: var(--att-blue);
    color: #fff;
}

/* Fix for header overlap & spacing */
.page-view {
    padding-top: 80px;
    /* Header height */
    display: none;
    width: 100%;
    flex-direction: column;
    box-sizing: border-box;
}

/* On Desktop, handle layout structure */
@media (min-width: 992px) {
    .page-view {
        /* JS will set to flex, but we prioritize standard flow if content is long */
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        /* CRITICAL FIX: Ensures sections take 100% width instead of shrinking */
        width: 100%;
    }
}

#view-home {
    padding-top: 0;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .page-view {
        padding-top: 70px;
        min-height: auto;
        /* Removed display:block !important to allow JS to hide views correctly */
    }

    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        left: 10px !important;
        right: 10px !important;
        padding: 20px !important;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   Mobile Optimization (Phase 5)
   ========================================= */

@media (max-width: 768px) {

    /* Global Container Fix */
    .container {
        padding: 0 16px;
        width: 100%;
        overflow-x: hidden;
    }

    /* Hero Section */
    .hero-section {
        padding: 100px 0 40px 0;
        text-align: center;
    }

    .hero-alert-banner {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 1.15rem;
        padding: 0 10px;
        color: #444;
        /* Standard darkened color */
        line-height: 1.45;
        margin-bottom: 25px;
    }

    .hero-search-wrapper {
        flex-direction: column !important;
        gap: 12px;
        padding: 15px;
        width: 100%;
    }

    .hero-search-wrapper input {
        width: 100%;
        border-radius: 50px;
        height: 55px;
        /* Better touch target for latest mobiles */
    }

    .hero-search-wrapper button {
        width: 100%;
        border-radius: 50px;
        height: 55px;
        font-weight: 700;
    }

    /* Modals - Stack Content */
    .modal-content.large-modal,
    .modal-content.medium-modal {
        width: 95%;
        padding: 0;
        /* Important: Body handles internal padding */
        max-height: 95vh;
        margin: 10px;
    }

    .modal-body {
        padding: 20px 10px;
    }

    .modal-body .container {
        padding-left: 5px;
        padding-right: 5px;
        width: 100%;
    }

    .modal-body section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        /* Stack text and image */
        gap: 20px;
    }

    .stats-row {
        flex-direction: column;
        /* Stack stats */
        gap: 15px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .info-group {
        flex-direction: column;
        /* Icon above text */
        align-items: center;
        text-align: center;
    }

    /* Footer & Mobile Tweaks */
    .legal-content {
        padding: 0 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-divider {
        display: none !important;
    }
}

/* =========================================
   Floating Language Toggle Button
   ========================================= */
.floating-lang-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background: var(--white);
    color: var(--dark-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 5000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-transform: uppercase;
}

.floating-lang-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 168, 224, 0.3);
}

.floating-lang-btn:active {
    transform: translateY(-1px) scale(0.98);
}

@keyframes shake {

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

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake-highlight {
    animation: shake 0.3s ease-in-out 3;
    border-color: var(--accent-orange) !important;
    box-shadow: 0 0 15px rgba(232, 93, 0, 0.4) !important;
}

/* Mobile Adjustments for Floating Button */
@media (max-width: 480px) {
    .floating-lang-btn {
        bottom: 20px;
        right: 15px;
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}

/* Base styles for Footer Logos */
.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: nowrap;
    /* Force single row */
}

.footer-logo-brand,
.footer-att-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    /* Standardize size */
    min-width: 140px;
}

.footer-att-logo img {
    height: 28px !important;
    /* Fixed height for consistency */
    width: auto;
}

.footer-logo-brand svg {
    width: 28px !important;
    height: 28px !important;
}

.footer-logo-text,
.footer-att-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.footer-logo-title,
.footer-att-title {
    font-size: 0.85rem;
    color: var(--dark-blue);
    font-weight: 700;
}

.footer-logo-subtitle,
.footer-att-subtitle {
    font-size: 0.6rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.footer-divider {
    width: 1px;
    height: 30px;
    background: #ccc;
    flex-shrink: 0;
}

/* =========================================
   View Section Styles
   ========================================= */
.page-view {
    animation: fadeIn 0.4s ease;
}

/* Fiber Sales View Styles */
.fiber-sales-hero {
    background: linear-gradient(135deg, rgba(0, 30, 98, 0.95) 0%, rgba(0, 168, 224, 0.85) 100%),
        url('../img/fiber-tech-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Modal doesn't need fixed and it causes bugs in some browsers */
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    /* Smooth rounded bottom for the hero section inside modal */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fiber-sales-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(4px);
    z-index: 1;
}

.fiber-sales-hero .container {
    position: relative;
    z-index: 2;
}

.sales-badge {
    background: var(--accent-orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.fiber-sales-hero h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.fiber-sales-hero .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.fiber-features-grid {
    padding: var(--spacing-xl) 0;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fdfdfd;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.fiber-comparison {
    padding: var(--spacing-xl) 0;
    background-color: #f8fafc;
}

.fiber-comparison h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.comparison-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #f1f5f9;
    font-weight: 700;
    color: var(--dark-blue);
}

.highlight-att {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
}

.att-check {
    font-weight: 700;
    color: var(--primary-blue);
}

.device-guide {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.device-guide h3 {
    margin-bottom: 50px;
    font-size: 2rem;
}

.device-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.device-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #eaeaea;
    position: relative;
    transition: all 0.3s ease;
}

.device-card.popular {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
    z-index: 10;
}

.sticky-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.device-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.device-card p {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.device-card .usage {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .fiber-sales-hero h2 {
        font-size: 2.2rem;
    }

    .device-card.popular {
        transform: scale(1);
    }

    /* Comparison Table Mobile Fix */
    .comparison-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        border-radius: 12px;
    }

    .comparison-table {
        min-width: 460px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 6px;
        font-size: 0.85rem;
    }

    .comparison-table th {
        white-space: nowrap;
        font-size: 0.8rem;
    }

    .fiber-comparison h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .fiber-sales-hero {
        padding: 40px 0;
        border-radius: 0 0 25px 25px;
    }
}

/* =========================================
   Modern Order Flow Styles
   ========================================= */
.step-title {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Selected Offer Box */
.selected-offer-box {
    background: #f1f5f9;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-blue);
}

.selected-offer-box .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.plan-badge {
    color: var(--dark-blue);
    font-weight: 800;
    font-size: 1.1rem;
}

.address-text {
    font-size: 0.9rem;
    color: var(--primary-blue);
}

/* Modern Form */
.modern-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.modern-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.modern-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 168, 224, 0.1);
}

/* Choice Buttons */
.email-choice-box {
    text-align: left;
    margin-bottom: 25px;
}

.email-choice-box span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.choice-buttons {
    display: flex;
    gap: 10px;
}

.choice-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.choice-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Loading Ring */
.loading-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid var(--primary-blue);
    border-radius: 50%;
    animation: loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-blue) transparent transparent transparent;
}

.loading-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.loading-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.loading-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes loading-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.p-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.3s;
}

.p-step.active {
    background: var(--primary-blue);
}

.p-step.complete {
    background: var(--success-green);
}

.p-line {
    width: 20px;
    height: 2px;
    background: #e2e8f0;
}

/* Force Call to Action Strategy */
.call-btn.pulse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 35px;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.3);
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.call-btn.pulse:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.4);
    background: #218838;
}

/* Final Action */
.status-icon.warning {
    color: #ffc107;
    font-size: 5rem;
    margin-bottom: 15px;
    display: block;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.final-title {
    color: var(--dark-blue);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

@keyframes bounce {

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

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

    60% {
        transform: translateY(-5px);
    }
}

.final-title {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.final-desc {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 25px;
}

.agent-assignment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.agent-avatar {
    font-size: 1.5rem;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-info .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.agent-name {
    font-weight: 700;
    color: var(--dark-blue);
}

.call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 35px;
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: 50px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.call-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.4);
    background: #1e7e34;
    /* Darker green on hover */
    color: white;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.btn-link {
    background: none;
    border: none;
    color: var(--text-light);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px;
}

.btn-link:hover {
    color: var(--text-dark);
}

.w-100 {
    width: 100%;
}

.loading-animation {
    margin-bottom: 25px;
}

.loading-status {
    color: var(--dark-blue);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--text-light);
}

.choice-btn:hover {
    border-color: var(--primary-blue);
    background: #f0f9ff;
}

.choice-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* =========================================
   WIRELESS VIEW - PREMIUM 2026 REDESIGN
   ========================================= */

.wireless-view-container {
    background: #f4f7fa;
    min-height: 100vh;
}

/* HERO SECTION */
.wireless-hero {
    background: linear-gradient(135deg, #001E62 0%, #0057B8 50%, #00A8E0 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

@media (min-width: 992px) {
    .wireless-hero {
        min-height: 60vh;
    }
}

.wireless-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.wireless-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.wireless-hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.5;
}

/* MICRO STORE */
.wireless-micro-store {
    padding: 60px 0;
    width: 100%;
}

.store-header {
    margin-bottom: 50px;
    text-align: center;
}

.store-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.2;
}

.store-header p {
    font-size: 1.1rem;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
}

.store-header p {
    color: #666;
    font-size: 1.1rem;
}

/* DEVICE GRID */
/* DEVICE GRID */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* DEVICE CARD */
.device-card-store {
    background: white;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    cursor: default;
}

.device-card-store:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: #00A8E0;
}

.device-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #FF7900;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.device-img {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.device-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.device-card-store:hover .device-img img {
    transform: scale(1.05);
}

.device-card-store h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.promo-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 3em;
}

/* DEVICE OPTIONS */
.device-options {
    width: 100%;
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
    margin-bottom: 25px;
}

.opt-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: left;
}

.color-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.trade-in-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
    text-align: left;
}

.trade-in-select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #fff;
    cursor: pointer;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: border-color 0.2s;
}

.trade-in-select:focus {
    outline: none;
    border-color: #00A8E0;
}

.price-legend {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
    font-weight: 500;
}

.color-bubble {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.color-bubble:hover {
    transform: scale(1.15);
}

.color-bubble.active {
    box-shadow: 0 0 0 2px #00A8E0;
    transform: scale(1.1);
}

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

.storage-pill {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    background: #f8f9fa;
    transition: all 0.2s;
}

.storage-pill:hover {
    border-color: #00A8E0;
    background: white;
}

.storage-pill.active {
    background: #00A8E0;
    color: white;
    border-color: #00A8E0;
    box-shadow: 0 4px 10px rgba(0, 168, 224, 0.2);
}

/* CARD PRICING */
.device-price {
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.device-price .currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.device-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.device-price .period {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.select-device-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    border-radius: 50px;
}

/* PLANS SECTION */
.wireless-plans-section {
    background: white;
    padding: 100px 0;
    border-top: 1px solid #eee;
}

.plans-config-bar {
    max-width: 600px;
    margin: 0 auto 60px;
    background: #f4f7fa;
    padding: 30px;
    border-radius: 24px;
    text-align: center;
}

.lines-selector-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.lines-selector-wrapper label {
    font-weight: 700;
    font-size: 1.2rem;
    color: #111;
}

.lines-control {
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.line-btn {
    border: none;
    background: none;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: #666;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.line-btn.active {
    background: #00A8E0;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 168, 224, 0.3);
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .devices-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .wireless-hero {
        padding: 100px 20px 60px;
    }

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

    .device-card-store {
        padding: 30px 20px;
    }

    .device-img {
        height: 250px;
    }

    .device-price .amount {
        font-size: 2.8rem;
    }

    .lines-control {
        width: 100%;
        overflow-x: auto;
    }
}

/* COOKIE BANNER: PREMIUM & HIGH CONTRAST */
.cookie-banner {
    position: fixed !important;
    bottom: -100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 1000px !important;
    background: white !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
    z-index: 1000000 !important;
    padding: 25px 35px !important;
    transition: bottom 0.6s cubic-bezier(0.19, 1, 0.22, 1) !important;
    border: 1px solid #e0e0e0 !important;
}

.cookie-banner.active {
    bottom: 20px !important;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p,
.cookie-content p strong,
.cookie-content p span {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1a1a1b !important;
    /* High contrast black */
    font-weight: 500;
    text-align: left;
}

.cookie-content p {
    margin-right: 20px;
}

.cookie-btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

#accept-cookies {
    background-color: var(--primary-blue) !important;
    color: white !important;
    min-width: 140px;
}

#decline-cookies {
    background-color: #f1f3f4 !important;
    color: #444 !important;
    border: 1px solid #ddd !important;
    min-width: 160px;
}

#decline-cookies:hover {
    background-color: #e8eaed !important;
    color: #000 !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px !important;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btns {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btns button {
        width: 100%;
    }
}

/* MODAL SUMMARY RENDER */
#summary-details {
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
}

#summary-details p {
    margin: 8px 0;
    font-size: 1rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

#summary-details b {
    color: #0f172a;
    display: block;
    margin-bottom: 5px;
}