/* ==============================
   GENÇ REKLAM - Design System
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties (Light Mode Default) ---- */
:root {
    --primary: #67B437;
    --primary-rgb: 103, 180, 55;
    --primary-dark: #4e8a29;
    --primary-light: #8fd463;
    --secondary: #23576A;
    --secondary-rgb: 35, 87, 106;
    --secondary-dark: #1a4150;
    --secondary-light: #2d6e85;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --bg-navbar: rgba(255, 255, 255, 0.8);

    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aaa;

    --border-color: rgba(35, 87, 106, 0.1);
    --shadow-color: rgba(35, 87, 106, 0.08);
    --shadow-strong: rgba(35, 87, 106, 0.15);

    --gradient-hero: linear-gradient(135deg, #f0f9e8 0%, #e8f4f8 50%, #f0f9e8 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-card: linear-gradient(145deg, rgba(103,180,55,0.05), rgba(35,87,106,0.05));

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Montserrat', sans-serif;

    --container-max: 1200px;
    --navbar-height: 80px;
    --section-padding: 120px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50%;
}

/* ---- Dark Mode ---- */
[data-theme="dark"] {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --bg-card: rgba(17, 24, 39, 0.85);
    --bg-glass: rgba(17, 24, 39, 0.6);
    --bg-navbar: rgba(10, 15, 26, 0.85);

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    --border-color: rgba(103, 180, 55, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.5);

    --gradient-hero: linear-gradient(135deg, #0a1a0a 0%, #0a1520 50%, #0a1a0a 100%);
    --gradient-card: linear-gradient(145deg, rgba(103,180,55,0.08), rgba(35,87,106,0.08));
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition-medium), color var(--transition-medium);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--primary);
    color: white;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 50px;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3); }
    50% { box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.6); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rotateIn {
    from { transform: rotate(-180deg) scale(0); opacity: 0; }
    to { transform: rotate(0deg) scale(1); opacity: 1; }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: var(--primary); }
    51%, 100% { border-color: transparent; }
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

/* ---- Scroll Reveal Classes ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.navbar-main.scrolled {
    height: 65px;
    box-shadow: 0 4px 30px var(--shadow-color);
}

.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 56px;
    transition: all var(--transition-medium);
}

.navbar-main.scrolled .navbar-logo img {
    height: 44px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-links a {
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.navbar-links a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--primary);
}

.navbar-links a:hover::before,
.navbar-links a.active::before {
    width: 60%;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: rotate(30deg) scale(1.1);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all var(--transition-medium);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-medium);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-badge i {
    font-size: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    position: relative;
}

.section-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

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

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: var(--navbar-height);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Floating shapes in hero */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: morphShape 15s ease-in-out infinite, float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -80px;
    animation: morphShape 12s ease-in-out infinite reverse, floatSlow 10s ease-in-out infinite;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: 50%;
    left: 50%;
    animation: morphShape 10s ease-in-out infinite, pulse 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - var(--navbar-height));
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--secondary-rgb), 0.12));
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

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

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
}

.hero-title .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

/* Hero Brand Badge */
.hero-brand-badge {
    margin-bottom: 24px;
    opacity: 1;
}

.hero-brand-logo {
    height: 72px;
    filter: drop-shadow(0 4px 12px rgba(var(--primary-rgb), 0.15));
    transition: all var(--transition-medium);
}

.hero-brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(var(--primary-rgb), 0.25));
}

[data-theme="dark"] .hero-brand-badge .logo-light {
    display: none !important;
}

[data-theme="dark"] .hero-brand-badge .logo-dark {
    display: block !important;
}

[data-theme="light"] .hero-brand-badge .logo-light {
    display: block !important;
}

[data-theme="light"] .hero-brand-badge .logo-dark {
    display: none !important;
}

/* About Brand Watermark */
.about-brand-watermark {
    position: absolute;
    top: 20px;
    left: -20px;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
}

.about-brand-watermark img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: floatSlow 8s ease-in-out infinite;
}

/* Footer Social Inline */
.footer-social-inline {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-inline a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-inline a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
    border-radius: inherit;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.35);
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    backdrop-filter: blur(5px);
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Hero Visual Side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-morph-bg {
    position: absolute;
    inset: -20px;
    background: var(--gradient-accent);
    opacity: 0.15;
    animation: morphShape 12s ease-in-out infinite;
    z-index: 0;
}

