/* ============================================
   DELTA PLATFORM - Estilos principais
   Visual premium: hero tecnológica + mockup dashboard
   ============================================ */

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

:root {
    --color-bg: #06070b;
    --color-bg-2: #0d0f17;
    --color-bg-3: #141826;
    --color-surface: #1a1e2c;
    --color-border: #232a3d;
    --color-border-light: #2d3550;
    --color-text: #e8ecf5;
    --color-text-dim: #98a2bb;
    --color-primary: #0080FF;
    --color-primary-dark: #0066cc;
    --color-secondary: #00e5ff;
    --color-cyan: #00fff5;
    --color-success: #00e676;
    --color-warning: #ffb547;
    --color-danger: #ff5252;
    --shadow-glow: 0 0 30px rgba(0, 128, 255, 0.35);
    --shadow-glow-strong: 0 0 60px rgba(0, 128, 255, 0.55);
    --shadow-glow-cyan: 0 0 40px rgba(0, 229, 255, 0.35);
    --radius: 16px;
    --radius-sm: 10px;
    --sidebar-w: 250px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 20px; }

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============ SIDEBAR ============ */
.sidebar {
    position: fixed; top: 0; left: 0;
    width: var(--sidebar-w); height: 100vh;
    background: linear-gradient(180deg, #0a0d16 0%, #060810 100%);
    border-right: 1px solid var(--color-border);
    padding: 24px 18px;
    display: flex; flex-direction: column;
    z-index: 100;
    transition: transform var(--transition);
}

.sidebar-brand {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 36px; padding: 4px 6px 18px;
    border-bottom: 1px solid var(--color-border);
}
.brand-img {
    width: 44px; height: 44px; border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(0, 128, 255, 0.45);
    border: 1px solid rgba(0, 229, 255, 0.3);
}
.brand-textwrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text { font-weight: 800; letter-spacing: 2.5px; font-size: 17px; color: #fff; }
.brand-sub { font-size: 10px; letter-spacing: 3px; color: var(--color-secondary); font-weight: 600; }

.sidebar-nav { flex: 1; display: flex; flex-direction: column; }
.sidebar-nav ul { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--color-text-dim);
    font-weight: 500; font-size: 14px;
    transition: all var(--transition);
    border-left: 2px solid transparent;
    letter-spacing: 0.3px;
}
.nav-link:hover {
    color: var(--color-text);
    background: rgba(0, 128, 255, 0.08);
    border-left-color: var(--color-primary);
    padding-left: 18px;
}
.nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 128, 255, 0.18), rgba(0, 128, 255, 0.02));
    border-left-color: var(--color-secondary);
}

/* Botão "Entrar no Sistema" destacado */
.nav-cta-btn {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-primary), #00b8ff);
    color: #fff;
    font-weight: 700; font-size: 13.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 128, 255, 0.45);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.nav-cta-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 255, 245, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 128, 255, 0.65), var(--shadow-glow-cyan); }
.nav-cta-btn:hover::before { transform: translateX(100%); }

.sidebar-footer { font-size: 11px; color: var(--color-text-dim); text-align: center; padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--color-border); }

/* Hamburger */
.hamburger {
    display: none;
    position: fixed; top: 16px; left: 16px; z-index: 110;
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--color-surface); border: 1px solid var(--color-border);
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--color-text); transition: var(--transition); border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 99; backdrop-filter: blur(3px); }
.sidebar-overlay.active { display: block; }

/* ============ MAIN ============ */
.main { margin-left: var(--sidebar-w); min-height: 100vh; }

/* ============================================
   HERO PREMIUM
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 90px 0 40px;
    overflow: hidden;
    isolation: isolate;
}

/* Camadas de background */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero-bg-image {
    position: absolute; inset: 0;
    /* Nova imagem de capa profissional com branding Delta completo */
    background:
        url('../assets/hero-background.jpeg') center/cover no-repeat;
    opacity: 1;
    filter: saturate(1.05) contrast(1.05);
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(0, 128, 255, 0.1), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(0, 229, 255, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(6, 7, 11, 0.35) 0%, rgba(6, 7, 11, 0.55) 100%),
        linear-gradient(90deg, rgba(6, 7, 11, 0.25) 0%, transparent 35%, transparent 65%, rgba(6, 7, 11, 0.25) 100%);
}

