/* ============================================================
   CyKat Computers - Main Stylesheet
   Colour Palette:
   - Primary Blue:    #1a5fa8
   - Dark Blue:       #0d3d6e
   - Accent Green:    #7ab317 (from logo)
   - Orange:          #e8700a (broadband accent)
   - Dark Teal:       #1e6b5e (fixed wireless)
   - Text Dark:       #1a1a2e
   - Text Mid:        #4a5568
   - Background:      #f8fafc
   - White:           #ffffff
   ============================================================ */

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

:root {
    --blue:       #1a5fa8;
    --blue-dark:  #0d3d6e;
    --blue-light: #e8f1fb;
    --green:      #7ab317;
    --orange:     #e8700a;
    --teal:       #1e6b5e;
    --text:       #1a1a2e;
    --text-mid:   #4a5568;
    --text-light: #718096;
    --bg:         #f8fafc;
    --white:      #ffffff;
    --border:     #e2e8f0;
    --shadow:     0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
    --radius:     12px;
    --radius-sm:  8px;
    --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 700; }

.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-mid); font-size: 1.1rem; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-label {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-secondary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-secondary:hover { background: #639415; border-color: #639415; color: var(--white); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-light); }
.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: #c45e08; border-color: #c45e08; color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Top Bar ---- */
.topbar {
    background: var(--blue-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--white); }
.topbar .icon { margin-right: 4px; }
.social-link { display: flex; align-items: center; gap: 4px; }

/* ---- Header ---- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.main-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-cyk {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--blue-dark);
    letter-spacing: -1px;
}
.logo-at { color: var(--green); }
.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--text-mid);
    text-transform: uppercase;
}

/* Main Nav */
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: var(--blue-light); color: var(--blue); }
.main-nav a.nav-highlight {
    background: linear-gradient(135deg, var(--orange), #f59e0b);
    color: var(--white) !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
}
.main-nav a.nav-highlight:hover { opacity: 0.9; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-remote { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-remote:hover { background: #639415; color: var(--white); }

/* User Menu */
.user-menu { position: relative; }
.btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue);
    transition: all var(--transition);
}
.btn-user:hover { background: var(--blue); color: var(--white); }
.user-avatar {
    width: 26px; height: 26px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem;
}
.btn-user:hover .user-avatar { background: var(--white); color: var(--blue); }
.chevron { font-size: 0.65rem; }
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    display: none;
    z-index: 100;
}
.user-dropdown.open { display: block; }
.user-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.user-dropdown .admin-link { color: var(--orange); font-weight: 600; }

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text);
}
.mobile-nav a:hover { background: var(--blue-light); color: var(--blue); }
.mobile-remote { background: var(--green); color: var(--white) !important; margin-top: 8px; }

/* ---- Hero Section ---- */
.hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #2563eb 100%);
    color: var(--white);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(122,179,23,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--green); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--white); font-family: 'Montserrat', sans-serif; }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.hero-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card-stack { position: relative; }
.hero-main-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(8px);
    text-align: center;
}
.hero-icon-large { font-size: 5rem; margin-bottom: 16px; }
.hero-main-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.hero-main-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.hero-floating-badge {
    position: absolute;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}
.hero-floating-badge.badge-1 { top: -20px; right: -20px; }
.hero-floating-badge.badge-2 { bottom: -20px; left: -20px; }

/* ---- Services Strip ---- */
.services-strip {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.services-strip .container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text-mid); }
.strip-item span:first-child { font-size: 1.2rem; }

