/* ==========================================================================
   BRUTALIST MODERN DESIGN SYSTEM - JOÃO HOSSEIN
   ========================================================================== */

:root {
    --bg-primary: #FAF9F6;
    --bg-secondary: #FFFFFF;
    --bg-dark: #0D0D0D;
    --bg-dark-secondary: #161616;
    
    --color-text: #000000;
    --color-text-light: #FFFFFF;
    --color-text-muted: #555555;
    --color-text-muted-light: #AAAAAA;
    
    /* Neo-Brutalist High Contrast Accents */
    --accent-yellow: #FDE047;
    --accent-yellow-hover: #FACC15;
    --accent-green: #4ADE80;
    --accent-green-hover: #22C55E;
    --accent-rose: #FB7185;
    --accent-rose-hover: #F43F5E;
    --accent-blue: #60A5FA;
    --accent-blue-hover: #3B82F6;
    --accent-purple: #C084FC;
    --accent-purple-hover: #A855F7;
    
    --border-color: #000000;
    --border-color-light: #FFFFFF;
    --border-width: 2.5px;
    --shadow-offset: 6px;
    --shadow-offset-hover: 9px;
    --shadow-offset-active: 2px;
    
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Custom Selection */
::selection {
    background-color: var(--accent-yellow);
    color: var(--color-text);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: var(--border-width) solid var(--border-color);
}
::-webkit-scrollbar-thumb {
    background-color: var(--color-text);
    border: 2px solid var(--bg-primary);
}

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

.container-narrow {
    max-width: 800px;
}

/* Layout Utilities */
.grid {
    display: grid;
}
.grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4-cols {
    grid-template-columns: repeat(4, 1fr);
}
.gap-8 {
    gap: 32px;
}
.gap-12 {
    gap: 48px;
}
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-12 { margin-top: 48px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.bg-dark-secondary {
    background-color: var(--bg-dark-secondary) !important;
    color: var(--color-text-light) !important;
}

/* Section Common Styling */
.section-padding {
    padding: 100px 0;
    border-bottom: var(--border-width) solid var(--border-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-tagline {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    background-color: var(--accent-blue);
    color: var(--color-text);
    padding: 6px 12px;
    border: var(--border-width) solid var(--border-color);
    box-shadow: 2px 2px 0 var(--border-color);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.bg-dark-secondary .section-title {
    color: var(--color-text-light);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.bg-dark-secondary .section-subtitle {
    color: var(--color-text-muted-light);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: var(--border-width) solid var(--border-color);
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--color-text);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color);
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-offset-hover) var(--shadow-offset-hover) 0 var(--border-color);
}

.btn-primary:active {
    transform: translate(3px, 3px);
    box-shadow: var(--shadow-offset-active) var(--shadow-offset-active) 0 var(--border-color);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--color-text);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-primary);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-offset-hover) var(--shadow-offset-hover) 0 var(--border-color);
}

.btn-secondary:active {
    transform: translate(3px, 3px);
    box-shadow: var(--shadow-offset-active) var(--shadow-offset-active) 0 var(--border-color);
}

/* Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1.05rem;
}

.btn-xl {
    padding: 20px 36px;
    font-size: 1.25rem;
    width: 100%;
}

/* ==========================================================================
   BRUTALIST CARDS
   ========================================================================== */

.brutalist-card {
    background-color: var(--bg-secondary);
    color: var(--color-text);
    border: var(--border-width) solid var(--border-color);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color);
    padding: 32px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
}

.brutalist-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-offset-hover) var(--shadow-offset-hover) 0 var(--border-color);
}

/* Card Accent Variations */
.card-red {
    background-color: #FFEAEF; /* Pastel pink background for brutalist card */
}

.card-green {
    background-color: #E8FDF0; /* Pastel green background */
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-secondary);
    border-bottom: var(--border-width) solid var(--border-color);
    padding: 16px 0;
    transition: padding var(--transition-smooth), background-color var(--transition-smooth);
}

.header-scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.02em;
}

.logo-star {
    color: var(--accent-rose);
    display: inline-block;
    animation: star-spin 8s linear infinite;
    font-size: 1.5rem;
}

@keyframes star-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-yellow);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: var(--border-width) solid var(--border-color);
    padding: 8px;
    cursor: pointer;
    background-color: var(--accent-yellow);
    box-shadow: 3px 3px 0 var(--border-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.mobile-menu-toggle:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--border-color);
}