/* Grid tecnológico animado */
.hero-grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 85%);
    animation: gridPan 18s linear infinite;
}
@keyframes gridPan {
    0% { background-position: 0 0; }
    100% { background-position: 56px 56px; }
}

/* Glows orbitais */
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.hero-glow-1 { width: 520px; height: 520px; background: #0080FF; top: -120px; left: -120px; animation: glowFloat 12s ease-in-out infinite; }
.hero-glow-2 { width: 460px; height: 460px; background: #00e5ff; bottom: -140px; right: -120px; animation: glowFloat 14s ease-in-out infinite reverse; opacity: 0.35; }
@keyframes glowFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }

/* Partículas */
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particles span {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 12px var(--color-secondary);
    opacity: 0;
    animation: particleRise 8s linear infinite;
}
.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 22%; animation-delay: 1.5s; }
.hero-particles span:nth-child(3) { left: 38%; animation-delay: 3s; }
.hero-particles span:nth-child(4) { left: 52%; animation-delay: 4.5s; }
.hero-particles span:nth-child(5) { left: 65%; animation-delay: 6s; }
.hero-particles span:nth-child(6) { left: 78%; animation-delay: 2s; }
.hero-particles span:nth-child(7) { left: 88%; animation-delay: 5s; }
.hero-particles span:nth-child(8) { left: 95%; animation-delay: 7s; }
@keyframes particleRise {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* Layout hero */
.hero-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 50px;
    flex: 1;
    min-height: 100vh;
}
.hero-content { position: relative; z-index: 2; }

.hero-logo-row { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    margin-bottom: 40px; 
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out both;
}
.hero-logo {
    width: 64px; height: 64px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 28px rgba(0, 128, 255, 0.45), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.hero-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(0, 128, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.5);
    color: var(--color-secondary);
    font-size: 13px; 
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 128, 255, 0.2);
}
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 10px var(--color-success);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }

.hero-title {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2.5px;
    margin-bottom: 22px;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.8),
        0 8px 32px rgba(0, 128, 255, 0.3);
}
.text-gradient {
    background: linear-gradient(135deg, #00D4FF 0%, #00FFFF 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}
.hero-subtitle { 
    font-size: clamp(1.05rem, 1.6vw, 1.3rem); 
    color: #ffffff; 
    margin-bottom: 16px; 
    font-weight: 600; 
    line-height: 1.4;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6);
    max-width: 580px;
}
.hero-text { 
    font-size: 1rem; 
    color: #e8ecf5; 
    margin-bottom: 34px; 
    max-width: 580px; 
    line-height: 1.65;
    text-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-buttons-primary {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ============ MOCKUP DASHBOARD ============ */
.hero-mockup { position: relative; z-index: 2; perspective: 1500px; }
.mockup-window {
    background: linear-gradient(180deg, #0e1322 0%, #0a0e1c 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 128, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform 0.6s ease;
}
.mockup-window:hover { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }

.mockup-titlebar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}
.mockup-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.mockup-url {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--color-text-dim);
    flex: 1;
}
.mockup-live {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10.5px; font-weight: 700;
    color: #ff5f57;
    letter-spacing: 1px;
}
.live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #ff5f57;
    animation: pulse-dot 1.2s ease-in-out infinite;
}

.mockup-body { padding: 18px; }
.mockup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mockup-title { font-size: 13px; font-weight: 700; color: var(--color-text); letter-spacing: 0.5px; }
.mockup-time { font-family: var(--font-mono); font-size: 12px; color: var(--color-secondary); }

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mk-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
}
.mk-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
    animation: scanline 3s linear infinite;
}
@keyframes scanline { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.mk-primary { background: linear-gradient(135deg, rgba(0, 128, 255, 0.18), rgba(0, 229, 255, 0.06)); border-color: rgba(0, 128, 255, 0.4); }
.mk-wide { grid-column: 1 / -1; }

.mk-label { display: block; font-size: 10px; font-weight: 600; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.mk-value { display: block; font-family: var(--font-mono); font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1.1; }
.mk-value small { font-size: 0.65em; color: var(--color-secondary); font-weight: 500; }
.mk-warning { color: var(--color-warning) !important; }
.mk-trend { display: inline-block; margin-top: 5px; font-size: 10.5px; font-weight: 600; color: var(--color-text-dim); }
.mk-trend.up { color: var(--color-success); }
.mk-trend.warn { color: var(--color-warning); }

.mk-bar { margin-top: 7px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.mk-bar-fill { height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); border-radius: 4px; box-shadow: 0 0 8px rgba(0, 229, 255, 0.6); }

.mk-pool-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.mk-pool-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--color-success); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 10px var(--color-success); animation: pulse-dot 1.4s infinite; }
.mk-pool-info { font-family: var(--font-mono); font-size: 10.5px; color: var(--color-text-dim); }
.mk-sparkline { margin-top: 10px; height: 40px; }
.mk-sparkline svg { width: 100%; height: 100%; }
.spark-line { fill: none; stroke: var(--color-secondary); stroke-width: 1.8; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.8)); }
.spark-fill { fill: rgba(0, 229, 255, 0.12); stroke: none; }