/* ---- Section Styles ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--blue-dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.75); }

/* ---- Service Cards ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }
.service-card .service-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; color: var(--blue); margin-top: 14px; }
.service-card .service-link:hover { gap: 8px; }

/* ---- Broadband Section ---- */
.broadband-hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 50%, #0d3d6e 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.broadband-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="60" cy="30" r="0.8" fill="rgba(255,255,255,0.25)"/><circle cx="40" cy="70" r="1.2" fill="rgba(255,255,255,0.15)"/></svg>') repeat;
    opacity: 0.4;
}
.broadband-hero .container { position: relative; z-index: 1; }
.broadband-hero h1 { color: var(--white); }
.broadband-hero h1 span { color: #60a5fa; }
.broadband-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.broadband-features { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.bb-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 600;
}
.bb-feature-icon { font-size: 1.3rem; }

/* Pricing Tables */
.pricing-section { padding: 60px 0; }
.pricing-category {
    margin-bottom: 60px;
}
.pricing-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0;
}
.pricing-category-header.residential { background: var(--blue); }
.pricing-category-header.business { background: var(--orange); }
.pricing-category-header.wireless { background: var(--teal); }
.pricing-category-header h3 { color: var(--white); font-size: 1.3rem; margin: 0; }
.pricing-category-header .cat-icon { font-size: 1.8rem; }

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.pricing-table thead th {
    background: #f1f5f9;
    padding: 14px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}
