/* ===== CSS VARIABLES (Brand Colors) ===== */
:root {
    --primary: #0D9488;
    --primary-dark: #134E4A;
    --tint: #F0FDFA;
    --tint-mid: #CCFBF1;
    --highlight: #FEF3C7;
    --highlight-light: #FFFBEB;
    --surface: #FAFFFE;
    --accent: #F59E0B;
    --accent-light: #14B8A6;
    --white: #FFFFFF;
    --gray-dark: #1F2937;
    --gray-medium: #6B7280;
    --gray-light: #F3F4F6;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-dark);
    background-color: var(--surface);
    line-height: 1.6;
    position: relative;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    color: var(--primary-dark);
    line-height: 1.2;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }

p {
    font-size: 1.125rem;
    color: var(--gray-medium);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 78, 74, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--tint);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.logo-text strong {
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===== HERO FULLSCREEN ===== */
.hero-fullscreen {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--primary-dark);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-raw.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 78, 74, 0.85) 0%, rgba(13, 148, 136, 0.7) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.hero-headline-large {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subheadline-large {
    font-size: 1.5rem;
    color: var(--tint);
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.btn-scroll {
    font-size: 1.25rem;
    padding: 1.5rem 3.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-scroll:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background-color: #FBBF24;
    color: var(--primary-dark);
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ===== METRICS SECTION ===== */
.metrics-section {
    background-color: var(--surface);
}

.metric-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
}

.metric-icon {
    margin-bottom: 1.5rem;
}

.metric-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.metric-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== PROOF SECTION ===== */
.proof-section {
    background-color: var(--white);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.proof-card {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--tint);
    border-radius: 12px;
}

.proof-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.proof-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.proof-detail {
    font-size: 0.875rem;
    color: var(--gray-medium);
}

/* ===== INTEGRATION SECTION ===== */
.integration-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.integration-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.integration-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
}

.integration-card.integration-coming-soon {
    opacity: 0.7;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--highlight);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.integration-icon {
    margin-bottom: 1.5rem;
}

.integration-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.integration-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.integration-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.integration-link:hover {
    color: var(--primary-dark);
}

.integration-link.disabled {
    color: var(--gray-medium);
    pointer-events: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-section .section-title,
.cta-section .section-subtitle {
    color: var(--white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--tint);
}

.cta-section .btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
    background-color: #FBBF24;
    color: var(--primary-dark);
}

.cta-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

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

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--tint);
    padding: 3rem 0 1rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer .logo-text {
    color: var(--tint);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--tint-mid);
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(204, 251, 241, 0.2);
    padding-top: 1rem;
}

.footer-links {
    text-align: center;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--tint);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links .separator {
    margin: 0 1rem;
    color: var(--tint-mid);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 520px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
    color: var(--gray-medium);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary-dark);
}

/* ===== FORMS ===== */
.form-title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success svg {
    margin-bottom: 1.5rem;
}

.form-success .btn {
    margin-top: 1.5rem;
}

/* ===== UTILITY ===== */
.hidden {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .container {
        padding: 0 1rem;
    }

    .hero-background {
        display: none;
    }

    .hero-fullscreen {
        min-height: 80vh;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    }

    .hero-headline-large {
        font-size: 2.5rem;
    }

    .hero-subheadline-large {
        font-size: 1.125rem;
    }

    .btn-scroll {
        padding: 1.25rem 2.5rem;
        font-size: 1.125rem;
    }

    .metric-cards,
    .proof-grid,
    .integration-cards {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer .container {
        flex-direction: column;
        gap: 2rem;
    }

    .section {
        overflow-x: hidden;
    }
}
