/* =====================================================
   GURU DO TI - CSS PRINCIPAL
   Mobile First | Design System
   ===================================================== */

/* -------------------------------------------------
   1. VARIÁVEIS (CSS Custom Properties)
   ------------------------------------------------- */
:root {
    /* Cores - Paleta Guru do TI */
    --color-primary: #1E3A5F;      /* Azul Midnight */
    --color-primary-light: #2A4A73;
    --color-primary-dark: #152B47;
    
    --color-accent: #FF8F00;        /* Laranja Guru */
    --color-accent-light: #FF9F20;
    --color-accent-dark: #E67800;
    
    --color-bg-white: #FFFFFF;
    --color-bg-snow: #FAFAFA;
    --color-bg-gray: #F0F4F8;
    --color-bg-dark: #0A0A0F;
    
    --color-text: #2D3748;
    --color-text-light: #718096;
    --color-text-white: #FFFFFF;
    
    --color-success: #48BB78;
    --color-error: #F56565;
    --color-warning: #ECC94B;
    
    /* Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Tamanhos de Fonte (Mobile First) */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    
    /* Espaçamento (8px Grid) */
    --space-xs: 0.5rem;      /* 8px */
    --space-sm: 1rem;         /* 16px */
    --space-md: 1.5rem;       /* 24px */
    --space-lg: 2rem;         /* 32px */
    --space-xl: 3rem;         /* 48px */
    --space-2xl: 4rem;        /* 64px */
    --space-3xl: 6rem;        /* 96px */
    
    /* Bordas e Sombras */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Transições */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1rem;
}

/* -------------------------------------------------
   2. RESET E BASE
   ------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-snow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* -------------------------------------------------
   3. TIPOGRAFIA
   ------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}

h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-sm);
}

p:last-child {
    margin-bottom: 0;
}

strong, b {
    font-weight: 600;
}

/* -------------------------------------------------
   4. LAYOUT - CONTAINER
   ------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* -------------------------------------------------
   5. SEÇÕES GLOBAIS
   ------------------------------------------------- */
.section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.section-alt {
    background-color: var(--color-bg-gray);
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-text-white);
}

/* -------------------------------------------------
   6. BOTÕES
   ------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 48px; /* Touch-friendly */
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Primário - Laranja (CTA principal) */
.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    box-shadow: var(--shadow-lg);
}

/* Secundário - Outline */
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* WhatsApp */
.btn-whatsapp {
    background-color: var(--color-success);
    color: var(--color-text-white);
    border-color: var(--color-success);
}

.btn-whatsapp:hover {
    background-color: #38A169;
    border-color: #38A169;
    box-shadow: var(--shadow-lg);
}

/* Ghost - Texto */
.btn-ghost {
    background: transparent;
    color: var(--color-primary);
    border: none;
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    background-color: var(--color-bg-gray);
}

/* Tamanhos */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
    min-height: 40px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
    min-height: 56px;
}

/* Full Width */
.btn-full {
    width: 100%;
}

/* -------------------------------------------------
   7. CARDS
   ------------------------------------------------- */
.card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.card-body {
    padding: var(--space-md);
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.card-footer {
    padding: var(--space-md);
    padding-top: 0;
}

/* Card de Linha de Curso */
.card-linha {
    text-align: center;
    padding: var(--space-lg);
}

.card-linha-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.card-linha-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
}

.card-linha-text {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* -------------------------------------------------
   8. HEADER
   ------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

/* Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 200px;
    padding: var(--space-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.nav-dropdown-item:hover {
    background-color: var(--color-bg-gray);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: var(--space-xs);
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-fast);
}

.menu-toggle span:not(:last-child) {
    margin-bottom: 5px;
}

/* Mobile Nav Active */
.nav-mobile {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg-white);
    padding: var(--space-md);
    padding-bottom: 100px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-sticky);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.nav-mobile-link {
    display: block;
    padding: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-lg);
    border-bottom: 1px solid var(--color-bg-gray);
}

/* -------------------------------------------------
   9. HERO
   ------------------------------------------------- */
.hero {
    position: relative;
    padding-top: calc(64px + var(--space-xl));
    padding-bottom: var(--space-xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../images/hero-bg-tech.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: brightness(0.8) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(42, 74, 115, 0.4) 100%);
    z-index: 2;
}

.hero > .container {
    position: relative;
    z-index: 3;
}

.hero h1,
.hero h2 {
    color: var(--color-text-white);
}

