/* ============================================
   Hugo Albuquerque Theme - Main Stylesheet
   Converted from React/Tailwind to Pure CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================
   CSS Variables & Root
   ============================================ */
:root {
    /* Colors */
    --color-bg: #0f1419;
    --color-fg: #f5f5f5;
    --color-card: #1a232c;
    --color-card-fg: #f5f5f5;
    --color-primary: #16c784;
    --color-primary-fg: #0f1419;
    --color-secondary: #1f2937;
    --color-secondary-fg: #d9dee6;
    --color-muted: #2a3847;
    --color-muted-fg: #8d96a6;
    --color-accent: #16c784;
    --color-accent-fg: #0f1419;
    --color-border: #2a3847;
    --color-input: #2a3847;
    --color-surface: #1e2935;
    --color-surface-hover: #262d38;
    --color-glow: #16c784;
    --color-text-dim: #7a8290;
    --color-destructive: #f13f47;
    --color-destructive-fg: #fef2f2;

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --radius: 0.75rem;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.6s ease-out;

    /* Shadows & Effects */
    --shadow-sm: 0 0 20px -5px rgba(22, 199, 132, 0.3);
    --shadow-md: 0 0 40px -10px rgba(22, 199, 132, 0.4);
    --gradient-primary: linear-gradient(135deg, #16c784, #16c784);
    --gradient-dark: linear-gradient(180deg, #0f1419 0%, #0d121a 100%);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--color-border);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-muted-fg);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Text Utilities
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, #16c784, #20d9a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--color-muted-fg);
}

/* ============================================
   Layout
   ============================================ */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1;
}

.section-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .section-container {
        padding: 0 2rem;
    }
}

@media (min-width: 768px) {
    .section-container {
        max-width: 1600px;
        padding: 0 128px;
    }
}

@media (min-width: 1024px) {
    .section-container {
        max-width: 1600px;
        padding: 0 128px;
    }
}

@media (min-width: 1280px) {
    .section-container {
        max-width: 1600px;
        padding: 0 128px;
    }
}

/* ============================================
   Navbar / Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(19, 24, 32, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42, 56, 71, 0.3);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-container {
        padding: 1rem 3rem;
    }
}

.brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-fg);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
}

.brand-accent {
    color: var(--color-primary);
}

.brand-text {
    cursor: pointer;
    transition: color var(--transition-base);
}

.brand-text:hover {
    color: var(--color-primary);
}

.brand-small {
    font-size: 1.125rem;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
    margin: 0 auto;
}

.nav-desktop .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted-fg);
    transition: color var(--transition-base);
}

.nav-desktop .nav-link:hover {
    color: var(--color-fg);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

/* Desktop CTA Actions (Social Icons + Button) */
.nav-actions-desktop {
    display: none;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
}

@media (min-width: 768px) {
    .nav-actions-desktop {
        display: flex;
    }
}

/* Desktop Social Links */
.nav-socials-desktop {
    display: none;
    gap: 0.75rem;
    align-items: center;
    padding: 0 0.5rem;
}

.social-icon {
    width: 18px;
    height: 18px;
    color: var(--color-muted-fg);
    transition: color var(--transition-base), transform var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--color-primary);
    transform: scale(1.15);
}

@media (min-width: 768px) {
    .nav-socials-desktop {
        display: flex;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: calc(var(--radius) * 0.67);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-fg);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    background-color: #22e8a8;
    color: var(--color-primary-fg);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-fg);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--color-surface-hover);
}

.btn-desktop {
    display: none;
}

@media (min-width: 768px) {
    .btn-desktop {
        display: inline-flex;
    }
}

.btn-mobile {
    display: flex;
    width: 100%;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .btn-mobile {
        display: none;
    }
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.7rem;
    height: auto;
    white-space: nowrap;
}

/* Mobile Toggle */
.mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-fg);
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-base);
}

.mobile-toggle:hover {
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.menu-icon,
.close-icon {
    width: 24px;
    height: 24px;
    transition: opacity var(--transition-base);
}

.hidden {
    display: none !important;
}

/* Mobile Menu */
.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--color-card);
    border-top: 1px solid var(--color-border);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-menu.hidden {
    display: none;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted-fg);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.mobile-nav-link:hover {
    background-color: var(--color-surface);
    color: var(--color-fg);
}

