/* ═══════════════════════════════════════════════════
   Design Automator Landing Page Styles
   Estética Rica - Dark Mode, Glassmorphism, Neon Acentos
   ═══════════════════════════════════════════════════ */

:root {
    --bg-primary: #060913;
    --bg-secondary: #0d1222;
    --bg-tertiary: #141c33;
    --border-color: #1e294b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --color-cyan: #00e5ff;
    --color-blue: #2979ff;
    --color-green: #00e676;
    --color-red: #ff1744;
    --gradient-accent: linear-gradient(135deg, #00e5ff 0%, #2979ff 100%);
    --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.15);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

/* ═══════════════ TYPOGRAPHY & BUTTONS ═══════════════ */

h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-cyan);
    background: rgba(0, 229, 255, 0.1);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.section-tag.green {
    color: var(--color-green);
    background: rgba(0, 230, 118, 0.1);
    border-color: rgba(0, 230, 118, 0.15);
}

.section-tag.blue {
    color: var(--color-blue);
    background: rgba(41, 121, 255, 0.1);
    border-color: rgba(41, 121, 255, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(41, 121, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(41, 121, 255, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ═══════════════ NAVBAR ═══════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 75, 0.5);
    transition: var(--transition);
}

.nav-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.logo-bold {
    color: #fff;
    font-weight: 900;
}

.logo-light {
    color: var(--color-cyan);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: rgba(0, 229, 255, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--color-cyan);
    color: #060913;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

/* ═══════════════ HERO SECTION ═══════════════ */

.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(41, 121, 255, 0.02) 70%, transparent 100%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-actions .btn svg {
    margin-right: 8px;
}

.hero-trust {
    display: flex;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    gap: 8px;
}

.trust-item svg {
    color: var(--color-cyan);
}

/* Code mockup wrapper */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.visual-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.visual-header {
    background: rgba(30, 41, 75, 0.3);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.visual-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.visual-header .dot.red { background: var(--color-red); }
.visual-header .dot.yellow { background: #ffea00; }
.visual-header .dot.green { background: var(--color-green); }

.window-title {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 8px;
}

.visual-body {
    padding: 24px;
    font-family: monospace;
    font-size: 13px;
    overflow-x: auto;
}

.visual-body pre {
    color: #e2e8f0;
}

.keyword { color: #ff007f; }
.comment { color: #64748b; }
.number { color: #a855f7; }
.string { color: #10b981; }
.success { color: var(--color-cyan); font-weight: 600; display: block; margin-top: 12px; }

/* ═══════════════ PROBLEM SECTION ═══════════════ */

.problem-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
}

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

.problem-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: rgba(255, 23, 68, 0.3);
    transform: translateY(-4px);
}

.problem-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 20px;
}

.problem-icon--red {
    background: rgba(255, 23, 68, 0.1);
    color: var(--color-red);
    border: 1px solid rgba(255, 23, 68, 0.2);
}

.problem-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* ═══════════════ DETALHE SECTIONS ═══════════════ */

.detail-section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-reverse .detail-content {
    grid-column: 2;
}
.grid-reverse .detail-visual {
    grid-column: 1;
    grid-row: 1;
}

.detail-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.detail-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

.detail-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.check-icon {
    color: var(--color-cyan);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Detail visuals */
.detail-visual {
    display: flex;
    justify-content: center;
    width: 100%;
}

.canvas-preview-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 440px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.canvas-item {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
}

.graphic-card-1 {
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
    border: 2px solid var(--color-green);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.card-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-green);
}

.card-title {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.card-badge {
    align-self: flex-start;
    background: rgba(0, 230, 118, 0.1);
    color: var(--color-green);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.prompt-preview-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.prompt-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: 16px;
}

.prompt-block {
    font-family: monospace;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.prompt-result-glow {
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.2) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
}

/* ═══════════════ PRICING SECTION ═══════════════ */

.pricing-section {
    padding: 100px 0;
    position: relative;
}

.pricing-box {
    background: var(--bg-secondary);
    border: 2px solid var(--color-cyan);
    border-radius: 20px;
    max-width: 550px;
    margin: 0 auto;
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--shadow-glow);
}

.pricing-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: #060913;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.pricing-price {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    position: relative;
    z-index: 2;
}

.price-symbol {
    font-size: 24px;
    font-weight: 800;
    margin-right: 4px;
    color: var(--text-primary);
}

.price-value {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 8px;
}

.pricing-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.benefit-check {
    color: var(--color-cyan);
    flex-shrink: 0;
}

.pricing-secure {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

/* ═══════════════ FAQ SECTION ═══════════════ */

.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ═══════════════ FOOTER ═══════════════ */

.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ═══════════════ MODAL CHECKOUT ═══════════════ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 11, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-group input {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: #fff;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.form-summary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* ═══════════════ RESPONSIVIDADE ═══════════════ */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .grid-reverse .detail-content {
        grid-column: 1;
    }
    
    .grid-reverse .detail-visual {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-box {
        padding: 30px 20px;
    }
}