.hero-main-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-strong);
}

.hero-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Floating stat cards in hero */
.hero-float-card {
    position: absolute;
    z-index: 3;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px var(--shadow-color);
    animation: float 6s ease-in-out infinite;
}

.hero-float-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-float-card-text .number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-float-card-text .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-float-card.card-top {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.hero-float-card.card-bottom {
    bottom: 40px;
    left: -30px;
    animation-delay: 2s;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

#hakkimizda {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

#hakkimizda::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.about-image-area {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    position: relative;
}

.about-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-experience-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 130px;
    height: 130px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.3);
    animation: pulse 3s ease-in-out infinite;
    z-index: 2;
}

.about-experience-badge .number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.about-text-area .section-subtitle {
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.about-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-color);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--secondary-rgb), 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.about-feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px var(--shadow-color);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

#hizmetlerimiz {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    height: 420px;
    transition: all var(--transition-slow);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    transition: all var(--transition-medium);
}

.service-card:hover::before {
    background: linear-gradient(180deg, transparent 0%, rgba(var(--secondary-rgb), 0.9) 100%);
}

.service-card-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: white;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-card-content {
    transform: translateY(-10px);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-card-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-medium);
}

.service-card:hover .service-card-link {
    opacity: 1;
    transform: translateY(0);
}

.service-card-link i {
    transition: transform var(--transition-fast);
}

.service-card-link:hover i {
    transform: translateX(4px);
}

/* ============================================================
   OFFCANVAS SERVICES PANEL
   ============================================================ */

.services-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 60vw;
    max-width: 900px;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 2000;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    box-shadow: -10px 0 60px var(--shadow-strong);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.services-offcanvas.open {
    transform: translate3d(0, 0, 0);
}

.services-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    will-change: opacity;
}

.services-offcanvas-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.offcanvas-header {
    padding: 28px 36px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 10;
}

.offcanvas-header h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.offcanvas-header h3 i {
    color: var(--primary);
}

.offcanvas-close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
}

.offcanvas-close:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.offcanvas-body {
    padding: 36px;
}

.offcanvas-body-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sub-service-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    animation: fadeInUp 0.4s ease-out both;
}

.sub-service-item:nth-child(1) { animation-delay: 0.05s; }
.sub-service-item:nth-child(2) { animation-delay: 0.1s; }
.sub-service-item:nth-child(3) { animation-delay: 0.15s; }
.sub-service-item:nth-child(4) { animation-delay: 0.2s; }
.sub-service-item:nth-child(5) { animation-delay: 0.25s; }
.sub-service-item:nth-child(6) { animation-delay: 0.3s; }

.sub-service-item:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 12px 32px var(--shadow-color);
}

.sub-service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sub-service-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.sub-service-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

#sss {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header .section-subtitle {
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.faq-item.open {
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-medium);
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition-medium);
}

.faq-item.open .faq-question-icon {
    background: var(--gradient-accent);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}

.faq-answer-inner {
    padding: 0 28px 22px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

#iletisim {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

#iletisim::before {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-subtitle {
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

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

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
}

