/* WaveSPAN Communications, Inc. - Main Stylesheet */

:root {
    --primary: #0055a5;
    --primary-dark: #003d7a;
    --primary-light: #1a6fc4;
    --accent: #00aaff;
    --accent2: #00d4ff;
    --text-dark: #1a1a2e;
    --text-mid: #444;
    --text-light: #777;
    --bg-light: #f4f8fd;
    --bg-white: #ffffff;
    --border: #dde8f5;
    --success: #28a745;
    --shadow: 0 4px 18px rgba(0,85,165,0.10);
    --shadow-lg: 0 8px 40px rgba(0,85,165,0.15);
    --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

/* ── TOPBAR ── */
.topbar {
    background: var(--primary-dark);
    color: #cce4ff;
    font-size: 0.82rem;
    padding: 6px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.topbar a { color: #cce4ff; }
.topbar a:hover { color: #fff; }
.topbar .topbar-left, .topbar .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .topbar-left span, .topbar .topbar-right span { display: flex; align-items: center; gap: 5px; }

/* ── HEADER / NAV ── */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 12px rgba(0,85,165,0.10);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}
.logo img { height: 52px; width: auto; }
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo-text span { color: var(--accent); }

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
nav ul li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--radius);
    transition: all .2s;
}
nav ul li a:hover, nav ul li a.active {
    color: var(--primary);
    background: var(--bg-light);
}
nav ul li.nav-cta a {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
}
nav ul li.nav-cta a:hover {
    background: var(--primary-dark);
    color: #fff;
}
nav ul li.nav-pay a {
    background: var(--success);
    color: #fff;
    padding: 8px 18px;
}
nav ul li.nav-pay a:hover {
    background: #1e8e3e;
    color: #fff;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .3s;
}

/* ── CONTAINER ── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 54px 0 48px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-content h1 span { color: var(--accent2); }
.hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all .2s;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--accent2);
    color: var(--primary-dark);
    border-color: var(--accent2);
}
.btn-primary:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}
.btn-green {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}
.btn-green:hover { background: #1e8e3e; border-color: #1e8e3e; color: #fff; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.signal-graphic {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.signal-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: pulse-ring 3s ease-out infinite;
}
.signal-ring:nth-child(1) { width: 80px; height: 80px; animation-delay: 0s; }
.signal-ring:nth-child(2) { width: 140px; height: 140px; animation-delay: 0.6s; }
.signal-ring:nth-child(3) { width: 200px; height: 200px; animation-delay: 1.2s; }
.signal-ring:nth-child(4) { width: 260px; height: 260px; animation-delay: 1.8s; }
.signal-core {
    width: 60px;
    height: 60px;
    background: rgba(0,212,255,0.3);
    border-radius: 50%;
    border: 3px solid var(--accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    font-size: 1.6rem;
}
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0; }
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 30px 0;
    position: relative;
    z-index: 2;
    margin-top: -1px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

/* ── SECTIONS ── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}
.section-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.section-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ── SERVICES ── */
#services { background: var(--bg-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: all .3s;
    border-top: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary);
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ── ABOUT ── */
#about { background: var(--bg-white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.about-content p {
    color: var(--text-mid);
    margin-bottom: 14px;
    line-height: 1.75;
}
.about-list {
    list-style: none;
    margin: 24px 0;
}
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-mid);
}
.about-list li::before {
    content: '✓';
    background: var(--primary);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.about-visual {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    padding: 48px 36px;
    color: #fff;
    text-align: center;
}
.about-visual h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.coverage-area {
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.7;
}
.coverage-area strong { font-size: 1.1rem; display: block; margin-bottom: 6px; }

/* ── ACTION CARDS ── */
#action { background: var(--bg-light); }
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.action-card {
    border-radius: 14px;
    padding: 48px 40px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transition: transform .3s;
}
.action-card:hover { transform: translateY(-5px); }
.action-card.order-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}
.action-card.pay-card {
    background: linear-gradient(135deg, #1a7e3a, #28a745);
}
.action-card .card-icon { font-size: 3rem; margin-bottom: 20px; }
.action-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.action-card p { opacity: 0.88; margin-bottom: 28px; line-height: 1.65; }
.action-card .btn {
    font-size: 1rem;
    padding: 14px 36px;
}

/* ── CONTACT ── */
#contact { background: var(--bg-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 18px; }
.contact-info p { color: var(--text-mid); margin-bottom: 30px; line-height: 1.7; }
.contact-details { list-style: none; }
.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--primary);
}
.contact-details li .info strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 3px;
}
.contact-details li .info span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-form-box {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 40px 36px;
}
.contact-form-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: border-color .2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,85,165,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit .btn {
    width: 100%;
    text-align: center;
    padding: 13px;
    font-size: 1rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}
.form-submit .btn:hover { background: var(--primary-dark); }

/* ── FOOTER ── */
footer {
    background: var(--text-dark);
    color: #aab8cc;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { font-size: 1.25rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 280px; }
footer h4 {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a {
    color: #aab8cc;
    font-size: 0.9rem;
    transition: color .2s;
}
footer ul li a:hover { color: var(--accent2); }
.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom a { color: #aab8cc; }
.footer-bottom a:hover { color: var(--accent2); }

/* ── ALERT BANNER ── */
.msg-box {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.92rem;
    display: none;
}
.msg-box.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.msg-box.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content h1 { font-size: 1.9rem; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .action-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px 24px; box-shadow: var(--shadow-lg); gap: 4px; }
    nav ul.open { display: flex; }
    nav ul li.nav-cta, nav ul li.nav-pay { margin-top: 8px; }
    nav ul li.nav-cta a, nav ul li.nav-pay a { text-align: center; }
    .hamburger { display: flex; }
    header { position: relative; }
    .topbar .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
    .hero { padding: 60px 0; }
}
