/* =====================================================
   PRINTERNET - STYLES.CSS
   Premium Dark Mode Creative Agency Landing Page
   Primary Color: Electric Blue #3B82F6
   ===================================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary Color Scale - Electric Blue */
    --primary-50:  #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3B82F6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --primary-rgb: 59, 130, 246;

    /* Background Colors */
    --bg-primary:   #000000;
    --bg-secondary: #09090B;
    --bg-tertiary:  #18181B;
    --bg-card:      #1C1C22;

    /* Text Colors */
    --text-primary:    #FFFFFF;
    --text-secondary:  #E4E4E7;
    --text-tertiary:   #A1A1AA;
    --text-quaternary: #71717A;

    /* Accent Colors */
    --success: #22C55E;
    --info:    #3B82F6;
    --warning: #F59E0B;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max:   1280px;
    --border-radius:   24px;

    /* Transitions */
    --transition-fast:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== PARTICLES BACKGROUND ===== */
.particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(var(--primary-rgb), 0.6);
    border-radius: 50%;
    will-change: transform, opacity;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25%       { transform: translate(80px, -120px); opacity: 0.7; }
    50%       { transform: translate(-40px, -200px); opacity: 0.5; }
    75%       { transform: translate(-80px, -80px); opacity: 0.7; }
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 50%, var(--primary-300) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 40%, var(--primary-400) 70%, var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.5),
        0 4px 24px rgba(var(--primary-rgb), 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 0 2px rgba(var(--primary-rgb), 0.8),
        0 8px 40px rgba(var(--primary-rgb), 0.5),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover::before { background: rgba(255,255,255,0.08); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 16px;
    padding: 15px 32px;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    border-color: rgba(var(--primary-rgb), 0.7);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
    border-radius: 14px;
}

.btn-full { width: 100%; justify-content: center; }

/* ===== GLASS CARD ===== */
.glass-card {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.07) 0%,
        rgba(var(--primary-rgb), 0.03) 50%,
        rgba(var(--primary-rgb), 0.07) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.4),
        0 2px 4px -2px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
}

.glass-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow:
        0 25px 50px -12px rgba(var(--primary-rgb), 0.25),
        inset 0 1px 0 rgba(255,255,255,0.07);
    transform: translateY(-4px);
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fade-in-rotate {
    from { opacity: 0; transform: scale(0.8) rotateY(-20deg); }
    to   { opacity: 1; transform: scale(1) rotateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%       { transform: translateY(-18px) rotate(1.5deg); }
    50%       { transform: translateY(-8px) rotate(-1.5deg); }
    75%       { transform: translateY(-24px) rotate(0.8deg); }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(var(--primary-rgb), 0.5),
            0 4px 24px rgba(var(--primary-rgb), 0.4),
            0 0 60px rgba(var(--primary-rgb), 0.25);
    }
    50% {
        box-shadow:
            0 0 0 2px rgba(var(--primary-rgb), 0.8),
            0 8px 40px rgba(var(--primary-rgb), 0.6),
            0 0 80px rgba(var(--primary-rgb), 0.45);
    }
}

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

@keyframes scroll-wheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(8px); opacity: 0; }
}

.animate-fade-up    { opacity: 0; animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-scale-in   { opacity: 0; animation: scale-in 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards; }
.animate-fade-rotate{ opacity: 0; animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }

.floating { animation: float 6s ease-in-out infinite; }

.pulse-glow { animation: gradient-shift 4s ease infinite, pulse-glow 3s ease-in-out infinite; }

/* Scroll reveal */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
    padding: 14px 0;
}

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

.logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(var(--primary-rgb), 0.5));
    transition: var(--transition-fast);
}

.logo-img:hover { filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.8)); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 16px;
    width: 0; height: 2px;
    background: var(--primary-500);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--text-primary); background: rgba(var(--primary-rgb), 0.08); }
.nav-link:hover::after { width: calc(100% - 32px); }

.nav-cta {
    color: var(--primary-400);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.06);
}

.nav-cta:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-400);
    color: var(--primary-300);
}

.nav-cta::after { display: none; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 60% 50%, rgba(var(--primary-rgb), 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at top left, rgba(var(--primary-rgb), 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.hero-content { max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-300);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--primary-400);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-subtitle strong { color: var(--primary-400); }

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat { text-align: center; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-400);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-400);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-quaternary);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(var(--primary-rgb), 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    filter:
        drop-shadow(0 0 40px rgba(var(--primary-rgb), 0.4))
        drop-shadow(0 0 80px rgba(var(--primary-rgb), 0.25));
}

