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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

.section {
    padding: 120px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.2s ease;
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: #fafafa;
    padding: 200px 0 120px;
    text-align: center;
}

.hero h1 {
    color: #1a1a1a;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #4a5568;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: #2563eb;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.2);
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.3);
}

/* Results Section */
.results {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-bottom: 80px;
}

.result-card {
    flex: 0 1 calc(33.333% - 22px);
    min-width: 280px;
    max-width: 380px;
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .result-card {
        flex: 0 1 calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .result-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

.result-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.result-label {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.case-study {
    background: #f8fafc;
    padding: 60px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.case-study h3 {
    color: #1a1a1a;
    margin-bottom: 24px;
}

.case-study p {
    margin-bottom: 20px;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.case-metric {
    text-align: center;
}

.case-metric-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
    margin-bottom: 8px;
}

.case-metric-label {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Process Section */
.process {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #fafafa;
}

/* Pipeline Visual */
.pipeline-visual {
    margin: 40px 0 60px 0;
    text-align: center;
}

.pipeline-flow {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    background: white;
    padding: 20px 30px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pipeline-flow span {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pipeline-flow {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.service-card {
    flex: 0 1 calc(33.333% - 22px);
    min-width: 360px;
    max-width: 400px;
}

@media (max-width: 1200px) {
    .service-card {
        flex: 0 1 calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 1 100%;
    }
}

.service-card,
.process-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover,
.process-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.service-card h3,
.process-card h3 {
    color: #1a1a1a;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.service-card p,
.process-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Featured Service */
.featured-service {
    background: #fafbfc;
    border: 2px solid #e2e8f0;
    position: relative;
}

.featured-service:hover {
    border-color: #2563eb;
    background: #f0f9ff;
}

/* Value Proposition Section */
.value-prop {
    background: #f8fafc;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.comparison-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comparison-card.problem {
    background: #fef6f6;
    border-color: #fecaca;
}

.comparison-card.solution {
    background: #f7fef9;
    border-color: #bbf7d0;
}

.comparison-card h3 {
    color: #1a1a1a;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    color: #1a1a1a;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 32px;
    position: relative;
}

.comparison-card li::before {
    content: '•';
    position: absolute;
    left: 12px;
    color: #6b7280;
    font-weight: bold;
}

.comparison-card.problem li::before {
    color: #ef4444;
}

.comparison-card.solution li::before {
    color: #10b981;
}

/* Calculator Section */
.calculator {
    background: #f8fafc;
}

.calculator-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bucket-warning {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    text-align: center;
}

.bucket-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.bucket-warning strong {
    color: #dc2626;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.calculator .form-group label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
}

.calculator select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease;
}

.calculator select:focus {
    outline: none;
    border-color: #2563eb;
}

.calculate-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calculate-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.calc-results {
    margin-top: 48px;
    animation: fadeIn 0.5s ease;
    display: none;
}

.calc-results[style*="display: block"] {
    display: block !important;
}

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

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

.leak-header h3 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.loss-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
}

.breakdown, .solution {
    background: #f8fafc;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.solution {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
    border: 2px solid #10b981;
}

.breakdown h4, .solution h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 4px solid #e2e8f0;
}

.metric.success {
    border-left-color: #10b981;
}

.metric.total {
    background: #10b981;
    color: white;
    font-weight: 600;
}

.monthly-warning {
    text-align: center;
    color: #dc2626;
    font-weight: 500;
    margin: 24px 0;
    padding: 16px;
    background: transparent;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .calculator-card {
        padding: 32px 24px;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .loss-amount {
        font-size: 2rem;
    }
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 140px;
}

.about-image img {
    width: 280px;
    height: 280px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.about-text h2 {
    color: #1a1a1a;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 24px;
}

.about-text p strong {
    color: #1a1a1a;
    font-weight: 600;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.linkedin-link:hover {
    color: #1d4ed8;
}

/* Contact Section */
.contact {
    background: #1a1a1a;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: #9ca3af;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 1rem;
    background: #111827;
    color: white;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Footer */
footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #374151;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 8px 0;
    }

    .results-grid,
    .services-grid,
    .process-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .case-study {
        padding: 40px 32px;
    }

    .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .case-study-grid {
        grid-template-columns: 1fr;
    }
}