/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }
img { max-width: 100%; display: block; }

/* ── Custom Properties ── */
:root {
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --slate-900: #0f172a;
    --slate-950: #0a0f1e;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.45);
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #0d9488;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: #f0fdfa;
}

/* ── Inputs ── */
.input-field {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder { color: rgba(255, 255, 255, 0.3); }
.input-field:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

/* ── Navbar ── */
.nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #14b8a6;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-nav-link { display: block; }

/* ── Service Cards ── */
.service-card { position: relative; }
.service-card > div:first-child { position: absolute; inset: 0; border-radius: inherit; }

/* ── Info Cards ── */
.info-card { cursor: pointer; text-decoration: none; }

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hero Geometric Decorations ── */
.geo {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #2dd4bf;
    border-radius: 50%;
    top: 5%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #14b8a6;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 3px solid #5eead4;
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(20, 184, 166, 0.3);
    top: 60%;
    right: 10%;
    transform: rotate(30deg);
    animation: spin 15s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(94, 234, 212, 0.2);
    top: 30%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

.geo-ring {
    width: 160px;
    height: 160px;
    border: 4px solid rgba(20, 184, 166, 0.3);
    border-radius: 50%;
    bottom: 25%;
    left: 15%;
    animation: float 9s ease-in-out infinite reverse;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #2dd4bf 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 70%;
    right: 5%;
    opacity: 0.4;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(13, 148, 136, 0.25);
    top: -10%;
    right: -10%;
    animation: pulse-slow 10s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(20, 184, 166, 0.15);
    bottom: -5%;
    left: -5%;
    animation: pulse-slow 12s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(94, 234, 212, 0.1);
    top: 40%;
    left: 30%;
    animation: pulse-slow 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

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

/* ── CTA Section Geometric Decorations ── */
.cta-geo {
    position: absolute;
    pointer-events: none;
}

.cta-geo-1 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -50px;
    left: 5%;
}

.cta-geo-2 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    bottom: 10%;
    right: 8%;
    transform: rotate(45deg);
}

.cta-geo-3 {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 20%;
    right: 25%;
}

/* ── Background Blobs ── */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.4;
}

.blob-teal {
    width: 600px;
    height: 600px;
    background: rgba(13, 148, 136, 0.2);
    top: 20%;
    right: -200px;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-slate {
    width: 500px;
    height: 500px;
    background: rgba(15, 23, 42, 0.5);
    bottom: 10%;
    left: -150px;
    animation: blob-float 25s ease-in-out infinite reverse;
}

.blob-accent {
    width: 300px;
    height: 300px;
    background: rgba(94, 234, 212, 0.1);
    top: 50%;
    left: 40%;
    animation: blob-float 15s ease-in-out infinite;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .geo-circle-1 { width: 250px; height: 250px; }
    .geo-circle-2 { width: 120px; height: 120px; }
    .geo-square-1 { width: 80px; height: 80px; }
    .geo-square-2 { display: none; }
    .geo-triangle-1 { display: none; }
    .geo-ring { width: 100px; height: 100px; }
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 180px; height: 180px; }
}

@media (max-width: 640px) {
    .geo-circle-1 { width: 180px; height: 180px; top: 0; right: -5%; }
    .geo-circle-2 { width: 80px; height: 80px; }
    .geo-square-1 { display: none; }
    .geo-ring { display: none; }
    .geo-dots { display: none; }
    .orb-1 { width: 200px; height: 200px; }
    .orb-2 { width: 180px; height: 180px; }
    .orb-3 { display: none; }
}