.mobile-menu-toggle i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
    color: var(--color-text);
}

/* Mobile Menu Panel */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background-color: var(--bg-primary);
    border-left: var(--border-width) solid var(--border-color);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 0 rgba(0,0,0,0.15);
}

.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-open .mobile-menu-panel {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: var(--border-width) solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: var(--border-width) solid var(--border-color);
    padding: 6px;
    cursor: pointer;
    background-color: var(--accent-rose);
    box-shadow: 3px 3px 0 var(--border-color);
}

.mobile-menu-close i {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    padding: 8px 16px;
    border: var(--border-width) solid transparent;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    border-color: var(--border-color);
    background-color: var(--accent-yellow);
    box-shadow: 4px 4px 0 var(--border-color);
    transform: translate(-2px, -2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding: 80px 0 100px 0;
    border-bottom: var(--border-width) solid var(--border-color);
    position: relative;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 24px 24px;
    background-color: var(--bg-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-glow {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--accent-purple);
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border: var(--border-width) solid var(--border-color);
    box-shadow: 3px 3px 0 var(--border-color);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.4;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.trust-item .indicator {
    color: var(--accent-rose);
    font-size: 1.25rem;
    font-weight: 800;
}

/* Portrait Block */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brutalist-portrait {
    position: relative;
    border: var(--border-width) solid var(--border-color);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color);
    background-color: var(--accent-yellow);
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(10%) contrast(105%);
}

.portrait-badge {
    position: absolute;
    border: var(--border-width) solid var(--border-color);
    background-color: var(--accent-green);
    color: var(--color-text);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 0 var(--border-color);
    z-index: 10;
}

.badge-top-right {
    top: 24px;
    right: -20px;
    transform: rotate(4deg);
}

.portrait-badge .val {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.portrait-badge .lbl {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ==========================================================================
   STATS BAR SECTION
   ========================================================================== */

.stats-bar-section {
    border-bottom: var(--border-width) solid var(--border-color);
    background-color: var(--color-text);
    color: var(--color-text-light);
    padding: 40px 0;
}

.stat-card {
    text-align: center;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
}

.stat-desc {
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 8px;
    color: var(--color-text-muted-light);
}

/* ==========================================================================
   MÉTODO SECTION
   ========================================================================== */

.diferencial-section {
    background-color: var(--bg-primary);
}

.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bullet-list li::before {
    content: '→';
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-text);
    line-height: 1;
}

.card-subtitle {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: var(--border-width) solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* ==========================================================================
   CASES SECTION
   ========================================================================== */

.cases-section {
    background-color: var(--bg-dark);
}

.case-box {
    background-color: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--accent-rose);
    color: var(--color-text);
    padding: 4px 8px;
    border: var(--border-width) solid var(--border-color);
    box-shadow: 2px 2px 0 var(--border-color);
    margin-bottom: 20px;
}

.case-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.1;
}

.case-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    flex-grow: 1;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: var(--border-width) solid var(--border-color);
    padding-top: 24px;
}

.metric-box {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border: var(--border-width) solid var(--border-color);
    background-color: var(--bg-primary);
    box-shadow: 3px 3px 0 var(--border-color);
}

.metric-box .lbl {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.metric-box .val {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 4px;
    color: var(--color-text);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
    background-color: var(--bg-primary);
}

.service-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    border: var(--border-width) solid var(--border-color);
    background-color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 var(--border-color);
    margin-bottom: 24px;
}

.service-icon i {
    width: 28px;
    height: 28px;
    stroke-width: 2.5px;
    color: var(--color-text);
}

.service-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.service-text {
    color: var(--color-text-muted);
    font-size: 0.975rem;
    line-height: 1.45;
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */

.calculator-card {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-secondary) !important;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
}

.calc-subtitle {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: var(--border-width) solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 28px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.input-field {
    display: flex;
    flex-direction: column;
}

.field-labels, .field-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.field-val {
    background-color: var(--color-text);
    color: var(--color-text-light);
    padding: 4px 10px;
    font-size: 0.9rem;
    font-weight: 800;
    border: var(--border-width) solid var(--border-color);
    box-shadow: 2px 2px 0 var(--accent-yellow);
}

.limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-top: 8px;
    text-transform: uppercase;
}

/* Range Sliders */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    border: var(--border-width) solid var(--border-color);
    background: var(--bg-primary);
    outline: none;
    border-radius: 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-yellow);
    border: var(--border-width) solid var(--border-color);
    cursor: pointer;
    border-radius: 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    background: var(--accent-yellow-hover);
    transform: scale(1.1);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-yellow);
    border: var(--border-width) solid var(--border-color);
    cursor: pointer;
    border-radius: 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.range-slider::-moz-range-thumb:hover {
    background: var(--accent-yellow-hover);
    transform: scale(1.1);
}