/* ============================================
   Hero Section
   ============================================ */
.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.section-hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-gradient-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, rgba(15, 20, 25, 0.85) 50%, rgba(15, 20, 25, 0.3) 100%);
    pointer-events: none;
}

.hero-gradient-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent);
    pointer-events: none;
}

.section-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 3rem 1.5rem 5rem;
}

@media (min-width: 768px) {
    .section-hero-content {
        padding: 3rem 3rem 5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(22, 199, 132, 0.3);
    background-color: rgba(22, 199, 132, 0.1);
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out both;
}

.hero-title {
    font-size: clamp(1.875rem, 8vw, 4.5rem);
    max-width: 48rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: var(--color-muted-fg);
    max-width: 32rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   Services Section
   ============================================ */
.section-services {
    padding: 5rem 0;
    background: linear-gradient(to bottom, rgba(15, 20, 25, 0.5), #0c0e12);
}

.section-header {
    display: grid;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.section-header-center {
    text-align: center;
}

.section-title {
    font-size: clamp(1.875rem, 5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-muted-fg);
    max-width: 42rem;
}

.section-header-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    border-radius: calc(var(--radius) * 2.67);
    border: 1px solid var(--color-border);
    background-color: #15181e;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.45s; }

.service-card:hover {
    border-color: rgba(22, 199, 132, 0.4);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background-color: rgba(22, 199, 132, 0.1);
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    align-self: flex-start;
    transition: background-color var(--transition-base);
}

.service-card:hover .service-icon {
    background-color: rgba(22, 199, 132, 0.2);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-fg);
}

.service-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    line-height: 1.625;
    flex-grow: 1;
}

/* Market Section */
.market-section {
    border-radius: calc(var(--radius) * 2.67);
    border: 1px solid var(--color-border);
    background-color: #15181e;
    padding: 2rem 3rem;
    width: 100%;
}

@media (min-width: 768px) {
    .market-section {
        grid-column: 1 / -1;
    }
}

.market-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

.market-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.market-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.market-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--color-muted-fg);
    margin-bottom: 1.5rem;
}

/* ============================================
   Join Ads Section
   ============================================ */
.section-joinarads {
    padding: 5rem 0;
    background-color: #0c0e12;
}

.joinarads-card {
    position: relative;
    border-radius: calc(var(--radius) * 2.67);
    border: 1px solid rgba(22, 199, 132, 0.3);
    background: linear-gradient(to bottom right, rgba(22, 199, 132, 0.1), var(--color-card));
    padding: 2rem 3rem;
    overflow: hidden;
}

.joinarads-card::before {
    content: '';
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    background-color: rgba(22, 199, 132, 0.1);
    filter: blur(3rem);
    pointer-events: none;
}

.joinarads-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

.joinarads-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.joinarads-description {
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    line-height: 1.625;
    max-width: 48rem;
    margin-bottom: 2rem;
}

/* ============================================
   Blog Section
   ============================================ */
.section-blog {
    padding: 5rem 0;
    background-color: #0f1217;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background-color: #15181e;
    padding: 1.5rem;
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    min-height: auto;
    max-width: 430px;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.25s; }
.blog-card:nth-child(3) { animation-delay: 0.4s; }

.blog-card:hover {
    border-color: rgba(22, 199, 132, 0.4);
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color var(--transition-base);
}

.blog-card:hover .blog-title {
    color: var(--color-primary);
}

.blog-description {
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--color-muted-fg);
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-muted-fg);
}

.blog-arrow {
    color: var(--color-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.blog-card:hover .blog-arrow {
    opacity: 1;
}

.blog-footer {
    text-align: center;
}

.blog-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.blog-see-all:hover {
    text-decoration: underline;
}

/* ============================================
   About Section
   ============================================ */
.section-about {
    padding: 3rem 1.5rem;
    background-color: #0c0e12;
}

@media (min-width: 640px) {
    .section-about {
        padding: 4rem 2rem;
    }
}

@media (min-width: 768px) {
    .section-about {
        padding: 80px 128px;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: start;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        gap: 4rem;
    }
}

.about-bio {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
}

@media (min-width: 640px) {
    .about-bio {
        max-width: 600px;
    }
}

@media (min-width: 768px) {
    .about-bio {
        grid-column: 1 / span 3;
        max-width: 750px;
    }
}

.about-title {
    font-size: clamp(1.875rem, 6vw, 48px);
    font-weight: 700;
}

.about-paragraph {
    font-size: 1.125rem;
    color: var(--color-muted-fg);
    line-height: 1.75;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
}

.about-profile {
    grid-column: 1;
    justify-self: center;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .about-profile {
        grid-column: 4 / span 2;
        justify-self: auto;
    }
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    border-radius: calc(var(--radius) * 2.67);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
}

.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.5rem;
}

.profile-info {
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.profile-role {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

/* Carousel */
.carousel-section {
    overflow: visible;
    padding: 2rem 0;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-infinite 20s linear infinite;
}

.carousel-item {
    flex-shrink: 0;
    width: 12rem;
    height: 7rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(22, 199, 132, 0.05);
    transition: all var(--transition-base);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-13rem * 16 - 1.5rem * 16));
    }
}

