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

:root {
    --primary: #0A0E27;
    --accent: #00D9FF;
    --accent-glow: rgba(0, 217, 255, 0.3);
    --text: #F8F9FA;
    --text-secondary: #B4B9C9;
    --surface: #14182E;
    --gradient: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.bg-gradient-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bg-gradient-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

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

/* Header */
header {
    position: relative;
    z-index: 10;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent) 0%, #00B8D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    margin-top: 8px;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent);
}

.nav-dropdown.active .dropdown-content {
    display: block;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 30px var(--accent-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #00B8D4 50%, #7C4DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.btn {
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 40px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(0, 217, 255, 0.1);
}

/* Leak Section */
.leak-section {
    padding: 80px 0;
}

.leak-header {
    text-align: center;
    margin-bottom: 60px;
}

.leak-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #FF4757;
}

.leak-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
}

.leak-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.leak-card {
    padding: 40px;
    background: var(--surface);
    border-radius: 20px;
    border: 2px solid rgba(255, 71, 87, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.leak-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 71, 87, 0.4);
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.2);
}

.leak-number {
    font-size: 56px;
    font-weight: 700;
    color: #FF4757;
    margin-bottom: 8px;
}

.leak-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.leak-arrow {
    font-size: 32px;
    color: var(--accent);
    margin: 16px 0;
}

.leak-result {
    font-size: 24px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.leak-result.loss {
    background: rgba(255, 71, 87, 0.1);
    color: #FF4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.leak-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.service-grid-core {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card-large {
    padding: 48px;
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), #7C4DFF);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card-large:hover::before {
    transform: scaleX(1);
}

.service-card-large:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #00B8D4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 28px;
}

.service-card-large h3 {
    font-size: 28px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-highlight {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 16px;
}

.service-card-large > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 16px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 15px;
}

/* Demo Section */
.demo-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.demo-box {
    background: linear-gradient(135deg, #14182E 0%, #1E2441 100%);
    border-radius: 32px;
    padding: 80px 60px;
    border: 2px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 80px rgba(0, 217, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.demo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

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

.demo-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.demo-content h2 {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.demo-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.demo-widget {
    max-width: 700px;
    margin: 0 auto 50px;
    background: rgba(10, 14, 39, 0.6);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.demo-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.phone-icon {
    font-size: 64px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.phone-details {
    text-align: left;
}

.phone-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.phone-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.phone-note {
    font-size: 14px;
    color: var(--text-secondary);
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.demo-check {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.demo-feature span {
    font-size: 16px;
    color: var(--text);
}

.demo-cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* CTA Section */
.cta-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, #14182E 0%, #1E2441 100%);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-box-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 42px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #00B8D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links-group {
    display: flex;
    gap: 80px;
}

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

.footer-column h4 {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Content Sections (for subpages) */
.content-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
}

.content-hero {
    position: relative;
    z-index: 10;
    padding: 140px 0 80px;
    text-align: center;
}

.content-hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.content-hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-grid-core {
        grid-template-columns: 1fr;
    }

    .leak-stats {
        grid-template-columns: 1fr;
    }

    .footer-links-group {
        gap: 40px;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 77px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .content-hero h1 {
        font-size: 38px;
    }

    .leak-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .leak-header h2 {
        font-size: 36px;
    }

    .service-card-large {
        padding: 32px;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-box {
        padding: 60px 30px;
    }

    .demo-box {
        padding: 50px 30px;
    }

    .demo-widget {
        padding: 32px 24px;
    }

    .demo-phone {
        flex-direction: column;
        gap: 16px;
    }

    .phone-details {
        text-align: center;
    }

    .phone-number {
        font-size: 32px;
    }

    .demo-content h2 {
        font-size: 36px;
    }

    .demo-subtitle {
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links-group {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}
