/* 
   Palm Beach Computer Support 
   Main Stylesheet
*/

:root {
    /* Color Palette - Modern Tech Soft Design */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Accents */
    --accent-indigo: #818cf8;
    --accent-teal: #2dd4bf;
    --accent-violet: #a78bfa;
    --accent-rose: #fb7185;
    --accent-amber: #fbbf24;
    --accent-emerald: #34d399;
    
    /* Core Layout */
    --nav-height: 80px;
    --section-pad: 100px 0;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.3s ease;
    --trans-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-warm {
    background: linear-gradient(135deg, #f43f5e, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-ai {
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-indigo), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent-indigo);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-urgent {
    background: rgba(251, 113, 133, 0.1);
    color: var(--accent-rose);
    border-color: rgba(251, 113, 133, 0.2);
}

.tag-ai {
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-violet);
    border-color: rgba(167, 139, 250, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-rose);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(251, 113, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--trans-fast);
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: white;
    box-shadow: 0 10px 20px -10px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-emergency {
    background: linear-gradient(135deg, #e11d48, #fb923c);
    color: white;
    box-shadow: 0 10px 25px -10px rgba(225, 29, 72, 0.6);
    font-size: 1.125rem;
    padding: 16px 32px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--trans-normal);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-text {
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: white;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent-indigo);
    color: white;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(14, 165, 233, 0.2));
    border: 1px solid rgba(129, 140, 248, 0.3);
}

.nav-cta:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(14, 165, 233, 0.4));
    border-color: rgba(129, 140, 248, 0.6);
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: var(--trans-normal);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(30, 27, 75, 0.8), var(--bg-primary)),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.9), var(--bg-primary));
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: grid-move 20s linear infinite;
    opacity: 0.5;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

.hero-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px; height: 400px;
    background: var(--accent-indigo);
    top: -100px; right: -100px;
}

.orb-2 {
    width: 300px; height: 300px;
    background: var(--accent-teal);
    bottom: -50px; left: -50px;
    animation-delay: -3s;
}

.orb-3 {
    width: 250px; height: 250px;
    background: var(--accent-violet);
    top: 30%; left: 20%;
    opacity: 0.2;
    animation-delay: -7s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

.hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.badge-dot {
    width: 6px; height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.7;
    transition: var(--trans-normal);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Sections Base */
.section {
    padding: var(--section-pad);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Services Section */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--trans-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-indigo), var(--accent-teal));
    opacity: 0;
    transition: var(--trans-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(129, 140, 248, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-indigo);
    margin-bottom: 24px;
}

.icon-teal { background: rgba(45, 212, 191, 0.1); color: var(--accent-teal); }
.icon-violet { background: rgba(167, 139, 250, 0.1); color: var(--accent-violet); }
.icon-rose { background: rgba(251, 113, 133, 0.1); color: var(--accent-rose); }
.icon-amber { background: rgba(251, 191, 36, 0.1); color: var(--accent-amber); }
.icon-emerald { background: rgba(52, 211, 153, 0.1); color: var(--accent-emerald); }

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent-indigo);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-teal { background: rgba(45, 212, 191, 0.1); color: var(--accent-teal); }
.tag-violet { background: rgba(167, 139, 250, 0.1); color: var(--accent-violet); }
.tag-rose { background: rgba(251, 113, 133, 0.1); color: var(--accent-rose); }
.tag-amber { background: rgba(251, 191, 36, 0.1); color: var(--accent-amber); }
.tag-emerald { background: rgba(52, 211, 153, 0.1); color: var(--accent-emerald); }

/* Emergency Section */
.emergency {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.emergency-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center right, rgba(225, 29, 72, 0.05), transparent 60%);
}

.emergency-pulse {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-large 4s ease-in-out infinite alternate;
}

@keyframes pulse-large {
    0% { transform: translateY(-50%) scale(0.9); opacity: 0.5; }
    100% { transform: translateY(-50%) scale(1.1); opacity: 1; }
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.emergency-left {
    flex: 1;
}

.emergency-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.emergency .section-title.light,
.emergency .section-desc.light {
    text-align: left;
    margin-left: 0;
}

.emergency-features {
    margin: 40px 0;
    display: grid;
    gap: 24px;
}

.emergency-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-rose);
    background: rgba(225, 29, 72, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    line-height: 1;
}

.emergency-feature h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.emergency-feature p {
    color: var(--text-secondary);
}

.emergency-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(251, 113, 133, 0.3);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 { width: 100px; height: 100px; border: 2px solid rgba(251,113,133,0.5); }
.ring-2 { width: 250px; height: 250px; }
.ring-3 { width: 400px; height: 400px; border-style: dashed; }

.radar-center {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e11d48, #fb923c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(225, 29, 72, 0.5);
}

.radar-sweep {
    position: absolute;
    top: 50%; left: 50%;
    width: 200px; height: 200px;
    background: conic-gradient(from 0deg, transparent 70%, rgba(251, 113, 133, 0.4) 100%);
    transform-origin: top left;
    animation: sweep 4s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 100% 0 0 0;
}

@keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Security Section */
.security {
    background: var(--bg-primary);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.security-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(129, 140, 248, 0.2);
    overflow: hidden;
}