/* ============ HERO INDICATORS ============ */
.hero-indicators {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hi-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(20, 24, 38, 0.7), rgba(13, 15, 23, 0.7));
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}
.hi-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: var(--shadow-glow), var(--shadow-glow-cyan);
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.12), rgba(13, 15, 23, 0.7));
}
.hi-icon {
    font-size: 28px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.15), rgba(0, 229, 255, 0.08));
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 12px;
    flex-shrink: 0;
}
.hi-text { display: flex; flex-direction: column; line-height: 1.25; }
.hi-text strong { font-size: 14.5px; color: #fff; font-weight: 700; }
.hi-text span { font-size: 12px; color: var(--color-text-dim); margin-top: 2px; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 600; font-size: 14px;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #00aaff); color: #fff; box-shadow: 0 6px 22px rgba(0, 128, 255, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-strong); }
.btn-secondary { background: rgba(0, 229, 255, 0.1); color: var(--color-secondary); border-color: rgba(0, 229, 255, 0.45); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(0, 229, 255, 0.18); border-color: var(--color-secondary); box-shadow: var(--shadow-glow-cyan); }
.btn-outline { background: rgba(255, 255, 255, 0.03); color: var(--color-text); border-color: var(--color-border-light); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(0, 128, 255, 0.06); }
.btn-disabled { opacity: 0.55; cursor: not-allowed; }
.btn.copied { background: linear-gradient(135deg, var(--color-success), #00b85a) !important; box-shadow: 0 0 25px rgba(0, 230, 118, 0.5) !important; }

/* ============ BIG CARDS ============ */
.main-cards { padding: 100px 0 90px; background: var(--color-bg); position: relative; }
.main-cards::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 8px;
}
.big-card {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-3), var(--color-bg-2));
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 44px 32px;
    display: flex; flex-direction: column;
    min-height: 480px;
    transition: all var(--transition);
    overflow: hidden;
}
.big-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0; transition: opacity var(--transition);
}
.big-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top, rgba(0, 128, 255, 0.08), transparent 60%);
    opacity: 0; transition: opacity var(--transition);
    pointer-events: none;
}
.big-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-glow-strong);
}
.big-card:hover::before, .big-card:hover::after { opacity: 1; }

.big-card-highlight {
    background: linear-gradient(180deg, rgba(0, 128, 255, 0.12), var(--color-bg-2));
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 10px 40px rgba(0, 128, 255, 0.15);
}
.big-card-highlight::before { opacity: 1; }

.card-ribbon {
    position: absolute; top: 18px; right: 18px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; font-size: 11px; font-weight: 700;
    padding: 5px 12px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(0, 128, 255, 0.4);
}

.card-icon {
    font-size: 38px; margin-bottom: 20px;
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.18), rgba(0, 229, 255, 0.06));
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 16px;
}
.card-title { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.card-description { color: var(--color-text-dim); margin-bottom: 22px; font-size: 1rem; }
.card-features { list-style: none; margin-bottom: 28px; flex: 1; }
.card-features li {
    padding: 8px 0 8px 24px; color: var(--color-text-dim); font-size: 0.95rem;
    position: relative;
    border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.card-features li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--color-secondary); font-weight: 700;
}
.card-features li:last-child { border-bottom: none; }
.card-btn { margin-top: auto; width: 100%; padding: 14px 24px; font-size: 14.5px; }