.contact-info-card:hover {
    transform: translateX(8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-info-text a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-info-text a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all var(--transition-medium);
    background: var(--bg-secondary);
    padding: 0 6px;
}

.form-group textarea ~ label {
    top: 20px;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 14px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
    animation: gradientShift 2s ease infinite;
}

.form-submit::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100%;
    top: 0;
    left: -100px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

/* Map */
.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px var(--shadow-color);
    height: 350px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

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

.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 350px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all var(--transition-medium);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* ============================================================
   CURSOR GLOW EFFECT
   ============================================================ */

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */

.scroll-top-btn {
    position: fixed;
    bottom: 104px;
    right: 34px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-medium);
    z-index: 900;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px var(--shadow-color);
    backdrop-filter: blur(10px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 8px 24px var(--shadow-color);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        order: 1;
    }
    .hero-visual {
        order: 0;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-brand-badge {
        display: flex;
        justify-content: center;
    }

    .hero-float-card.card-top {
        right: 10px;
    }
    .hero-float-card.card-bottom {
        left: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        z-index: 9990;
        padding: 80px 40px 60px;
        overflow-y: auto;
    }

    .navbar-links::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 80px;
        background: url('../logo/genc-reklam-favicon.png') no-repeat center / contain;
        opacity: 0.12;
        pointer-events: none;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links li {
        width: 100%;
        max-width: 320px;
        list-style: none;
    }

    .navbar-links a {
        font-size: 1.3rem;
        padding: 16px 24px;
        display: block;
        text-align: center;
        border-radius: var(--radius-md);
        background: var(--gradient-card);
        border: 1px solid var(--border-color);
        font-weight: 600;
        transition: all var(--transition-medium);
    }

    .navbar-links a:hover,
    .navbar-links a.active {
        background: var(--gradient-accent);
        color: white;
        border-color: transparent;
        transform: scale(1.03);
        box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
    }

    .navbar-links a::before {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 9991;
    }

    .theme-toggle {
        z-index: 9991;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 300px;
    }

    .services-offcanvas {
        width: 100vw;
        max-width: 100vw;
    }

    .offcanvas-body-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-float-card {
        display: none;
    }

    .about-experience-badge {
        width: 100px;
        height: 100px;
        right: -10px;
        bottom: -10px;
    }

    .about-experience-badge .number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    .contact-form {
        padding: 24px;
    }
}

/* ============================================================
   PAGE LOADER
   ============================================================ */

@keyframes loaderRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loaderDotOrbit {
    0% { transform: rotate(0deg) translateX(56px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(56px) rotate(-360deg); }
}

@keyframes loaderLogoIn {
    0% { transform: scale(0) rotate(-30deg); opacity: 0; }
    60% { transform: scale(1.15) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes loaderBrandIn {
    from { opacity: 0; letter-spacing: 12px; }
    to { opacity: 1; letter-spacing: 5px; }
}

@keyframes loaderFadeOut {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-loader.done {
    animation: loaderFadeOut 0.6s ease 0.3s forwards;
    pointer-events: none;
}

.page-loader.done .loader-logo-wrapper {
    transform: scale(0.9);
    opacity: 0.3;
    transition: all 0.5s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.loader-logo-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinning rings */
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary);
    border-right: 2px solid rgba(var(--primary-rgb), 0.3);
    animation: loaderRingSpin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-ring-2 {
    inset: 8px;
    border-top-color: var(--secondary);
    border-right-color: rgba(var(--secondary-rgb), 0.3);
    animation-duration: 2s;
    animation-direction: reverse;
}

/* Orbiting dots */
.loader-dots {
    position: absolute;
    inset: 0;
}

.loader-dots span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--primary);
    animation: loaderDotOrbit 3s linear infinite;
}

.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.75s; opacity: 0.7; background: var(--secondary); }
.loader-dots span:nth-child(3) { animation-delay: 1.5s; opacity: 0.5; }
.loader-dots span:nth-child(4) { animation-delay: 2.25s; opacity: 0.3; background: var(--secondary); }

/* Logo */
.loader-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: loaderLogoIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    filter: drop-shadow(0 4px 12px rgba(var(--primary-rgb), 0.2));
}

/* Text & progress */
.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 5px;
    animation: loaderBrandIn 1s ease 0.3s both;
}

.loader-progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loader-progress-bar {
    width: 180px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 50px;
    overflow: hidden;
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-accent);
    border-radius: 50px;
    transition: width 0.15s ease;
}

.loader-percent {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 32px;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 20px 24px;
    animation: cookieSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.5s both;
}

.cookie-consent.hidden {
    animation: none;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.cookie-consent-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 -4px 40px var(--shadow-color), 0 16px 48px rgba(0, 0, 0, 0.1);
}

.cookie-consent-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--secondary-rgb), 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cookie-consent-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-accent);
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

.cookie-btn-decline {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn-decline:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .cookie-consent-icon {
        display: none;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        justify-content: center;
    }

    .cookie-btn-accept {
        justify-content: center;
    }
}

/* ============================================================
   WHATSAPP FLOATING WIDGET - Ultra Modern
   ============================================================ */