.security-card-bg {
    position: absolute;
    top: -50%; right: -20%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.security-icon {
    width: 80px;
    height: 80px;
    background: rgba(129, 140, 248, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-indigo);
    margin-bottom: 24px;
}

.card-featured .security-icon {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    margin-bottom: 0;
}

.security-card h3 {
    font-size: 1.75rem;
}

.security-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.security-list li::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
}

/* Cabling Section */
.cabling {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
    border-top: 1px solid rgba(255,255,255,0.02);
}

.cabling-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.cabling-info {
    flex: 1;
}

.cabling-info .section-title,
.cabling-info .section-desc {
    text-align: left;
}

.cabling-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.cabling-feature {
    display: flex;
    gap: 20px;
}

.cabling-feature-icon {
    width: 56px; height: 56px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cabling-feature h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.cabling-feature p {
    color: var(--text-secondary);
}

.cabling-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cable-demo {
    width: 100%;
    max-width: 450px;
    background: #0f172a;
    border: 12px solid #1e293b;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
}

.rack-frame {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rack-unit {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 12px 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch-ports, .patch-ports {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    width: 70%;
}

.port {
    width: 14px; height: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 2px;
    position: relative;
}

.port.active::after {
    content: '';
    position: absolute;
    top: -4px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 2px;
    background: var(--accent-emerald);
    box-shadow: 0 0 5px var(--accent-emerald);
    border-radius: 1px;
}

.patch-port {
    width: 12px; height: 12px;
    background: #334155;
    border-radius: 50%;
}

.switch-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: right;
    width: 30%;
}

.server-face {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 70%;
}

.server-drives {
    display: flex;
    gap: 4px;
}

.drive {
    width: 20px; height: 30px;
    background: #334155;
    border-radius: 2px;
    border-left: 2px solid #475569;
}

.status-led {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

.status-led.green { background: var(--accent-emerald); box-shadow: 0 0 5px var(--accent-emerald); }
.status-led.amber { background: var(--accent-amber); box-shadow: 0 0 5px var(--accent-amber); }

.ups-face {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 70%;
}

.ups-bar {
    width: 60px; height: 10px;
    background: #0f172a;
    border-radius: 5px;
    overflow: hidden;
}

.ups-fill {
    width: 100%; height: 100%;
    background: var(--accent-indigo);
}

.ups-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-emerald);
}

/* AI Section */
.ai-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.ai-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.3;
}

.neural-net {
    position: absolute;
    width: 100%; height: 100%;
    /* Created dynamically via JS */
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    margin-bottom: 60px;
}

.ai-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--trans-normal);
}

.ai-card:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(30, 41, 59, 0.9);
}

.ai-card-main {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(45, 212, 191, 0.1));
}

.ai-card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-icon-wrap {
    width: 64px; height: 64px;
    background: rgba(167, 139, 250, 0.2);
    color: var(--accent-violet);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.wrap-teal { background: rgba(45, 212, 191, 0.2); color: var(--accent-teal); }
.wrap-rose { background: rgba(251, 113, 133, 0.2); color: var(--accent-rose); }

.ai-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.ai-tag {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* AI News */
.ai-news {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.news-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-badge {
    background: var(--accent-indigo);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-ticker {
    display: flex;
    padding: 24px 32px;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-indigo) var(--bg-primary);
}

.news-ticker::-webkit-scrollbar {
    height: 6px;
}

.news-ticker::-webkit-scrollbar-thumb {
    background-color: var(--accent-indigo);
    border-radius: 3px;
}

.news-item {
    min-width: 300px;
    flex: 1;
}

.news-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-violet);
    margin-bottom: 8px;
    display: block;
}

.news-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.news-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Coverage Map Section */
.coverage {
    background: var(--bg-secondary);
}

.coverage-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.coverage-info {
    flex: 1;
}

.coverage-info .section-title,
.coverage-info .section-desc {
    text-align: left;
}

.area-list {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.area-column h4 {
    color: var(--accent-teal);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.area-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.area-column li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.area-column li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
}

.coverage-map {
    flex: 1;
}

.map-visual {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.florida-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.county {
    transition: var(--trans-normal);
    cursor: default;
}

.county:hover {
    fill-opacity: 0.5;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--trans-normal);
}

.contact-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-5px);
}

.contact-icon {
    width: 64px; height: 64px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--accent-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.contact-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--trans-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-indigo);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' 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 16px center;
    padding-right: 48px;
}

.form-group select option {
    background: var(--bg-primary);
    color: white;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #0b1120;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 300px;
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-indigo);
}

.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-contact a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 3.5rem; }
    
    .emergency-content,
    .cabling-layout,
    .coverage-layout {
        flex-direction: column;
    }
    
    .emergency-right, .cabling-visual, .coverage-map {
        width: 100%;
        margin-top: 40px;
    }
    
    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ai-card-main {
        grid-column: span 2;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #contactLocation {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 60px 0;
    }
    
    .nav-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        clip-path: circle(0 at top right);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at top right);
    }
    
    .nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    
    .security-grid { grid-template-columns: 1fr; }
    .card-featured { grid-template-columns: 1fr; grid-column: span 1; }
    
    .ai-grid { grid-template-columns: 1fr; }
    .ai-card-main { grid-column: span 1; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    .contact-grid { grid-template-columns: 1fr; }
    #contactLocation { grid-column: span 1; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