.hero-visual-glow {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-visual-ring {
    position: absolute;
    width: 560px; height: 560px;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 50%;
    animation: ring-spin 20s linear infinite;
}

.ring-2 {
    width: 640px; height: 640px;
    border: 1px dashed rgba(var(--primary-rgb), 0.08);
    animation-duration: 30s;
    animation-direction: reverse;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-quaternary);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fade-in-up 1s 1.5s both;
}

.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(var(--primary-rgb), 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--primary-400);
    border-radius: 3px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    padding: 56px 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.08);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
    background: rgba(var(--primary-rgb), 0.02);
}

.social-proof-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-quaternary);
    margin-bottom: 32px;
}

.brands-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 32px;
}

.brand-item {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    opacity: 0.6;
}

.brand-item:hover {
    color: #ffffff;
    opacity: 1;
    transform: scale(1.15);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ===== SERVICES ===== */
.services {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.03), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Flip Cards */
.service-card-flip {
    height: 380px;
    perspective: 1200px;
    cursor: pointer;
}

.service-card-flip:focus-visible {
    outline: 2px solid var(--primary-400);
    outline-offset: 4px;
    border-radius: 20px;
}

.service-card-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

/* Front */
.service-card-front {
    background: var(--bg-tertiary);
}

.service-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-flip:hover .service-image {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.service-icon-front {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.8));
}

.service-title-front {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Back */
.service-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 32px;
}

.service-icon-back {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 12px rgba(var(--primary-rgb), 0.6));
}

.service-title-back {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-description {
    font-size: 14.5px;
    color: var(--text-tertiary);
    line-height: 1.65;
    flex: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--primary-300);
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 4px 12px;
    border-radius: 100px;
}

.service-cta-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-400);
    margin-top: 4px;
    transition: var(--transition-fast);
}

.service-cta-btn:hover {
    color: var(--primary-300);
    letter-spacing: 0.02em;
}

/* ===== PROCESS / PORTFOLIO ===== */
.portfolio {
    padding: var(--section-padding);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.15);
    line-height: 1;
    margin-bottom: 12px;
}

.step-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), rgba(var(--primary-rgb), 0.02));
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(var(--primary-rgb), 0.15);
}

.stat-item:last-child::after { display: none; }

.big-stat-number, .big-stat-suffix {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1;
}

.big-stat-suffix { font-size: 2rem; }

.big-stat-label {
    font-size: 13px;
    color: var(--text-quaternary);
    margin-top: 8px;
}

.stat-divider { display: none; }

/* ===== REVIEWS / TESTIMONIALS — INFINITE MARQUEE ===== */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.04), transparent);
    overflow: hidden;
}

/* Rating summary bar */
.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.reviews-rating-big {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.rating-stars-big {
    font-size: 1.6rem;
    color: #ffbc00;
    letter-spacing: 4px;
    text-shadow: 0 0 12px rgba(255, 188, 0, 0.5);
}

.rating-count {
    font-size: 14px;
    color: var(--text-quaternary);
    max-width: 120px;
    line-height: 1.4;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 20px;
    border-radius: 10px;
    transition: var(--transition-fast);
}

.btn-google-review:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    color: var(--text-primary);
}

/* Marquee wrapper — full bleed with fade masks */
.reviews-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 24px 0;
    margin-top: 48px;
    cursor: grab;
}

.reviews-marquee-wrapper::before,
.reviews-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 160px;
    z-index: 2;
    pointer-events: none;
}

.reviews-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.reviews-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

/* The scrolling track */
.reviews-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}

.reviews-marquee-wrapper:hover .reviews-marquee-track,
.reviews-marquee-wrapper.paused .reviews-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Individual review card */
.review-card {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: 18px;
    cursor: default;
    transition: var(--transition-fast);
}

.review-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-700), var(--primary-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(var(--primary-rgb), 0.35);
}

.reviewer-info {
    flex: 1;
    min-width: 0;
}

.reviewer-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-date {
    font-size: 12px;
    color: var(--text-quaternary);
}

.google-icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.1));
}

.review-stars {
    font-size: 1rem;
    color: #ffbc00;
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(255,188,0,0.4);
}

