/* CSS Variables & Theming */
:root {
    --bg-dark: #050508;
    --bg-darker: #020203;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-primary: #00f0ff;
    --accent-secondary: #7000ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.w-100 {
    width: 100%;
}

.relative {
    position: relative;
}

/* Highlights & Gradients */
.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Background Glow Orbs */
.bg-orbs-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #ff007b 0%, transparent 70%);
    opacity: 0.2;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

/* Glassmorphism Classes */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glassmorphism:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 0, 255, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-primary);
    font-weight: 300;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > li > a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-client-shell {
    position: relative;
}

.nav-client-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav-client-trigger i {
    color: var(--accent-primary);
    font-size: 1rem;
}

.nav-client-trigger:hover,
.nav-client-trigger[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.client-popover {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: min(380px, calc(100vw - 2rem));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.28s ease, transform 0.32s ease, visibility 0.28s ease;
    pointer-events: none;
    z-index: 120;
}

.nav-client-shell.open .client-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.client-popover-glow {
    position: absolute;
    inset: auto 20px -18px auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.18), rgba(112, 0, 255, 0.12) 40%, transparent 72%);
    filter: blur(22px);
    pointer-events: none;
}

.client-popover-card {
    position: relative;
    padding: 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(145deg, rgba(11, 16, 28, 0.98), rgba(4, 8, 15, 0.96)),
        linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(112, 0, 255, 0.08));
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.client-popover-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 240, 255, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(112, 0, 255, 0.18), transparent 34%);
    pointer-events: none;
}

.client-popover-head,
.client-popover-copy,
.client-popover-badges,
.client-popover-notice,
.client-popover-form,
.client-popover-links {
    position: relative;
    z-index: 1;
}

.client-popover-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.client-popover-kicker {
    display: inline-block;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.client-popover-head h3 {
    margin-top: 0.7rem;
    font-size: 1.4rem;
    line-height: 1.05;
}

.client-popover-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.client-popover-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.client-popover-copy {
    margin-top: 0.8rem;
    color: #cbd5e1;
    font-size: 0.93rem;
    line-height: 1.6;
}

.client-popover-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.client-popover-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbe7ff;
    font-size: 0.78rem;
}

.client-popover-badges i {
    color: var(--accent-primary);
}

.client-popover-notice {
    display: none;
    margin-top: 0.95rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(248, 113, 113, 0.22);
    background: rgba(248, 113, 113, 0.08);
    color: #fecaca;
    font-size: 0.86rem;
}

.client-popover-notice.show {
    display: block;
}

.client-popover-notice.success {
    border-color: rgba(16, 185, 129, 0.24);
    background: rgba(16, 185, 129, 0.1);
    color: #86efac;
}

.client-popover-form {
    display: grid;
    gap: 0.82rem;
    margin-top: 1rem;
}

.client-popover-field {
    display: grid;
    gap: 0.42rem;
}

.client-popover-field label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.client-popover-field input {
    width: 100%;
    padding: 0.92rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.client-popover-field input:focus {
    outline: none;
    border-color: rgba(0, 240, 255, 0.45);
    background: rgba(0, 240, 255, 0.04);
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.08);
}

.client-popover-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.1rem;
    padding: 0.95rem 1rem;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.92), rgba(112, 0, 255, 0.92));
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(0, 240, 255, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-popover-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(112, 0, 255, 0.2);
}

.client-popover-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.client-popover-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.82rem;
}

.client-popover-links a {
    color: #cbd5e1;
}

.client-popover-links a:hover {
    color: var(--accent-primary);
}

.nav-links > li > a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links > li > a:not(.btn-outline):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: clamp(650px, 45vw, 900px);
    z-index: 10;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.hero-content.slider-fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.hero-content p {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    color: var(--text-muted);
    margin: 1.5rem 0 2.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 6.5vw, 6rem);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 3D Element CSS */
.hero-3d-element {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    perspective: 1000px;
    z-index: 1;
}