/* ============================================
   Newsletter Section
   ============================================ */
.section-newsletter {
    padding: 5rem 0;
    background-color: #121419;
}

.newsletter-content {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(1.875rem, 5vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.newsletter-subtitle {
    font-size: 0.875rem;
    color: var(--color-muted-fg);
    margin-bottom: 2.5rem;
    line-height: 1.625;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .newsletter-input-group {
        flex-direction: row;
        gap: 0.75rem;
    }
}

.newsletter-input {
    flex: 1;
    border-radius: calc(var(--radius) * 0.67);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-fg);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.newsletter-input::placeholder {
    color: var(--color-muted-fg);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(22, 199, 132, 0.1);
}

.newsletter-consent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-muted-fg);
    cursor: pointer;
    justify-content: center;
}

.newsletter-consent input {
    width: 1rem;
    height: 1rem;
    border-radius: 2px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    border-top: 1px solid var(--color-border);
    background-color: rgba(26, 35, 44, 0.3);
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 3rem 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 3rem 5rem;
    }
}

@media (min-width: 1280px) {
    .footer-container {
        padding: 3rem 8rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-description {
    font-size: 0.75rem;
    color: var(--color-muted-fg);
    line-height: 1.5;
    max-width: 20rem;
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-fg);
    margin-bottom: 0.25rem;
}

.footer-link {
    color: var(--color-muted-fg);
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--color-fg);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social-icon {
    width: 16px;
    height: 16px;
    color: var(--color-muted-fg);
    transition: color var(--transition-base), transform var(--transition-base);
}

.footer-social-icon:hover {
    color: var(--color-primary);
    transform: scale(1.2);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright,
.footer-note {
    font-size: 0.75rem;
    color: var(--color-muted-fg);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive & Utilities
   ============================================ */
@media (max-width: 480px) {
    .section-hero-content {
        padding: 5rem 1rem 3rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.75rem;
    }

    .market-section {
        padding: 1.5rem 1.5rem;
    }

    .joinarads-card {
        padding: 1.5rem 1.5rem;
    }
}

/* Glass effect */
.glass {
    background: rgba(26, 35, 44, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(42, 56, 71, 0.3);
}

/* Glow utilities */
.glow-sm {
    box-shadow: var(--shadow-sm);
}

.glow-md {
    box-shadow: var(--shadow-md);
}

/* ============================================
   Page Styles
   ============================================ */
.page-content {
    padding: 3rem 0;
    background-color: var(--color-bg);
    min-height: 60vh;
}

.page-content .section-container {
    padding: 0 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .page-content .section-container {
        padding: 0 2rem;
    }
}

@media (min-width: 768px) {
    .page-content .section-container {
        padding: 0 128px;
    }
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
    font-weight: 700;
    color: var(--color-fg);
    line-height: 1.2;
    margin: 0;
}

.page-body {
    max-width: 900px;
    color: var(--color-muted-fg);
}

.page-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.page-body h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-fg);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-fg);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.page-body a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.page-body a:hover {
    text-decoration: underline;
}

.page-body ul,
.page-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.page-body li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.page-body blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-muted-fg);
}

.page-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: var(--radius);
}

.page-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-links a,
.page-links span {
    padding: 0.5rem 1rem;
    background-color: var(--color-surface);
    color: var(--color-fg);
    border-radius: calc(var(--radius) * 0.5);
    transition: background-color var(--transition-base);
    text-decoration: none;
}

.page-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-primary-fg);
}