.pricing-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--blue-light); }
.pricing-table tbody tr.highlighted { background: #fff7ed; }
.pricing-table td { padding: 16px 20px; font-size: 0.95rem; }
.pricing-table .product-name { font-weight: 600; color: var(--text); }
.pricing-table .price { font-weight: 800; font-size: 1.1rem; color: var(--blue); white-space: nowrap; }
.pricing-table .price.orange { color: var(--orange); }
.pricing-table .price.teal { color: var(--teal); }
.pricing-table .speed { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.pricing-table .tech-badge {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 2px;
}

.pricing-disclaimer {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-top: 24px;
}

/* Tech Terms */
.tech-terms {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 32px;
}
.tech-terms h4 { margin-bottom: 14px; color: var(--text); }
.tech-terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.tech-term { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; }
.tech-term strong { color: var(--blue); min-width: 50px; }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 5rem;
    color: var(--blue-light);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testimonial-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-meta h4 { font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-meta .service { font-size: 0.8rem; color: var(--text-light); }
.star-rating .star { color: #d1d5db; font-size: 1rem; }
.star-rating .star.filled { color: #f59e0b; }
.testimonial-content { color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; font-style: italic; }
.testimonial-source {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-light);
    font-style: normal;
}
.source-google { color: #4285f4; font-weight: 600; }
.source-facebook { color: #1877f2; font-weight: 600; }
.source-website { color: var(--green); font-weight: 600; }

/* Google Reviews Widget */
.google-reviews-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
}
.google-rating-big { font-size: 3.5rem; font-weight: 900; color: var(--text); font-family: 'Montserrat', sans-serif; }
.google-rating-stars { font-size: 1.5rem; color: #f59e0b; margin: 4px 0; }
.google-rating-count { font-size: 0.9rem; color: var(--text-mid); }
.google-logo { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 0.85rem; color: var(--text-mid); }

/* ---- Contact Section ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon {
    width: 44px; height: 44px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-item-text h4 { font-size: 0.85rem; color: var(--text-mid); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-text p, .contact-item-text a { font-size: 1rem; color: var(--text); font-weight: 500; }

/* Forms */
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,95,168,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: #dc2626; font-size: 0.82rem; margin-top: 4px; }
.form-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.form-error-msg {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ---- About Section ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-area { position: relative; }
.about-image-card {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    color: var(--white);
}
.about-icon { font-size: 5rem; margin-bottom: 20px; }
.about-image-card h3 { color: var(--white); margin-bottom: 8px; }
.about-image-card p { color: rgba(255,255,255,0.8); }
.about-badge-float {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-badge-float .num { font-size: 1.8rem; font-weight: 900; font-family: 'Montserrat', sans-serif; }
.about-badge-float .label { font-size: 0.75rem; font-weight: 600; }
.about-content .section-label { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.highlight-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; }
.highlight-check { color: var(--green); font-size: 1.1rem; }

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- Remote Support ---- */
.remote-support-card {
    background: linear-gradient(135deg, #0d3d6e, #1a5fa8);
    border-radius: var(--radius);
    padding: 40px;
    color: var(--white);
    text-align: center;
}
.remote-support-card h3 { color: var(--white); margin-bottom: 12px; }
.remote-support-card p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ---- Auth Pages ---- */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--bg);
}
.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .auth-subtitle { text-align: center; color: var(--text-mid); font-size: 0.9rem; margin-bottom: 32px; }
.auth-divider { text-align: center; color: var(--text-light); font-size: 0.85rem; margin: 20px 0; position: relative; }
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--border);
}
.auth-divider span { background: var(--white); padding: 0 12px; position: relative; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-mid); }

/* ---- Portal / Dashboard ---- */
.portal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 40px 0; }
.portal-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
}
.portal-sidebar h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 12px; }
.portal-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}
.portal-nav a:hover, .portal-nav a.active { background: var(--blue-light); color: var(--blue); }
.portal-nav .nav-icon { font-size: 1.1rem; width: 20px; }
.portal-content { min-height: 400px; }
.portal-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.portal-card h3 { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

/* ---- Admin Panel ---- */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--blue-dark);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-header .logo-cyk { color: var(--white); font-size: 1.4rem; }
.admin-sidebar-header .logo-sub { color: rgba(255,255,255,0.6); }
.admin-sidebar-header .admin-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.admin-nav { padding: 16px 0; }
.admin-nav-section { padding: 8px 20px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-top: 12px; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-left: 3px solid var(--green);
    padding-left: 17px;
}
.admin-nav .nav-icon { font-size: 1.1rem; width: 22px; }
.admin-main { background: var(--bg); padding: 32px; overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-header h1 { font-size: 1.6rem; }
.admin-header-actions { display: flex; gap: 12px; align-items: center; }
.admin-user-info { font-size: 0.85rem; color: var(--text-mid); }

/* Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
}
.stat-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.stat-icon.blue { background: var(--blue-light); }
.stat-icon.green { background: #d1fae5; }
.stat-icon.orange { background: #fff7ed; }
.stat-icon.purple { background: #f3e8ff; }
.stat-value { font-size: 1.8rem; font-weight: 800; font-family: 'Montserrat', sans-serif; color: var(--text); }
.stat-label { font-size: 0.82rem; color: var(--text-mid); font-weight: 500; }
.stat-change { font-size: 0.78rem; color: #059669; font-weight: 600; margin-top: 2px; }

/* Admin Tables */
.admin-table-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.admin-table-header h3 { font-size: 1rem; margin: 0; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table thead th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}
.admin-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.admin-table tbody tr:last-child { border-bottom: none; }
.admin-table tbody tr:hover { background: #f8fafc; }
.admin-table td { padding: 14px 16px; font-size: 0.9rem; }
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-new { background: #dbeafe; color: #1e40af; }
.badge-read { background: #f3f4f6; color: #374151; }
.badge-admin { background: var(--orange); color: var(--white); }
.badge-customer { background: var(--blue-light); color: var(--blue); }

/* Charts */
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.chart-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.chart-card h4 { margin-bottom: 20px; font-size: 0.95rem; }

/* Source bars */
.source-bar-list { display: flex; flex-direction: column; gap: 12px; }
.source-bar-item { }
.source-bar-label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 4px; }
.source-bar-label .source-name { font-weight: 600; text-transform: capitalize; }
.source-bar-track { background: var(--border); border-radius: 4px; height: 8px; overflow: hidden; }
.source-bar-fill { height: 100%; border-radius: 4px; background: var(--blue); transition: width 0.6s ease; }
.source-bar-fill.google { background: #4285f4; }
.source-bar-fill.facebook { background: #1877f2; }
.source-bar-fill.direct { background: var(--green); }
.source-bar-fill.other { background: var(--text-light); }
.source-bar-fill.internal { background: var(--orange); }
.source-bar-fill.bing { background: #00809d; }

/* ---- Footer ---- */
.site-footer { background: #0d1b3e; color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-cyk { color: var(--white); font-size: 1.6rem; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    transition: all var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.contact-list a:hover { color: var(--white); }
.contact-list span { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.contact-list small { color: rgba(255,255,255,0.45); font-size: 0.78rem; }
.footer-remote-btn { margin-top: 16px; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.25); }
.footer-remote-btn:hover { background: var(--white); color: var(--blue-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ---- Alerts ---- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info { background: var(--blue-light); border: 1px solid #93c5fd; color: var(--blue-dark); }
.alert-warning { background: #fff7ed; border: 1px solid #fed7aa; color: #92400e; }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text);
    transition: all var(--transition);
}
.pagination a:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.pagination .active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .chart-grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
    .main-nav, .header-actions { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image-area { display: none; }
    .hero { padding: 60px 0; }
    .hero-stats { gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .topbar-right { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .portal-layout { grid-template-columns: 1fr; }
    .portal-sidebar { position: static; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { height: auto; position: static; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .pricing-table { font-size: 0.85rem; }
    .pricing-table td { padding: 12px 14px; }
    .about-highlights { grid-template-columns: 1fr; }
    .broadband-features { flex-direction: column; }
    .section { padding: 60px 0; }
    .auth-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .cta-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .pricing-table thead { display: none; }
    .pricing-table tr { display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; }
    .pricing-table td { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); }
    .pricing-table td:last-child { border-bottom: none; }
    .pricing-table td::before { content: attr(data-label); font-weight: 700; color: var(--text-mid); font-size: 0.8rem; }
}

/* ---- Print ---- */
@media print {
    .topbar, .main-header, .site-footer, .btn, .cta-banner { display: none; }
    body { font-size: 12pt; }
}

/* ---- Additional Badge States ---- */
.badge-active { background: #d1fae5; color: #065f46; }
.badge-inactive { background: #f3f4f6; color: #374151; }
.badge-contacted { background: #dbeafe; color: #1e40af; }
.badge-converted { background: #d1fae5; color: #065f46; }
.badge-closed { background: #f3f4f6; color: #374151; }
.badge-replied { background: #d1fae5; color: #065f46; }
.badge-archived { background: #f3f4f6; color: #374151; }

/* ---- Portal: User Card & Stat Cards ---- */
.portal-user-card {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.portal-user-avatar {
    width: 56px; height: 56px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800;
    margin: 0 auto 10px;
}
.portal-user-name { font-weight: 700; font-size: 1rem; }
.portal-user-email { font-size: 0.8rem; color: var(--text-light); }

.portal-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    transition: all var(--transition);
    text-decoration: none;
}
.portal-nav-item:hover, .portal-nav-item.active { background: var(--blue-light); color: var(--blue); }
.portal-nav-item.logout { color: #dc2626; }
.portal-nav-item.logout:hover { background: #fee2e2; color: #991b1b; }

.portal-stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.portal-stat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.portal-stat-num { font-size: 1.6rem; font-weight: 800; font-family: 'Montserrat', sans-serif; color: var(--blue); }
.portal-stat-label { font-size: 0.8rem; color: var(--text-mid); margin-top: 4px; }

.portal-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-mid);
}
.portal-empty h3 { margin-bottom: 8px; }

/* ---- Page Hero Small ---- */
.page-hero-small {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    padding: 60px 0;
    text-align: center;
}
.page-hero-small h1 { color: var(--white); margin-bottom: 12px; }
.page-hero-small p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* ---- Content Prose ---- */
.content-prose {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.content-prose h2 { font-size: 1.3rem; margin: 28px 0 12px; color: var(--blue-dark); }
.content-prose h2:first-child { margin-top: 0; }
.content-prose p { margin-bottom: 14px; color: var(--text-mid); line-height: 1.8; }
.content-prose ul { margin: 0 0 16px 20px; list-style: disc; }
.content-prose ul li { margin-bottom: 6px; color: var(--text-mid); }
.content-prose a { color: var(--blue); }

/* ---- Auth Card Header ---- */
.auth-card-header { text-align: center; margin-bottom: 28px; }
.auth-card-header h2 { margin-bottom: 8px; }
.auth-card-header p { color: var(--text-mid); font-size: 0.9rem; }

/* ---- Form Helpers ---- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,95,168,0.1); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

/* ---- Alert Messages ---- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: var(--blue-light); color: var(--blue-dark); border: 1px solid #bfdbfe; }

/* ---- Admin-specific missing classes ---- */
.admin-alert {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}
.admin-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.admin-alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
}
.review-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.review-card-author { font-weight: 700; font-size: 0.9rem; }
.review-card-meta { font-size: 0.78rem; color: var(--text-mid); margin-top: 2px; }
.review-card-content { font-size: 0.875rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 12px; }
.review-card-actions { display: flex; gap: 8px; }

/* Source bar rows for traffic analytics */
.source-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.source-bar-label { width: 90px; font-size: 0.82rem; font-weight: 600; color: var(--text); flex-shrink: 0; }
.source-bar-track { flex: 1; background: #f1f5f9; border-radius: 4px; height: 8px; overflow: hidden; }
.source-bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.source-bar-count { width: 40px; text-align: right; font-size: 0.82rem; font-weight: 700; color: var(--text); flex-shrink: 0; }
.source-bar-pct { width: 36px; text-align: right; font-size: 0.78rem; color: var(--text-mid); flex-shrink: 0; }

/* Chart container */
.chart-container { position: relative; width: 100%; height: 240px; }

/* Admin stat cards (admin panel specific) */
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.admin-stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.admin-stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.admin-stat-icon.blue { background: #dbeafe; }
.admin-stat-icon.green { background: #d1fae5; }
.admin-stat-icon.orange { background: #fff7ed; }
.admin-stat-icon.purple { background: #f3e8ff; }
.admin-stat-icon.red { background: #fee2e2; }
.admin-stat-num { font-size: 1.5rem; font-weight: 800; font-family: 'Montserrat', sans-serif; color: var(--text); line-height: 1; }
.admin-stat-label { font-size: 0.78rem; color: var(--text-mid); margin-top: 4px; }

/* Admin card */
.admin-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.admin-card-header h3 { font-size: 0.95rem; margin: 0; }
.admin-card-body { padding: 20px; }
.admin-table-wrap { overflow-x: auto; }

/* Admin buttons */
.btn-admin { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; text-decoration: none; transition: all 0.2s; }
.btn-admin-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-admin-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-admin-success { background: #16a34a; color: var(--white); border-color: #16a34a; }
.btn-admin-success:hover { background: #15803d; color: var(--white); }
.btn-admin-danger { background: #dc2626; color: var(--white); border-color: #dc2626; }
.btn-admin-danger:hover { background: #b91c1c; color: var(--white); }
.btn-admin-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-admin-outline:hover { background: var(--bg); border-color: var(--text-mid); }
.btn-admin-sm { padding: 5px 10px; font-size: 0.78rem; }

/* Admin topbar */
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 28px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.admin-topbar-title { font-size: 1.1rem; font-weight: 700; }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; }
.admin-topbar-actions a { color: var(--text-mid); }
.admin-main-wrap { flex: 1; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; }
.admin-main { flex: 1; padding: 28px; overflow-y: auto; background: var(--bg); }
.admin-nav-badge { background: #dc2626; color: var(--white); font-size: 0.65rem; font-weight: 700; padding: 1px 6px; border-radius: 10px; margin-left: auto; }
.admin-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar-user { display: flex; align-items: center; gap: 10px; }
.admin-sidebar-user-avatar { width: 36px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.admin-sidebar-user a { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.admin-sidebar-user a:hover { color: var(--white); }

/* Google Reviews Widget */
.google-reviews-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.google-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--text-mid); margin-bottom: 12px; }
.google-rating-big { font-size: 3rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: var(--text); line-height: 1; }
.google-rating-stars { font-size: 1.5rem; color: #f59e0b; margin: 6px 0; }
.google-rating-count { font-size: 0.85rem; color: var(--text-mid); }

/* Star Rating */
.star-rating .star { color: #f59e0b; font-size: 1rem; }
.star-rating .star.empty { color: #d1d5db; }

/* mt-16, mt-32 utilities */
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }

/* Broadband specific */
.bb-feature { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 16px; }
.bb-feature-icon { font-size: 1.4rem; }
.broadband-features { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Testimonials grid */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testimonial-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.testimonial-avatar { width: 44px; height: 44px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.testimonial-meta h4 { font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-meta .service { font-size: 0.78rem; color: var(--text-light); margin-bottom: 4px; }
.testimonial-content { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; }
.testimonial-source { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; }
.source-google { color: #4285F4; font-weight: 600; }
.source-facebook { color: #1877f2; font-weight: 600; }
.source-website { color: #059669; font-weight: 600; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; }
.service-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.875rem; color: var(--blue); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1e6b9e 100%); padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(122,179,23,0.12) 0%, transparent 60%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 span { color: #7ab317; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat-num { font-size: 1.8rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: var(--white); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.hero-image-area { display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; }
.hero-main-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--white); }
.hero-icon-large { font-size: 3.5rem; margin-bottom: 16px; }
.hero-main-card h3 { color: var(--white); margin-bottom: 8px; }
.hero-main-card p { color: rgba(255,255,255,0.8); }
.hero-floating-badge { position: absolute; background: var(--white); border-radius: 8px; padding: 8px 14px; font-size: 0.82rem; font-weight: 700; color: var(--text); box-shadow: var(--shadow-lg); }
.badge-1 { top: -16px; right: -20px; color: #059669; }
.badge-2 { bottom: -16px; left: -20px; color: var(--blue); }

/* Services strip */
.services-strip { background: var(--blue-dark); padding: 20px 0; }
.services-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.strip-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 600; }

/* About section */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.about-image-area { position: relative; }
.about-image-card { background: var(--blue); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--white); }
.about-icon { font-size: 3rem; margin-bottom: 16px; }
.about-image-card h3 { color: var(--white); margin-bottom: 8px; }
.about-image-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.about-badge-float { position: absolute; bottom: -20px; right: -20px; background: var(--white); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow-lg); text-align: center; }
.about-badge-float .num { font-size: 1.8rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: var(--blue); }
.about-badge-float .label { font-size: 0.75rem; color: var(--text-mid); }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 28px; }
.highlight-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; }
.highlight-check { color: #059669; font-weight: 700; }

/* Section helpers */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }

/* Topbar */
.topbar { background: var(--blue-dark); padding: 8px 0; font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a { color: rgba(255,255,255,0.8); }
.topbar a:hover { color: var(--white); }
.topbar .icon { margin-right: 4px; }
.topbar span { color: rgba(255,255,255,0.7); }
.social-link { color: rgba(255,255,255,0.8); }

/* Main Header */
.main-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 90; transition: box-shadow var(--transition); }
.main-header.scrolled { box-shadow: var(--shadow-lg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo { text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-cyk { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--blue-dark); letter-spacing: 2px; }
.logo-at { color: var(--green); }
.logo-sub { font-size: 0.55rem; letter-spacing: 0.25em; color: var(--text-mid); font-weight: 700; text-transform: uppercase; }
.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; color: var(--text); transition: all var(--transition); }
.main-nav a:hover, .main-nav a.active { background: var(--blue-light); color: var(--blue); }
.main-nav a.nav-highlight { color: var(--orange); }
.main-nav a.nav-highlight:hover { background: #fff7ed; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 12px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav a { display: block; padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-remote { color: var(--orange) !important; }

/* User dropdown */
.user-menu { position: relative; }
.btn-user { display: flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.user-avatar { width: 28px; height: 28px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }
.chevron { font-size: 0.65rem; color: var(--text-light); }
.user-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 180px; z-index: 100; }
.user-dropdown.open { display: block; }
.user-dropdown a { display: block; padding: 10px 16px; font-size: 0.875rem; color: var(--text); border-bottom: 1px solid var(--border); }
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { background: var(--bg); }
.user-dropdown .admin-link { color: var(--orange); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-secondary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-secondary:hover { background: #6a9c14; color: var(--white); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Footer */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; }
.footer-logo .logo-cyk { color: var(--white); font-size: 1.4rem; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; transition: all var(--transition); }
.social-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-col ul a:hover { color: var(--white); }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.875rem; }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.contact-list a { color: rgba(255,255,255,0.8); }
.footer-remote-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.footer-remote-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image-area { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-area { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; }
    .header-actions .btn:not(.btn-remote) { display: none; }
    .mobile-menu-toggle { display: flex; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .portal-layout { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 16px; }
    .hero-actions { flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .content-prose { padding: 24px; }
    .section { padding: 50px 0; }
}