.review-text {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.65;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== ABOUT ===== */
.about {
    padding: var(--section-padding);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 80px;
}

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

.about-image-wrapper {
    position: relative;
    width: 320px; height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo-img {
    width: 240px; height: 240px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid rgba(var(--primary-rgb), 0.25);
    padding: 24px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.4));
}

.about-image-glow {
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.about-image-ring {
    position: absolute;
    width: 340px; height: 340px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
    animation: ring-spin 15s linear infinite;
}

.about-badge-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    bottom: 20px;
    left: -20px;
    white-space: nowrap;
    z-index: 3;
    animation: float 5s ease-in-out 1s infinite;
}

.about-badge-2 {
    bottom: auto;
    top: 20px;
    left: auto;
    right: -20px;
    animation-delay: 2s;
}

.about-badge-float > span { font-size: 1.5rem; }

.about-badge-float strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.about-badge-float small {
    font-size: 11px;
    color: var(--text-quaternary);
}

.about-text {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text strong { color: var(--primary-400); }

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.feature-check {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.about-links-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.about-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-link-item:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5);
}

.about-link-item .link-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.about-link-item span:not(.link-icon) {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.about-link-item:hover span:not(.link-icon) {
    color: var(--primary-300);
}

.about-cta { margin-top: 8px; }

/* ===== CTA FINAL ===== */
.cta-final {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.06), transparent);
}

.cta-final-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final-container {
    text-align: center;
}

.cta-final-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    margin-top: 16px;
}

.cta-final-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.cta-urgency {
    font-size: 14px;
    color: var(--text-quaternary);
}

.cta-urgency strong { color: var(--primary-400); }

/* ===== CONTACT ===== */
.contact {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
}

.contact-icon { font-size: 1.5rem; }

.contact-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-secondary);
}

.contact-map {
    margin-top: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.map-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 50px;
    color: var(--primary-400);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.map-directions-btn:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-quaternary); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
    background: rgba(var(--primary-rgb), 0.08);
}

.form-group select option { background: var(--bg-tertiary); }

.form-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.3));
}

.footer-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-quaternary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    background: rgba(var(--primary-rgb), 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-400);
    color: var(--primary-400);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a,
.footer-links-group span {
    font-size: 14px;
    color: var(--text-quaternary);
    transition: var(--transition-fast);
}

.footer-links-group a:hover { color: var(--primary-400); }

.footer-bottom {
    border-top: 1px solid rgba(var(--primary-rgb), 0.08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-quaternary);
}

.footer-bottom strong { color: var(--primary-400); }

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-quaternary);
    transition: var(--transition-fast);
}

.footer-legal a:hover { color: var(--primary-400); }

/* ===== MOBILE MENU OPEN ===== */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
}

.nav-links.open .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item::after { display: none; }
    .stat-item:nth-child(1) { border-bottom: 1px solid rgba(var(--primary-rgb), 0.1); }
    .stat-item:nth-child(2) { border-bottom: 1px solid rgba(var(--primary-rgb), 0.1); }
}