.badge-soon {
    position: absolute; top: 22px; right: 22px;
    background: linear-gradient(135deg, #ffaa00, #ff7700);
    color: #000; font-size: 11px; font-weight: 700;
    padding: 5px 12px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.8px;
    z-index: 2;
}

.pool-address-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 24px;
    position: relative;
}
.pool-address-box::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: var(--radius-sm);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.4), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.pool-label { display: block; font-size: 10.5px; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; font-weight: 700; }
.pool-address { font-family: var(--font-mono); color: #fff; font-size: 0.92rem; word-break: break-all; display: block; font-weight: 600; }

/* ============ SECTIONS ============ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(0, 229, 255, 0.25);
    font-size: 12.5px; font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -1px; }
.section-subtitle { color: var(--color-text-dim); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ============ BENEFITS ============ */
.benefits { padding: 100px 0; background: var(--color-bg-2); position: relative; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.benefit-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: all var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.4); box-shadow: var(--shadow-glow); }
.benefit-icon {
    font-size: 28px; margin-bottom: 14px;
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.15), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
}
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { color: var(--color-text-dim); font-size: 0.92rem; }

/* ============ POOL SECTION ============ */
.pool-section { padding: 100px 0; background: var(--color-bg); }
.pool-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg-3), var(--color-bg-2));
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}
.pool-block::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.1), transparent 60%);
    pointer-events: none;
}
.pool-block-info { position: relative; }
.pool-block-info .section-tag { margin-bottom: 14px; }
.pool-block-info p { color: var(--color-text-dim); margin-bottom: 16px; }
.pool-features { list-style: none; margin-top: 20px; }
.pool-features li { padding: 8px 0; color: var(--color-text-dim); }
.pool-block-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-glow);
}
.pool-address-big {
    display: block;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-secondary);
    background: rgba(0, 0, 0, 0.6);
    padding: 18px;
    border-radius: var(--radius-sm);
    margin: 14px 0 22px;
    word-break: break-all;
    border: 1px dashed rgba(0, 229, 255, 0.4);
    font-weight: 600;
}
.pool-note { font-size: 0.85rem; color: var(--color-text-dim); margin-top: 16px; }

/* ============ CONTACT ============ */
.contact { padding: 100px 0; background: var(--color-bg-2); }
.contact-form { max-width: 720px; margin: 0 auto; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--color-text-dim); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group textarea {
    background: var(--color-bg-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    color: var(--color-text);
    font-family: inherit; font-size: 15px;
    transition: all var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.18); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-feedback { margin-top: 18px; padding: 14px; border-radius: var(--radius-sm); background: rgba(0, 230, 118, 0.12); border: 1px solid rgba(0, 230, 118, 0.4); color: var(--color-success); text-align: center; display: none; }
.form-feedback.show { display: block; animation: fadeIn 0.4s ease; }

/* ============ FOOTER ============ */
.footer { background: #04050a; border-top: 1px solid var(--color-border); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: flex-start; margin-bottom: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.footer-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; border: 1px solid rgba(0, 229, 255, 0.3); }
.footer p { color: var(--color-text-dim); font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--color-text-dim); font-size: 0.95rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-secondary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--color-border); text-align: center; color: var(--color-text-dim); font-size: 0.9rem; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 90;
    transition: all var(--transition);
    animation: pulse-wpp 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(-5deg); }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-wpp {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============ ANIMATIONS ============ */
/* fade-in só fica invisível se JS estiver ativo (html.js). Sem JS, conteúdo aparece normalmente. */
.fade-in { opacity: 1; transform: none; transition: opacity 0.8s ease, transform 0.8s ease; }
html.js .fade-in { opacity: 0; transform: translateY(30px); }
html.js .fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .hero-wrap { gap: 40px; }
    .hero-mockup { display: none !important; } /* mockup só em desktop */
    .pool-block { grid-template-columns: 1fr; padding: 44px 32px; gap: 32px; }
}

@media (max-width: 860px) {
    .hamburger { display: flex; }
    .sidebar { transform: translateX(-100%); width: 280px; }
    .sidebar.active { transform: translateX(0); }
    .main { margin-left: 0; padding-top: 70px; }
    .hero { padding: 40px 0 60px; min-height: auto; }
    .hero-indicators { grid-template-columns: 1fr; margin-top: 36px; }
    .hero-buttons .btn { flex: 1; min-width: 140px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row .form-group { margin-bottom: 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .big-card { min-height: auto; padding: 36px 26px; }
    .contact-form { padding: 30px 22px; }
    .pool-block { padding: 32px 22px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-title { letter-spacing: -1px; }
    .hero-logo { width: 56px; height: 56px; }
    .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

/* Acessibilidade - respeitar usuários que preferem menos animação */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
