/* ============================================================================
   TECHTOON SOFTWARE HOUSE — LANDING PAGE (EM CONSTRUÇÃO)
   Design System: Cyber Glassmorphism, Deep Obsidian & Neon Accents
   ============================================================================ */

:root {
    --bg-dark: #060b17;
    --bg-surface: #0b1325;
    --bg-card: rgba(15, 23, 42, 0.72);
    --bg-card-hover: rgba(30, 41, 59, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.35);

    --primary-green: #10b981;
    --primary-green-glow: rgba(16, 185, 129, 0.4);
    --primary-orange: #f97316;
    --primary-orange-glow: rgba(249, 115, 22, 0.4);
    --primary-blue: #38bdf8;
    --primary-purple: #8b5cf6;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px var(--primary-green-glow);
}

/* RESET E BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* CONTAINERS */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

/* BACKGROUND AMBIENT GLOW & GRID */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    animation: floatGlow 14s infinite ease-in-out alternate;
}

.glow-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    top: -100px;
    left: -150px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.22) 0%, transparent 70%);
    top: 30%;
    right: -200px;
    animation-delay: -5s;
}

.glow-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    bottom: -100px;
    left: 20%;
    animation-delay: -9s;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.15); }
}

.background-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================================
   1. HEADER DA PÁGINA
   ============================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 11, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f97316 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45);
    transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-logo {
    transform: rotate(6deg) scale(1.05);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #ffffff, #fed7aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.brand-sub {
    font-size: 10px;
    color: var(--primary-green);
    font-weight: 800;
    letter-spacing: 0.12em;
}

.status-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.btn-contact-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-contact-nav:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================================
   2. HERO SECTION
   ============================================================================ */
.hero-section {
    position: relative;
    z-index: 10;
    padding: clamp(60px, 9vh, 110px) 0 clamp(40px, 6vh, 80px) 0;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #fb923c;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5.2vw, 64px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #38bdf8 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-secondary);
    max-width: 740px;
    line-height: 1.65;
    margin-bottom: 40px;
}

.hero-description strong {
    color: #fff;
}

/* BARRA DE PROGRESSO */
.progress-card {
    width: 100%;
    max-width: 660px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    margin-bottom: 34px;
    box-shadow: var(--shadow-card);
    text-align: left;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.progress-pct {
    color: var(--primary-green);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 800;
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #38bdf8, #f97316);
    border-radius: var(--radius-full);
    position: relative;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-note {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* CONTADOR REGRESSIVO */
.countdown-wrapper {
    margin-bottom: 40px;
}

.countdown-title {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary-green);
    margin-bottom: 14px;
}

.countdown-grid {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.8vw, 16px);
}

.countdown-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: clamp(14px, 2vh, 20px) clamp(16px, 2.5vw, 24px);
    min-width: clamp(75px, 10vw, 100px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.countdown-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.countdown-val {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.countdown-val.highlight {
    color: var(--primary-orange);
}

.countdown-lbl {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.countdown-separator {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-green);
    opacity: 0.7;
    margin-bottom: 12px;
}

/* FORMULÁRIO NOTIFY */
.notify-card {
    width: 100%;
    max-width: 580px;
    background: rgba(17, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: clamp(22px, 3vh, 32px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.notify-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.notify-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.notify-form {
    width: 100%;
}

.input-group {
    display: flex;
    background: #090e1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.notify-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}

.notify-input::placeholder {
    color: var(--text-muted);
}

.notify-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #042f2e;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.notify-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.5);
}

.notify-feedback {
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 600;
    display: none;
}

.notify-feedback.success {
    display: block;
    color: #34d399;
}

.notify-feedback.error {
    display: block;
    color: #fb7185;
}

/* ============================================================================
   3. SEÇÃO DE MÓDULOS & SOLUÇÕES EM CONSTRUÇÃO
   ============================================================================ */
.modules-section {
    position: relative;
    z-index: 10;
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 19, 37, 0.5) 100%);
    border-top: 1px solid var(--border-subtle);
}

.section-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary-green);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-orange));
    opacity: 0;
    transition: opacity 0.25s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.card-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-tag {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}

.tag-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.tag-orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.tag-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.tag-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; }

/* ============================================================================
   4. SEÇÃO DE CONTATO & INFORMAÇÕES CORPORATIVAS
   ============================================================================ */
.contact-section {
    position: relative;
    z-index: 10;
    padding: 80px 0 100px 0;
}

.contact-box {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 4vw, 50px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(24px, 4vw, 50px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-text {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 30px;
}

.direct-channels {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.channel-item {
    background: rgba(11, 19, 37, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.channel-icon {
    font-size: 24px;
}

.channel-lbl {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.channel-val {
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
}

.btn-copy, .btn-chat {
    margin-left: auto;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.btn-chat {
    background: #10b981;
    color: #042f2e;
    border: none;
    font-weight: 800;
}

.btn-chat:hover {
    background: #34d399;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* CARTÃO CORPORATIVO */
.contact-card-info {
    background: rgba(9, 14, 26, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-company-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.company-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.company-tit {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.company-sub {
    font-size: 11px;
    color: var(--primary-green);
    font-weight: 600;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12.5px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.detail-row strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.hub-pill-footer {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 11.5px;
    color: #34d399;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-status-light {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* ============================================================================
   5. FOOTER
   ============================================================================ */
.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-subtle);
    padding: 30px 0;
    background: #040812;
    font-size: 12.5px;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* TOAST */
.toast-box {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #111a2e;
    border: 1px solid var(--primary-green);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-box.show {
    display: flex;
}

@keyframes slideToast {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .contact-box {
        grid-template-columns: 1fr;
    }
    .header-actions {
        display: none;
    }
}

@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 10px;
        gap: 10px;
    }
    .notify-btn {
        width: 100%;
        justify-content: center;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
