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

:root {
    --crimson-deep: #8B0000;
    --crimson: #A00000;
    --crimson-accent: #CF0205;
    --crimson-dark: #5C0000;
    --black: #0A0A0A;
    --white: #FFFFFF;
    --off-white: #F5F0EB;
    --gold-subtle: #C9A96E;
    --text-muted: #8A7E72;
    --card-bg: #1A0000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', 'Didot', 'Bodoni MT', 'Bodoni 72 Oldstyle', Georgia, serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(180deg, rgba(10,10,10,0.9) 0%, transparent 100%);
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.nav-brand, .footer-brand {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-corretor, .title-corretor {
    color: var(--white);
}

.brand-aaa, .title-aaa {
    color: var(--crimson-accent);
}

.nav-tagline {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-weight: 300;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson-deep) 40%, var(--black) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 0, 0, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(207, 2, 5, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(139, 0, 0, 0.03) 100px,
        rgba(139, 0, 0, 0.03) 200px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    letter-spacing: 8px;
    color: var(--off-white);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hero-feature-item {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 300;
}

.feature-bullet {
    width: 6px;
    height: 6px;
    background: var(--crimson-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(207, 2, 5, 0.6);
    color: var(--white);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--crimson-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.hero-cta:hover::before {
    transform: scaleX(1);
}

.hero-cta:hover {
    border-color: var(--crimson-accent);
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: 6rem 2rem;
    background: var(--black);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-line {
    width: 80px;
    height: 1px;
    background: var(--crimson-accent);
}

.section-title {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: 1rem;
    letter-spacing: 8px;
    font-weight: 400;
    color: var(--off-white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TOOL CARD ===== */
.tool-card {
    background: linear-gradient(145deg, var(--card-bg) 0%, #0D0000 100%);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: default;
    text-decoration: none;
    color: var(--white);
    display: block;
}

.tool-card:hover {
    border-color: rgba(207, 2, 5, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.2);
}

.tool-card-active {
    cursor: pointer;
    border-color: rgba(207, 2, 5, 0.5);
}

.tool-card-active:hover {
    border-color: var(--crimson-accent);
    box-shadow: 0 20px 60px rgba(207, 2, 5, 0.3);
}

.card-visual {
    background: var(--crimson-deep);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    position: relative;
}

.card-label-top, .card-label-bottom {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: 1.1rem;
    letter-spacing: 6px;
    color: var(--black);
    font-weight: 400;
}

.card-label-top-split {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.card-line {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.4);
    margin: 0.5rem 0;
}

.card-title-big {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 4px;
}

.card-title-mch {
    font-size: 3.8rem;
}

.letter-dark {
    color: var(--black);
}

.letter-white {
    color: var(--white);
}

.card-info {
    padding: 1.5rem 2rem 2rem;
}

.card-name {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.highlight-aaa {
    color: var(--crimson-accent);
}

.highlight-ia {
    color: var(--crimson-accent);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.card-status {
    display: inline-block;
    padding: 0.4rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 1px;
    font-weight: 500;
}

.card-status.coming-soon {
    background: rgba(139, 0, 0, 0.2);
    color: var(--text-muted);
    border: 1px solid rgba(139, 0, 0, 0.3);
}

.card-status.active {
    background: var(--crimson-accent);
    color: var(--white);
    border: 1px solid var(--crimson-accent);
    transition: all 0.3s ease;
}

.tool-card-active:hover .card-status.active {
    background: #E0030A;
    box-shadow: 0 0 20px rgba(207, 2, 5, 0.4);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--black) 0%, var(--crimson-dark) 50%, var(--black) 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-family: 'Playfair Display', 'Didot', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.about-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 300;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--crimson-accent);
    background: rgba(139, 0, 0, 0.1);
}

.stat-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--crimson-accent);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--off-white);
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 2rem;
    background: var(--black);
    border-top: 1px solid rgba(139, 0, 0, 0.2);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.footer-line {
    width: 60px;
    height: 1px;
    background: var(--crimson-deep);
    margin: 0 auto 1.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-tagline {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        letter-spacing: 4px;
        font-size: 0.75rem;
    }

    .hero-features {
        align-items: flex-start;
        padding-left: 1rem;
    }

    .hero-feature-item {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .section-line {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .card-title-big {
        font-size: 3.5rem;
    }

    .hero-cta {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
        letter-spacing: 3px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }

/* Scroll-triggered animations */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-features { animation-delay: 0.5s; }
.hero-cta { animation-delay: 0.7s; }
