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

:root {
    --cyan: #31C9EF;
    --cyan-dark: #1BA3C6;
    --cyan-deep: #0E8AAD;
    --navy: #0F2B3C;
    --navy-light: #163A4F;
    --navy-hover: #1C4459;
    --cyan-hover: #52D2F1;
    --dark-1: #144660;
    --dark-2: #1D5C7E;
    --card-light: #F4F9FC;
    --blue-hero-top: #7ED4E6;
    --blue-hero-mid: #5BC0DE;
    --blue-hero-bot: #3AAFD0;
    --bg: #F0F6FA;
    --bg-white: #FFFFFF;
    --bg-alt: #E8F1F8;
    --text: #2C3E50;
    --text-muted: #5A7184;
    --text-heading: #1A2A3A;
    --green: #9CC02C;
    --surface: rgba(255,255,255,0.92);
    --border: rgba(49,201,239,0.2);
    --border-light: rgba(0,0,0,0.08);
    --radius: 12px;
    --max-w: 1200px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; font-size: 18px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan-deep); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ─── NAV ─── */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.nav-logo-img {
    height: 31.5px;
    width: auto;
    display: block;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a:not(.nav-cta) {
    color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.5px; text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover, .nav-links a.active { color: var(--cyan-dark); }

.nav-cta {
    display: inline-flex; align-items: center;
    padding: 0.4rem 1rem;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase;
    border: 1.5px solid var(--cyan-dark);
    color: var(--cyan-dark);
    border-radius: 8px;
    background: transparent;
    transition: background-color 0.2s, color 0.2s;
}
.nav-cta:hover {
    background: var(--cyan-dark);
    color: #FFFFFF;
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

/* ─── HERO ─── */
.hero {
    position: relative;
    display: flex; align-items: center;
    overflow: hidden;
    background:
        linear-gradient(160deg,
            #B8E8F5 0%,
            #8DD6EC 15%,
            #5FC3E0 30%,
            #3BB2D4 50%,
            #58C2DE 70%,
            #7ED4E6 85%,
            #A8E3F0 100%
        );
}
.hero-shimmer {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255,255,255,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(49,201,239,0.15) 0%, transparent 50%);
}
.hero-wave {
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    line-height: 0;
}
.hero-wave svg {
    width: 100%; height: auto;
    display: block;
}

.wave-divider { width: 100%; line-height: 0; margin-bottom: -2px; }
.wave-divider svg { display: block; width: 100%; height: auto; }

.hero-inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 4rem;
    padding: 6rem 0 3rem;
    width: 100%;
}
.hero-logo-area {
    flex-shrink: 0;
}
.hero-logo-card {
    padding: 1rem;
}
.hero-logo-card img {
    width: 260px; height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(15,43,60,0.25));
}
.hero-content {
    max-width: 600px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem; font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}
.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--navy);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.25rem;
}
.hero h1 .accent { color: #FFFFFF; text-shadow: 0 1px 8px rgba(0,0,0,0.15); }
.hero p.hero-lead {
    font-size: 1.05rem;
    color: var(--navy-light);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s;
    cursor: pointer; border: none;
}
.btn-primary {
    background: var(--navy);
    color: #FFFFFF;
    transition: background-color 0.25s;
}
.btn-primary:hover {
    background: var(--navy-hover);
    color: #FFFFFF;
}
.btn-outline-hero {
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.5);
    color: var(--navy);
}
.btn-outline-hero:hover {
    color: var(--navy);
    background: rgba(255,255,255,0.5);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--cyan-dark);
    color: var(--cyan-dark);
}
.btn-outline:hover {
    color: #FFFFFF;
    background: var(--cyan-dark);
}

.hero-stats {
    display: flex; gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}
.hero-stat-num {
    font-size: 1.8rem; font-weight: 800; color: var(--navy);
}
.hero-stat-label {
    font-size: 0.72rem; color: var(--navy-light);
    text-transform: uppercase; letter-spacing: 1px;
}

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

.section-label {
    font-size: 0.75rem; font-weight: 700;
    color: var(--cyan-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ─── SERVICES (dark) ─── */
.services-section {
    background: var(--dark-1);
}
.services-section .section-title { color: #FFFFFF; }
.services-section .section-label { color: var(--cyan); }
.services-section .section-subtitle { color: rgba(255,255,255,0.6); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--card-light);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: background-color 0.25s, border-color 0.25s;
}
.service-card:hover {
    background: #FFFFFF;
    border-color: var(--cyan);
}
.service-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(49,201,239,0.12), rgba(27,163,198,0.12));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--cyan-dark); fill: none; stroke-width: 1.8; }
.service-card h3 {
    font-size: 1.1rem; font-weight: 700; color: var(--text-heading);
    margin-bottom: 0.75rem;
}
.service-card p {
    font-size: 0.9rem; color: var(--text-muted);
    margin-bottom: 1rem;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-tag {
    font-size: 0.7rem; font-weight: 500;
    background: rgba(49,201,239,0.08);
    color: var(--cyan-deep);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    border: 1px solid rgba(49,201,239,0.15);
}

/* ─── ABOUT / WHY ─── */
.about-section {
    background: var(--bg-white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.about-checks { list-style: none; margin-top: 1.5rem; }
.about-checks li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text);
}
.about-checks svg { width: 20px; height: 20px; stroke: var(--cyan-dark); flex-shrink: 0; margin-top: 2px; fill: none; }

.why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}
.why-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.why-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(49,201,239,0.1), rgba(27,163,198,0.1));
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.why-icon svg { width: 24px; height: 24px; stroke: var(--cyan-dark); fill: none; stroke-width: 1.8; }
.why-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ─── CTA ─── */
.cta-section {
    background: var(--dark-2);
    text-align: center;
    padding: 5rem 0;
}
.cta-section .section-label { color: var(--cyan); }
.cta-section .section-title { color: #FFFFFF; margin-bottom: 0.75rem; }
.cta-section p {
    color: rgba(255,255,255,0.7); font-size: 1rem;
    max-width: 520px; margin: 0 auto 2rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary {
    background: var(--cyan);
    color: var(--navy);
}
.cta-section .btn-primary:hover {
    background: var(--cyan-hover);
    color: var(--navy);
}
.cta-section .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: #FFFFFF;
}
.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #FFFFFF;
}

/* ─── FOOTER ─── */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 3.5rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-brand-logo {
    height: 48px; width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }

.footer-col h4 {
    font-size: 0.8rem; font-weight: 700; color: #FFFFFF;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-col a:hover { color: var(--cyan); }

.footer-contact li {
    display: flex; align-items: center; gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-contact a { color: rgba(255,255,255,0.5); }
.footer-contact a:hover { color: var(--cyan); }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--cyan); fill: none; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: rgba(255,255,255,0.35);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .hero-inner { flex-direction: column; text-align: center; gap: 2rem; }
    .hero-content { max-width: 100%; }
    .hero p.hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    html { font-size: 16px; }
    section { padding: 3.5rem 0; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
    .nav-toggle { display: block; }
    .hero-inner { padding: 5.5rem 0 3rem; }
    .hero-logo-card { padding: 0.5rem; }
    .hero-logo-card img { width: 190px; }
    .hero-stats { gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }
.why-cards .why-card:nth-child(1) { transition-delay: 0.05s; }
.why-cards .why-card:nth-child(2) { transition-delay: 0.1s; }
.why-cards .why-card:nth-child(3) { transition-delay: 0.15s; }
.why-cards .why-card:nth-child(4) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
}

.footer-col .footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}