:root {
    --bg-base: #030303;
    --bg-surface: #0f0f0f;
    --bg-surface-hover: #1a1a1a;
    --accent-red: #E60000;
    --accent-red-hover: #FF1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --border-color: rgba(255, 255, 255, 0.08);

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Typography Structuring */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.03em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.02em; }
p { font-size: 1.125rem; color: var(--text-secondary); max-width: 60ch; }

.text-red { color: var(--accent-red); }

/* Common Layout */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
section { padding: 120px 0; border-bottom: 1px solid var(--border-color); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--text-primary);
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 0%;
    background-color: var(--accent-red);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}
.btn:hover::before { height: 100%; }
.btn:hover { border-color: var(--accent-red); color: #fff; }

.btn-primary {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}
.btn-primary::before { background-color: var(--bg-base); }
.btn-primary:hover { color: var(--accent-red); border-color: var(--accent-red); }

/* Nav */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 5%; position: fixed; width: 100%; top: 0; z-index: 100;
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color);
}
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.05em; color: #fff; text-decoration:none; }
.logo span { color: var(--accent-red); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding-top: 100px; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text { position: relative; z-index: 2; }
.hero-p { margin: 2rem 0; font-size: 1.25rem; }
.hero-visual { position: relative; height: 500px; display: flex; justify-content: center; align-items: center; }
.red-blur { position: absolute; width: 300px; height: 300px; background: var(--accent-red); filter: blur(150px); opacity: 0.2; z-index: 0; }
.mockup-card { background: var(--bg-surface); border: 1px solid var(--border-color); padding: 2rem; width: 100%; max-width: 400px; position: relative; z-index: 1; transform: rotate(-5deg); box-shadow: 20px 20px 0px rgba(230,0,0,0.1); }

/* About / Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.feature-card { background: var(--bg-surface); padding: 3rem; border: 1px solid var(--border-color); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); border-color: var(--accent-red); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.plan-card { background: var(--bg-surface); padding: 3rem; border: 1px solid var(--border-color); position: relative; }
.plan-card.highlight { border-color: var(--accent-red); }
.plan-card.highlight::after { content: 'Mais Popular'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent-red); color: #fff; padding: 5px 15px; font-weight: 700; font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; }
.plan-price { font-size: 3rem; font-family: var(--font-display); font-weight: 700; margin: 1.5rem 0; color: #fff; }
.plan-price span { font-size: 1rem; color: var(--text-secondary); }
.plan-features { list-style: none; margin: 2rem 0; }
.plan-features li { padding: 10px 0; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-color); padding: 2rem 0; cursor: pointer; }
.faq-q { font-size: 1.5rem; font-family: var(--font-display); display: flex; justify-content: space-between; align-items: center; color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; margin-top: 0; color: var(--text-secondary); }
.faq-item.active .faq-a { max-height: 200px; margin-top: 1rem; }
.faq-icon { font-size: 2rem; font-weight: 300; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent-red); }

/* Dashboard specifics */
.dash-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { border-right: 1px solid var(--border-color); padding: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.dash-content { padding: 3rem; background: var(--bg-base); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.stat-box { background: var(--bg-surface); padding: 2rem; border: 1px solid var(--border-color); }
.stat-value { font-size: 3rem; font-family: var(--font-display); font-weight: 700; color: #fff; }
.script-box { background: #000; padding: 1.5rem; border: 1px solid var(--border-color); border-radius: 4px; font-family: monospace; color: var(--accent-red); position: relative; overflow-x: auto; margin-top: 1rem; }
.copy-btn { position: absolute; top: 1rem; right: 1rem; background: var(--bg-surface-hover); color: #fff; border: 1px solid var(--border-color); padding: 0.5rem 1rem; cursor: pointer; }

/* Table */
table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
th { font-family: var(--font-display); text-transform: uppercase; color: var(--text-secondary); font-size: 0.9rem; letter-spacing: 0.05em; }
td { color: #fff; }
.status-badge { padding: 5px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.status-badge.approved { background: rgba(0, 255, 0, 0.1); color: #0f0; }
.status-badge.denied { background: rgba(230, 0, 0, 0.1); color: var(--accent-red); }

/* Auth Layout */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-box { background: var(--bg-surface); padding: 4rem; border: 1px solid var(--border-color); width: 100%; max-width: 500px; }
.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-family: var(--font-display); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--text-secondary); }
input[type="email"], input[type="password"], input[type="text"] { width: 100%; padding: 1rem; background: var(--bg-base); border: 1px solid var(--border-color); color: #fff; font-size: 1rem; outline: none; transition: border-color 0.3s; }
input:focus { border-color: var(--accent-red); }