.cube-container {
    width: 100%;
    height: 100%;
    animation: rotate3d 20s infinite linear;
    transform-style: preserve-3d;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
}

.front {
    transform: translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate3d {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Sobre */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.glass-card {
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.glow-icon {
    font-size: 3rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(112, 0, 255, 0.5));
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2.5rem;
    text-align: left;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-img-placeholder {
    height: 250px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.dark-grad {
    background: linear-gradient(45deg, #1a1a24, #0d0d14);
}

.neon-grad {
    background: linear-gradient(45deg, #0d1214, #1a2a30);
    border-bottom: 2px solid var(--accent-primary);
}

.cyber-grad {
    background: linear-gradient(45deg, #1b1024, #120a1a);
    border-bottom: 2px solid var(--accent-secondary);
}

/* Contato & Form */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
}

.contact-info p {
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #cbd5e1;
}

.contact-list i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.cyber-form .input-group {
    margin-bottom: 1.5rem;
}

.cyber-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cyber-form input,
.cyber-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    transition: 0.3s;
}

.cyber-form input:focus,
.cyber-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 240, 255, 0.02);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.status-success {
    color: #10b981;
}

.status-error {
    color: #ef4444;
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 1rem auto;
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a {
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* Float WhatsApp */
.float-btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42);
}

.whatsapp-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.5rem;
    background: rgba(2, 7, 13, 0.3);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 998;
}

.whatsapp-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.whatsapp-modal-card {
    width: min(380px, 100%);
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(145deg, rgba(6, 12, 18, 0.96), rgba(4, 24, 28, 0.94)),
        linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(0, 240, 255, 0.06));
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.32s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-modal.show .whatsapp-modal-card {
    transform: translateY(0) scale(1);
}

.whatsapp-modal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(37, 211, 102, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 38%);
    pointer-events: none;
}

.whatsapp-modal-close,
.whatsapp-modal-kicker,
.whatsapp-modal-copy,
.whatsapp-modal-notice,
.whatsapp-modal-form {
    position: relative;
    z-index: 1;
}

.whatsapp-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    cursor: pointer;
}

.whatsapp-modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b7f7cb;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.whatsapp-modal h3 {
    margin-top: 1rem;
    font-size: 1.55rem;
    line-height: 1.08;
}

.whatsapp-modal-copy {
    margin-top: 0.7rem;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
}

.whatsapp-modal-notice {
    display: none;
    margin-top: 0.95rem;
    padding: 0.78rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(248, 113, 113, 0.22);
    background: rgba(248, 113, 113, 0.08);
    color: #fecaca;
    font-size: 0.86rem;
}

.whatsapp-modal-notice.show {
    display: block;
}

.whatsapp-modal-form {
    display: grid;
    gap: 0.82rem;
    margin-top: 1rem;
}

.whatsapp-modal-field {
    display: grid;
    gap: 0.42rem;
}

.whatsapp-modal-field label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.whatsapp-modal-field input {
    width: 100%;
    padding: 0.92rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-modal-field input:focus {
    outline: none;
    border-color: rgba(37, 211, 102, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.whatsapp-modal-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.2rem;
    padding: 0.98rem 1rem;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #25d366, #00f0ff);
    color: #052110;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(37, 211, 102, 0.22);
}

.pulse {
    animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive Details */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-3d-element {
        display: none;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple mobile fallback, handled by JS normally but kept simple here */
    }

    .hamburger {
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-client-shell {
        width: 100%;
    }

    .nav-client-trigger {
        width: 100%;
        justify-content: center;
    }

    .client-popover {
        position: static;
        width: 100%;
        margin-top: 1rem;
        transform-origin: top center;
    }

    .whatsapp-modal {
        padding: 1rem;
        align-items: flex-end;
        justify-content: stretch;
    }

    .whatsapp-modal-card {
        width: 100%;
    }
}