/* Outputs */
.calculator-outputs {
    background-color: var(--bg-primary);
    border: var(--border-width) solid var(--border-color);
    box-shadow: 4px 4px 0 var(--border-color);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.output-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.output-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1.5px dashed var(--border-color);
    padding-bottom: 12px;
}

.output-row:last-child {
    border-bottom: none;
}

.output-row .lbl {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.output-row .val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
}

.output-row .text-large {
    font-size: 2.25rem;
    line-height: 1;
}

.output-row .text-green {
    color: #10B981 !important;
}

.output-row .text-red {
    color: #EF4444 !important;
}

.roas-status-badge {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 12px;
    border: var(--border-width) solid var(--border-color);
    margin-top: 8px;
    box-shadow: 3px 3px 0 var(--border-color);
}

.status-neutral {
    background-color: var(--accent-blue);
}

.status-good {
    background-color: var(--accent-green);
}

.status-excellent {
    background-color: var(--accent-yellow);
}

/* ==========================================================================
   ABOUT / SOBRE
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 64px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.portrait-container {
    position: relative;
    border: var(--border-width) solid var(--border-color);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--border-color);
    width: 100%;
    max-width: 360px;
    background-color: var(--accent-purple);
}

.about-portrait {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(100%) contrast(110%);
    transition: filter var(--transition-smooth);
}

.portrait-container:hover .about-portrait {
    filter: grayscale(0%) contrast(100%);
}

.badge-title {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    background-color: var(--accent-yellow);
    border: var(--border-width) solid var(--border-color);
    box-shadow: 3px 3px 0 var(--border-color);
    padding: 8px 24px;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bullet-icon {
    width: 24px;
    height: 24px;
    background-color: var(--accent-green);
    border: var(--border-width) solid var(--border-color);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 0 var(--border-color);
    stroke-width: 3px;
    color: var(--color-text);
}

.bullet-item span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.faq-item {
    border: var(--border-width) solid var(--border-color);
    background-color: var(--bg-secondary);
    box-shadow: 4px 4px 0 var(--border-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--border-color);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
}

.faq-trigger span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.faq-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
    transition: transform var(--transition-smooth);
    color: var(--color-text);
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-content-inner {
    padding: 0 24px 24px 24px;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Open State */
.faq-item-open {
    background-color: #FAFAF6;
}

.faq-item-open .faq-icon {
    transform: rotate(180deg);
}

.faq-item-open .faq-content {
    max-height: 300px; /* arbitrary height to slide down */
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta-section {
    background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    background-color: var(--bg-primary);
}

.cta-box {
    max-width: 750px;
    margin: 0 auto;
    background-color: var(--bg-secondary);
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 600px;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-section {
    background-color: var(--bg-dark);
    color: var(--color-text-light);
    padding: 80px 0 40px 0;
    border-top: var(--border-width) solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-info .logo {
    color: var(--color-text-light);
    font-size: 1.5rem;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--color-text-muted-light);
    line-height: 1.5;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--accent-yellow);
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-muted-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text-light);
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--color-text-muted-light);
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.legal-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted-light);
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

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

@media (max-width: 991px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .grid-3-cols, .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-card {
        border-right: none;
        padding: 16px;
    }
    
    .stat-card:nth-child(odd) {
        border-right: 2px solid rgba(255, 255, 255, 0.15);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content {
        align-items: center;
        text-align: center;
    }
    
    .about-bullets {
        align-items: center;
        max-width: 480px;
        margin: 24px auto 0 auto;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 15px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .grid-2-cols, .grid-3-cols, .grid-4-cols {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px;
    }
    
    .stat-card:last-child {
        border-bottom: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .nav-menu, .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cta-box {
        padding: 32px 20px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .badge-top-right {
        right: 10px;
    }
}
