@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fefefe;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════
   HEADER - Floating glass morphism (WHITE/LIGHT)
═══════════════════════════════════════════════ */
header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 2rem);
    max-width: 1200px;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 9999px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

header h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

nav a {
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: #0f172a;
    background: rgba(240, 245, 244, 0.9);
}

nav a.active {
    color: #0f766e;
    background: rgba(204, 251, 241, 0.9);
}

/* ═══════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════ */
section {
    padding: 6rem 2rem;
    position: relative;
}

section h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: #0f172a;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════ */
#about {
    background: #f8fafa;
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 251, 241, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

#about h2 {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 40%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#about p {
    max-width: 680px;
    font-size: 1.25rem;
    color: #334155;
    line-height: 1.9;
}

/* ═══════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════ */
#services {
    background: #fefefe;
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 40%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 40px rgba(20, 184, 166, 0.12);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 50%, #38bdf8 100%);
    border-radius: 2px;
}

.service-card p {
    font-size: 1rem;
    color: #334155;
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
    background: #f0f5f4;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #5eead4, #38bdf8, transparent);
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f766e 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer p {
    color: #334155;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════
   CTA BUTTON - Now positioned bottom-right of hero
═══════════════════════════════════════════════ */
.cta-button {
    position: absolute;
    bottom: 5rem;
    right: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 50%, #38bdf8 100%);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
    z-index: 10;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

.cta-button .arrow {
    transition: transform 0.2s ease;
}

.cta-button:hover .arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    header {
        width: calc(100% - 1rem);
        padding: 0.6rem 1rem;
    }
    
    header h1 {
        font-size: 1.1rem;
    }
    
    nav a {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        bottom: 5rem;
        right: 1rem;
        padding: 0.5rem 0.9rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 640px) {
    /* Center CTA below the flow */
    .cta-button {
        bottom: auto;
        top: 82%;
        right: 50%;
        transform: translateX(50%);
        padding: 0.55rem 1rem;
        font-size: 0.72rem;
    }
    
    .cta-button:hover {
        transform: translateX(50%) translateY(-3px) scale(1.02);
    }
}

@media (max-width: 480px) {
    .cta-button {
        top: 78%;
        padding: 0.5rem 0.9rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 380px) {
    .cta-button {
        top: 74%;
        padding: 0.45rem 0.8rem;
        font-size: 0.62rem;
    }
}