:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 22, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --accent-1: #c4b5fd;
    /* Light purple */
    --accent-2: #8b5cf6;
    /* Vibrant purple */
    --accent-3: #f59e0b;
    /* Gold/Amber */

    --gradient-primary: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Calibri', 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* Background Gradients & Glows */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(5, 5, 5, 0) 70%);
}

.bg-glow-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(5, 5, 5, 0) 70%);
    animation-delay: -5s;
}

.bg-glow-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.1) 0%, rgba(5, 5, 5, 0) 70%);
    animation-duration: 25s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: 'Calibri', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Calibri', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-3);
    font-style: italic;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    white-space: nowrap;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    z-index: 10;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-1);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Glass Components */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(139, 92, 246, 0.3);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-3);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2) inset;
}

.icon-box.sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px -10px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(245, 158, 11, 0.6);
}

/* Sections Structure */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.phase-number {
    display: block;
    color: var(--accent-3);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--accent-1);
    font-size: 1.2rem;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Main Thesis */
.main-thesis {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.main-thesis .icon-box {
    margin: 0 auto 2rem auto;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 17px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-3);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
    z-index: 2;
}

.timeline-content {
    padding: 2rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Grids & Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-2);
    font-weight: bold;
}

.feature-list strong {
    color: var(--text-primary);
}

/* Complex Highlight Card */
.highlight-card {
    background: linear-gradient(to bottom right, rgba(20, 20, 22, 0.8), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.text-center {
    text-align: center;
}

/* Animations classes via JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Simples para demo, idealmente um hamburger menu */
    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 8px;
    }

    .timeline-item {
        padding-left: 45px;
    }
}

/* Novos estilos - Produtos Tech & Cronograma */
.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* Product Cards */
.product-card {
    padding: 2.5rem;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.product-badge {
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.product-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.product-title {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-subcard {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.product-subcard h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.product-subcard p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.highlight-subcard {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 0, 0, 0));
    border-color: rgba(139, 92, 246, 0.3);
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.clean-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-weight: bold;
}

/* Cronograma */
.full-card {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem;
}

.cronograma-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.cronograma-header h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.cronograma-header p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cronograma-header .icon-box {
    margin-bottom: 0;
}

.cronograma-body h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.border-dashed {
    border-style: dashed;
    background: rgba(20, 20, 22, 0.3);
}

.highlight-border {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

/* Estilos Orçamento, Riscos, Checklist */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    color: var(--text-primary);
    font-weight: 700;
    background: rgba(20, 20, 22, 0.4);
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tr:hover td {
    background: rgba(139, 92, 246, 0.05);
}

.highlight-row td {
    color: var(--text-primary) !important;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
}

.border-top-strong td {
    border-top: 1px solid rgba(139, 92, 246, 0.4) !important;
}

.table-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.table-container {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: var(--glass-shadow);
    padding: 1px;
    width: 100%;
}

.table-container table {
    border-radius: 16px;
    overflow: hidden;
}

/* Cards Riscos */
.focus-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-3);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}