@keyframes waRingPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes waPopIn {
    from { opacity: 0; transform: translateY(16px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes waTooltipIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes waMsgSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.wa-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-widget.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==== FAB Button ==== */
.wa-fab-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-fab {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* Animated rings */
.wa-fab-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: waRingPulse 2.5s ease-out infinite;
    pointer-events: none;
}

.wa-fab-ring-2 {
    animation-delay: 1.2s;
}

.wa-widget.chat-open .wa-fab-ring {
    display: none;
}

/* Icon toggle */
.wa-fab-icon-main,
.wa-fab-icon-close {
    position: absolute;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-fab-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    font-size: 1.2rem;
}

.wa-widget.chat-open .wa-fab {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    box-shadow: 0 4px 20px var(--shadow-strong);
}

.wa-widget.chat-open .wa-fab-icon-main {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.wa-widget.chat-open .wa-fab-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ==== Tooltip Bubble ==== */
.wa-fab-tooltip {
    position: absolute;
    right: 74px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 10px 14px 10px 16px;
    border-radius: 14px;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 8px 32px var(--shadow-color);
    animation: waTooltipIn 0.4s ease-out 2s both;
    z-index: 1;
}

.wa-fab-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.wa-tooltip-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast);
    display: flex;
}

.wa-tooltip-close:hover {
    color: var(--text-primary);
}

.wa-fab-tooltip.hidden {
    display: none;
}

.wa-widget.chat-open .wa-fab-tooltip {
    display: none;
}

/* ==== Chat Popup ==== */
.wa-popup {
    width: 380px;
    max-width: calc(100vw - 56px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--border-color);
    display: none;
    animation: waPopIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    background: var(--bg-primary);
}

.wa-widget.chat-open .wa-popup {
    display: block;
}

/* Header */
.wa-popup-header {
    position: relative;
    padding: 22px 20px;
    overflow: hidden;
}

.wa-popup-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #075E54 0%, #128C7E 50%, #25D366 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.wa-popup-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.wa-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wa-avatar img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.wa-avatar-online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #4ADE80;
    border-radius: 50%;
    border: 2px solid #075E54;
    animation: pulse 2s ease-in-out infinite;
}

.wa-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wa-header-name {
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-display);
}

.wa-header-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.wa-popup-close {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.wa-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Body */
.wa-popup-body {
    padding: 20px;
    background: linear-gradient(180deg, #ECE5DD 0%, #d6cec5 100%);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9c0b5' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    min-height: 130px;
}

[data-theme="dark"] .wa-popup-body {
    background: #0b141a;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-msg {
    animation: waMsgSlide 0.5s ease-out 0.2s both;
}

.wa-msg-content {
    background: white;
    padding: 14px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.88rem;
    color: #303030;
    max-width: 85%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    position: relative;
    line-height: 1.5;
}

.wa-msg-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -6px;
    width: 12px;
    height: 12px;
    background: white;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

[data-theme="dark"] .wa-msg-content,
[data-theme="dark"] .wa-msg-content::before {
    background: #1f2c34;
    color: #e9edef;
}

.wa-msg-content strong {
    display: block;
    color: #128C7E;
    font-size: 0.82rem;
    margin-bottom: 4px;
}

[data-theme="dark"] .wa-msg-content strong {
    color: #25D366;
}

.wa-msg-content p {
    margin: 0 0 4px;
}

.wa-msg-time {
    display: block;
    text-align: right;
    font-size: 0.68rem;
    color: #8696a0;
    margin-top: 4px;
}

/* Footer / CTA */
.wa-popup-footer {
    padding: 14px 20px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.wa-start-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 14px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.wa-start-chat::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100%;
    top: 0;
    left: -100px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 3s infinite;
}

.wa-start-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    color: white;
}

.wa-start-chat i {
    font-size: 1.2rem;
}

/* ==== Responsive ==== */
@media (max-width: 480px) {
    .wa-widget {
        bottom: 16px;
        right: 16px;
    }

    .wa-fab {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .wa-fab-tooltip {
        display: none;
    }

    .wa-popup {
        max-width: calc(100vw - 32px);
    }

    .scroll-top-btn {
        bottom: 84px;
        right: 20px;
    }
}