@media (max-width: 1023px) {
    .hero-container { gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-container { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { 
        margin: 0 auto; 
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 400px;
        order: -1;
    }
    .about-badge-float { 
        position: relative; 
        left: auto !important; 
        right: auto !important; 
        top: auto !important; 
        bottom: auto !important; 
        margin: 10px auto; 
        width: fit-content;
        transform: none !important;
        z-index: 5;
    }
    .about-badge-2 { margin-top: -10px; }
    
    .about-image-wrapper {
        width: 280px; height: 280px;
    }
    .about-logo-img {
        width: 200px; height: 200px;
        padding: 15px;
    }
    .about-image-glow, .about-image-ring {
        width: 260px; height: 260px;
    }
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    :root { --section-padding: 80px 0; }

    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero { padding: 100px 0 100px; position: relative; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-title { font-size: 2.4rem; }
    .hero-badge { justify-content: center; }
    .hero-ctas { justify-content: center; }
    .hero-stats { 
        justify-content: center; 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 32px;
        width: 100%;
    }
    .hero-stat-divider { display: none; }
    .hero-stat { 
        padding: 8px 4px;
        background: rgba(255,255,255,0.03);
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.05);
    }
    .hero-stat .stat-number { font-size: 1.3rem; }
    .hero-stat .stat-suffix { font-size: 1rem; }
    .hero-stat .stat-label { 
        font-size: 10px; 
        white-space: nowrap;
        opacity: 0.8;
    }

    .hero-scroll-indicator {
        bottom: 20px;
        opacity: 0.6;
    }

    .services-grid { grid-template-columns: 1fr; }
    .service-card-flip { height: 340px; }

    .process-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }

    .cta-final-buttons { flex-direction: column; align-items: center; }

    .footer-container { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

    .form-row { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }

    /* Cleaned up redundant about styles from 767px as they now live in 1023px */

    @media (prefers-reduced-motion: reduce) {
        .particle:nth-child(n+20) { display: none; }
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.9rem; }
    .section-title { font-size: 1.7rem; }
    .cta-final-title { font-size: 1.8rem; }
    .btn-large { padding: 16px 32px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: var(--section-padding);
    background: radial-gradient(circle at 50% 100%, rgba(var(--primary-rgb), 0.05), transparent 70%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
    min-height: 480px;
    position: relative;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    height: 100%;
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt p {
    margin: 0;
}

.blog-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-400);
    transition: var(--transition-fast);
}

.blog-card:hover .blog-card-link {
    color: var(--primary-300);
    transform: translateX(5px);
}

.blog-footer {
    text-align: center;
}

/* Loader Styles */
.blog-loader {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    color: var(--text-tertiary);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blog-empty, .blog-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 20px;
    border: 1px dashed rgba(var(--primary-rgb), 0.2);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BLOG PAGE SPECIFIC ===== */
.blog-page {
    background-color: var(--bg-primary);
}

.blog-header {
    padding-top: 160px;
    padding-bottom: 60px;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%);
}

.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px;
    margin-top: 40px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    padding: 12px 48px 12px 20px;
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-500);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.search-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-box button:hover {
    color: var(--primary-400);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    color: var(--text-tertiary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-500);
    color: #fff;
    border-color: var(--primary-500);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.blog-main {
    padding-bottom: 120px;
}

.blog-main .blog-grid {
    min-height: 600px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
}

.page-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.page-btn:hover:not(:disabled), .page-btn.active {
    background: var(--primary-500);
    border-color: var(--primary-500);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        max-width: none;
    }
}

/* ===== POST PAGE SPECIFIC ===== */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    padding-top: 160px;
    padding-bottom: 40px;
}

.back-link {
    display: inline-block;
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--primary-400);
    transform: translateX(-5px);
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.post-category {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-400);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
}

.post-meta-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-tertiary);
    font-size: 14px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

.post-featured-image {
    margin-bottom: 60px;
}

.post-featured-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.article-body {
    padding: 60px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body h2, .article-body h3 {
    color: var(--text-primary);
    margin: 40px 0 20px;
    font-family: var(--font-display);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body img {
    border-radius: 12px;
    margin: 32px 0;
}

.post-sharing {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.share-btns {
    display: flex;
    gap: 12px;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: var(--transition-fast);
}

.share-btn:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-400);
    color: var(--primary-400);
}

.related-posts {
    padding: 120px 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.02));
}

@media (max-width: 768px) {
    .article-body {
        padding: 30px 20px;
        font-size: 16px;
    }
    .post-title {
        font-size: 2rem;
    }
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    margin-top: 60px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.3), transparent);
    margin-bottom: 40px;
}

.comments-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.comments-prompt {
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.comments-prompt p {
    margin-bottom: 20px;
    color: var(--text-tertiary);
}

.comment-form {
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.user-info-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

#comment-logout {
    color: var(--text-quaternary);
    text-decoration: underline;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-user {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: var(--text-quaternary);
}

.comment-body {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ===== AUTH MODAL ===== */
.auth-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal.active { display: flex; }

.auth-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.auth-modal-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    z-index: 2;
    animation: modal-enter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.auth-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-quaternary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.auth-modal-close:hover { color: var(--primary-400); }

.auth-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-quaternary);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.auth-tab.active { color: var(--primary-400); }

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 2px;
    background: var(--primary-500);
    box-shadow: 0 0 10px var(--primary-500);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fade-in 0.3s ease;
}

.auth-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
    background: rgba(239, 68, 68, 0.1);
    padding: 8px;
    border-radius: 8px;
    display: none;
}

.auth-error.visible { display: block; }

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 54px;
    height: 54px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4), 0 0 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px !important;
        height: 54px !important;
        bottom: 25px !important;
        right: 25px !important;
        position: fixed !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 999999 !important;
        pointer-events: auto !important;
    }
    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
    }
}