.hero-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    width: 100%;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* -------------------------------------------------
   10. DIFERENCIAIS
   ------------------------------------------------- */
.diferenciais {
    text-align: center;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.diferencial-card {
    padding: var(--space-md);
}

.diferencial-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.diferencial-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.diferencial-text {
    color: var(--color-text-light);
    font-size: var(--text-sm);
}

/* -------------------------------------------------
   11. LINHAS DE CURSOS (Home)
   ------------------------------------------------- */
.linhas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* -------------------------------------------------
   12. CURSOS EM DESTAQUE
   ------------------------------------------------- */
.cursos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.curso-card {
    display: flex;
    flex-direction: column;
}

.curso-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.curso-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
}

.curso-card-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.curso-card-text {
    flex: 1;
    color: var(--color-text-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.curso-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.curso-card-badge {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
}

/* -------------------------------------------------
   13. FOOTER
   ------------------------------------------------- */
.footer {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.footer-col h4 {
    color: var(--color-text-white);
    font-size: var(--text-base);
    margin-bottom: var(--space-sm);
}

.footer-col p {
    font-size: var(--text-sm);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-link {
    font-size: var(--text-sm);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-link:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: var(--text-sm);
    opacity: 0.6;
}

/* -------------------------------------------------
   14. WIDGET WHATSAPP
   ------------------------------------------------- */
.whatsapp-widget {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: var(--z-fixed);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--color-success);
    color: var(--color-text-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #38A169;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(72, 187, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

/* -------------------------------------------------
   15. FORMULÁRIOS
   ------------------------------------------------- */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    font-size: var(--text-base);
    border: 2px solid var(--color-bg-gray);
    border-radius: var(--radius-md);
    background-color: var(--color-bg-white);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--color-error);
}

.form-error {
    color: var(--color-error);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* -------------------------------------------------
   16. BADGES E TAGS
   ------------------------------------------------- */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.badge-accent {
    background-color: var(--color-accent);
    color: var(--color-text-white);
}

.badge-success {
    background-color: var(--color-success);
    color: var(--color-text-white);
}

/* -------------------------------------------------
   17. UTILITÁRIOS
   ------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* -------------------------------------------------
   18. ANIMAÇÕES
   ------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay para animação em grupo */
.fade-in:nth-child(1) { transition-delay: 0ms; }
.fade-in:nth-child(2) { transition-delay: 100ms; }
.fade-in:nth-child(3) { transition-delay: 200ms; }
.fade-in:nth-child(4) { transition-delay: 300ms; }
.fade-in:nth-child(5) { transition-delay: 400ms; }
.fade-in:nth-child(6) { transition-delay: 500ms; }

/* -------------------------------------------------
   19. MEDIA QUERIES (Tablet - 768px+)
   ------------------------------------------------- */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
        --text-4xl: 3rem;
        --text-5xl: 3.5rem;
    }
    
    h1 {
        font-size: var(--text-4xl);
    }
    
    h2 {
        font-size: var(--text-3xl);
    }
    
    /* Hero */
    .hero {
        text-align: left;
        padding-top: calc(64px + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }
    
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Linhas de Cursos */
    .linhas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Cursos */
    .cursos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -------------------------------------------------
   20. MEDIA QUERIES (Desktop - 1024px+)
   ------------------------------------------------- */
@media (min-width: 1024px) {
    :root {
        --text-5xl: 4rem;
        --space-3xl: 8rem;
    }
    
    h1 {
        font-size: var(--text-5xl);
    }
    
    /* Header */
    .menu-toggle {
        display: none;
    }
    
    .nav {
        display: block;
    }
    
    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Linhas de Cursos */
    .linhas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Cursos */
    .cursos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* -------------------------------------------------
   21. MEDIA QUERIES (Large Desktop - 1200px+)
   ------------------------------------------------- */
@media (min-width: 1200px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
}

/* =============================================
   POSTS - Novidades Page
   ============================================= */
.posts-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-category {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-date {
    color: var(--color-gray);
    display: flex;
    align-items: center;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: var(--color-accent);
}

.post-excerpt {
    color: var(--color-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
}

.btn-link:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--color-light);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.page-item:hover {
    background: var(--color-primary);
    color: white;
}

.page-item.active {
    background: var(--color-primary);
    color: white;
}

.page-item.next {
    width: auto;
    padding: 0 1rem;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-question {
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    background: rgba(30, 58, 95, 0.05);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

details[open] .faq-item {
    border-left: 4px solid var(--color-accent);
}
