/* =========================================
   Franco González Portfolio — Framer Style
   ========================================= */

/* === DESIGN TOKENS === */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-elevated: #111111;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --text-tertiary: #666666;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --accent-1: #7c3aed;
    --accent-2: #2563eb;
    --accent-gradient: linear-gradient(135deg, #7c3aed, #2563eb);
    --glow: rgba(124, 58, 237, 0.15);
    --section-padding: clamp(80px, 10vw, 140px);
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-elevated: #f0f0f0;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-card-hover: rgba(0, 0, 0, 0.05);
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-tertiary: #888888;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.16);
    --glow: rgba(124, 58, 237, 0.08);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-color: var(--border-color) var(--bg-primary);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
ul, li { list-style: none; }

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

/* Skip to content link */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    padding: 12px 24px; border-radius: var(--radius-md);
    background: var(--accent-1); color: white;
    font-weight: 600; font-size: 14px;
    z-index: 10001;
    transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Focus-visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--accent-1);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* === PRELOADER === */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg-primary);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 24px;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__logo {
    font-size: 32px; font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.preloader__bar {
    width: 120px; height: 2px;
    background: var(--border-color); border-radius: 2px; overflow: hidden;
}
.preloader__progress {
    width: 40%; height: 100%;
    background: var(--accent-gradient); border-radius: 2px;
    animation: preloaderSlide 1s ease-in-out infinite;
}
@keyframes preloaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* === NAVBAR === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}
[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.7);
}

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

.navbar__logo {
    display: flex; align-items: center; gap: 3px;
    font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
    transition: opacity 0.3s var(--ease);
}
.navbar__logo:hover { opacity: 0.8; }
.navbar__logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar__logo-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-1); margin-top: 8px;
}

.navbar__links {
    display: flex; gap: 4px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-full); padding: 4px;
}
.navbar__link {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    padding: 8px 20px; border-radius: var(--radius-full);
    transition: all 0.3s var(--ease);
}
.navbar__link:hover { color: var(--text-primary); }
.navbar__link.active {
    color: var(--text-primary); background: var(--bg-card-hover);
}

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

.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--border-hover); color: var(--text-primary); }
.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: block; }
[data-theme="light"] .theme-toggle .fa-sun { display: block; }
[data-theme="light"] .theme-toggle .fa-moon { display: none; }

.navbar__socials { display: flex; align-items: center; gap: 4px; }
.navbar__social {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}
.navbar__social:hover {
    border-color: var(--accent-1); color: var(--accent-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.navbar__cta {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600;
    padding: 10px 20px; border-radius: var(--radius-full);
    background: #25D366; color: #fff;
    transition: all 0.3s var(--ease);
}
.navbar__cta:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35); }
.navbar__cta i { font-size: 16px; transition: transform 0.3s var(--ease); }
.navbar__cta:hover i { transform: scale(1.15); }

/* Hamburger */
.navbar__mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; z-index: 1001;
}
.navbar__mobile-toggle span {
    width: 20px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: all 0.3s var(--ease);
    display: block;
}
.navbar__mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__mobile-toggle.active span:nth-child(2) { opacity: 0; }
.navbar__mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu — Sidebar Drawer 3/4 */
.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 75%; max-width: 380px;
    z-index: 999;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-left: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    transform: translateX(100%);
    opacity: 0; visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, 0.50);
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1; visibility: visible;
}

/* Backdrop overlay */
.mobile-menu-backdrop {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu-backdrop.open { opacity: 1; visibility: visible; }

.mobile-menu__content {
    text-align: center; display: flex; flex-direction: column; gap: 16px;
    padding: 0 24px; width: 100%;
}
.mobile-menu__link {
    font-size: 28px; font-weight: 700; color: var(--text-primary);
    transition: all 0.3s var(--ease);
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 8px 0;
    border-radius: var(--radius-md);
}
.mobile-menu__link:hover,
.mobile-menu__link:active {
    color: var(--accent-1);
    background: rgba(124, 58, 237, 0.06);
}
.mobile-menu__link--sm { font-size: 18px; color: var(--text-secondary); padding: 6px 0; }
.mobile-menu__divider {
    width: 40px; height: 1px; background: var(--border-color); margin: 12px auto;
}

/* === HERO === */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    padding-top: 80px; overflow: hidden; position: relative;
}
.hero__container {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: clamp(40px, 8vw, 80px) 24px;
}
.hero__content {
    display: flex; align-items: center; justify-content: space-between;
    gap: clamp(40px, 6vw, 80px); max-width: 1200px; width: 100%;
}
.hero__text { flex: 1; text-align: left; max-width: 620px; }

.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    padding: 8px 20px; border: 1px solid var(--border-color);
    border-radius: var(--radius-full); margin-bottom: 32px;
    letter-spacing: 0.5px;
}
.hero__badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 20px rgba(34, 197, 94, 0.6); }
}

.hero__title {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 800; line-height: 1.05;
    letter-spacing: -3px; margin-bottom: 24px;
}
.hero__title-line { display: block; }
.hero__title-gradient {
    background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4, #7c3aed);
    background-size: 300% 300%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 520px; margin: 0 0 40px; line-height: 1.7;
}

.hero__ctas {
    display: flex; gap: 16px;
    justify-content: flex-start; flex-wrap: wrap;
}

/* Hero Profile */
.hero__profile { flex-shrink: 0; }
.hero-profile-card {
    position: relative;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    text-align: center;
    width: 500px;
}
.hero-profile-card__glow { display: none !important; }
.hero-profile-card__image {
    width: 480px; height: 480px;
    border-radius: 50%; overflow: hidden;
    margin: 0 auto 20px;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    position: relative; z-index: 1;
}
.hero-profile-card__image img { width: 100%; height: 100%; object-fit: cover; }
.hero-profile-card__info { position: relative; z-index: 1; }
.hero-profile-card__info h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.hero-profile-card__role {
    font-size: 14px; color: var(--text-secondary);
    margin-bottom: 16px;
}
.hero-profile-card__social { display: flex; gap: 8px; justify-content: center; }
.hero-profile-card__social a {
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}
.hero-profile-card__social a:hover {
    color: var(--accent-1);
    transform: translateY(-3px);
}

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 600;
    padding: 14px 28px; border-radius: var(--radius-full);
    transition: all 0.3s var(--ease); cursor: pointer;
    border: none;
}
.btn i { font-size: 13px; transition: transform 0.3s var(--ease); }
.btn:hover i.fa-arrow-right,
.btn:hover i.fa-arrow-down { transform: translateX(3px); }

.btn--primary {
    background: var(--text-primary); color: var(--bg-primary);
}
.btn--primary:hover {
    opacity: 0.9; transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.btn--ghost {
    border: 1px solid var(--border-color); color: var(--text-primary);
    background: transparent;
}
.btn--ghost:hover {
    border-color: var(--border-hover); background: var(--bg-card);
    transform: translateY(-2px);
}
.btn--whatsapp {
    background: #25D366; color: #fff; border: none;
}
.btn--whatsapp:hover {
    background: #20bd5a; transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp i { font-size: 18px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* === SHOWCASE (Auto-scroll) === */
.showcase {
    padding: 40px 0 0; overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.showcase__row { overflow: hidden; margin-bottom: 16px; }
.showcase__track {
    display: flex; gap: 16px; width: max-content;
}
.showcase__row--left .showcase__track { animation: scrollLeft 45s linear infinite; }
.showcase__row--right .showcase__track { animation: scrollRight 45s linear infinite; }

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.showcase__item {
    flex-shrink: 0; width: 280px; height: 200px;
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s var(--ease);
}
.showcase__item:hover { border-color: var(--border-hover); }
.showcase__item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.showcase__item:hover img { transform: scale(1.05); }

.hero__fade-bottom {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
}

/* === SECTIONS === */
.section {
    padding: var(--section-padding) 0; position: relative;
}
.section--dark { background: var(--bg-secondary); }

.section__header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.section__label {
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--accent-1); display: block; margin-bottom: 16px;
}
.section__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800; letter-spacing: -1px; line-height: 1.15;
}
.section__desc {
    font-size: 18px; color: var(--text-secondary);
    margin-top: 16px; max-width: 500px;
    margin-left: auto; margin-right: auto;
}

/* === GALLERY === */
.gallery-filter {
    display: flex; justify-content: center;
    gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.filter-btn {
    font-size: 14px; font-weight: 500;
    padding: 10px 24px; border-radius: var(--radius-full);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease);
    cursor: pointer; background: transparent;
}
.filter-btn:hover {
    color: var(--text-primary); border-color: var(--border-hover);
}
.filter-btn--active {
    color: var(--bg-primary); background: var(--text-primary);
    border-color: var(--text-primary);
}

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

.gallery__item {
    border-radius: var(--radius-lg); overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
                border-color 0.3s var(--ease);
}
.gallery__item:hover { border-color: var(--border-hover); }
.gallery__item.is-hidden {
    display: none;
}

.gallery__item {
    position: relative; overflow: hidden;
}
.gallery__item img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }

.gallery__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 20px; opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__cat {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: white;
}

/* === ABOUT === */
.about-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 24px; margin-bottom: 48px;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 32px;
    transition: all 0.3s var(--ease);
}
.about-card:hover { border-color: var(--border-hover); }

.about-card--profile {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 20px;
}
.about-card__image {
    width: 140px; height: 140px; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--border-color);
    transition: border-color 0.4s var(--ease);
}
.about-card--profile:hover .about-card__image { border-color: var(--accent-1); }
.about-card__image img { width: 100%; height: 100%; object-fit: cover; }

.about-card__info h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.about-card__role { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.about-card__social { display: flex; gap: 12px; justify-content: center; }
.about-card__social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}
.about-card__social a:hover {
    color: var(--accent-1); border-color: var(--accent-1);
    transform: translateY(-2px);
}

.about-card--bio {
    display: flex; flex-direction: column; gap: 16px; position: relative;
}
.about-card__icon { font-size: 24px; color: var(--accent-1); opacity: 0.3; }
.about-card--bio p {
    font-size: 16px; color: var(--text-secondary); line-height: 1.8;
}
.about-card--bio strong { color: var(--accent-1); font-weight: 600; }

/* Ambient section glow */
.section--features { overflow: hidden; }
.ambient-glow {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(120px); opacity: 0.12;
}
.ambient-glow--1 {
    width: 600px; height: 600px;
    background: var(--accent-1);
    top: -200px; left: -200px;
    animation: ambientFloat1 8s ease-in-out infinite;
}
.ambient-glow--2 {
    width: 500px; height: 500px;
    background: var(--accent-2);
    bottom: -150px; right: -150px;
    animation: ambientFloat2 10s ease-in-out infinite;
}
@keyframes ambientFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(80px, 60px); }
}
@keyframes ambientFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-60px, -40px); }
}

/* Animated Title Words */
.section__title--animated {
    overflow: visible;
}
.title-word {
    display: inline-block;
    transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.title-word:hover {
    transform: translateY(-4px);
    color: var(--accent-1);
}
.title-word--gradient {
    background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4, #7c3aed);
    background-size: 300% 300%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Features Grid */
.features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin-bottom: 48px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 32px;
    transition: all 0.5s var(--ease);
    position: relative; overflow: hidden;
    cursor: default;
}
.feature-card__glow {
    position: absolute; top: 50%; left: 50%;
    width: 200px; height: 200px;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0; filter: blur(40px);
    transition: opacity 0.5s var(--ease);
}
.feature-card:hover .feature-card__glow { opacity: 0.15; }
.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(124, 58, 237, 0.15),
        0 0 0 1px rgba(124, 58, 237, 0.1);
}
.feature-card__number {
    position: absolute; top: 20px; right: 24px;
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
    color: var(--text-tertiary); opacity: 0.4;
    transition: all 0.4s var(--ease);
}
.feature-card:hover .feature-card__number {
    color: var(--accent-1); opacity: 1;
}
.feature-card__icon-wrap {
    position: relative; width: 56px; height: 56px; margin-bottom: 24px;
}
.feature-card__icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--accent-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: white;
    position: relative; z-index: 1;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}
.feature-card__icon-ring {
    position: absolute; inset: -6px; border-radius: calc(var(--radius-md) + 4px);
    border: 2px dashed rgba(124, 58, 237, 0.2);
    animation: featureRingSpin 12s linear infinite;
    opacity: 0; transition: opacity 0.5s var(--ease);
}
.feature-card:hover .feature-card__icon-ring { opacity: 1; }
@keyframes featureRingSpin { to { transform: rotate(360deg); } }

.feature-card__title {
    font-size: 20px; font-weight: 700; margin-bottom: 10px;
    transition: color 0.3s var(--ease);
}
.feature-card:hover .feature-card__title { color: var(--accent-1); }
.feature-card__text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.feature-card__arrow {
    margin-top: 20px; font-size: 14px;
    color: var(--accent-1); opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s var(--ease);
}
.feature-card:hover .feature-card__arrow {
    opacity: 1; transform: translateX(0);
}

/* Stats */
.stats-row {
    display: flex; justify-content: center; align-items: center;
    gap: clamp(24px, 4vw, 64px);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.stat { text-align: center; }
.stat__number {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800; letter-spacing: -2px; display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat__number::after { content: '+'; font-size: 0.6em; }
.stat__label {
    font-size: 13px; color: var(--text-tertiary);
    text-transform: uppercase; letter-spacing: 1px;
    margin-top: 4px; display: block;
}
.stat__divider {
    width: 1px; height: 48px; background: var(--border-color);
}

/* === TECH CAROUSEL === */
.tech-carousel {
    overflow: hidden; padding: 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.tech-carousel__row { overflow: hidden; margin-bottom: 20px; }
.tech-carousel__track {
    display: flex; gap: 20px; width: max-content;
}
.tech-carousel__row--1 .tech-carousel__track { animation: techScrollLeft 40s linear infinite; }
.tech-carousel__row--2 .tech-carousel__track { animation: techScrollRight 35s linear infinite; }

@keyframes techScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes techScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.tech-card {
    flex-shrink: 0;
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 16px 28px 16px 16px;
    transition: all 0.4s var(--ease);
    cursor: default; position: relative;
    overflow: hidden;
}
.tech-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.06), transparent 60%);
    opacity: 0; transition: opacity 0.4s var(--ease);
}
.tech-card:hover::before { opacity: 1; }
.tech-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 12px 40px rgba(124, 58, 237, 0.15),
        0 0 0 1px rgba(124, 58, 237, 0.1);
}
.tech-card__icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: white; flex-shrink: 0;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    position: relative; z-index: 1;
}
.tech-card:hover .tech-card__icon {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.tech-card__name {
    font-size: 15px; font-weight: 600;
    color: var(--text-primary); white-space: nowrap;
    position: relative; z-index: 1;
    transition: color 0.3s var(--ease);
}

/* === GOOGLE ADS SECTION === */
.section--ads { overflow: hidden; }
.ads-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px; align-items: start;
}
.ads-card--main {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative; overflow: hidden;
    transition: all 0.4s var(--ease);
}
.ads-card--main::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.08), transparent 70%);
    pointer-events: none;
}
.ads-card--main:hover {
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 0 16px 48px rgba(66, 133, 244, 0.1);
}
.ads-card__icon-wrap { margin-bottom: 24px; }
.ads-card__icon {
    width: 64px; height: 64px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: white;
    position: relative;
}
.ads-card__icon::after {
    content: ''; position: absolute; inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    z-index: -1; opacity: 0.3; filter: blur(8px);
}
.ads-card__title {
    font-size: 28px; font-weight: 800; margin-bottom: 16px;
    background: linear-gradient(135deg, #4285F4, #34A853);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ads-card__desc {
    font-size: 16px; color: var(--text-secondary);
    line-height: 1.7; margin-bottom: 24px;
}
.ads-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ads-tag {
    padding: 6px 16px; border-radius: var(--radius-full);
    font-size: 13px; font-weight: 500;
    background: rgba(66, 133, 244, 0.08);
    border: 1px solid rgba(66, 133, 244, 0.15);
    color: #4285F4;
    transition: all 0.3s var(--ease);
}
.ads-tag:hover {
    background: rgba(66, 133, 244, 0.15);
    border-color: rgba(66, 133, 244, 0.3);
    transform: translateY(-2px);
}

.ads-features { display: flex; flex-direction: column; gap: 16px; }
.ads-feature {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all 0.3s var(--ease);
}
.ads-feature:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
}
.ads-feature__icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #4285F4;
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}
.ads-feature:hover .ads-feature__icon {
    background: rgba(66, 133, 244, 0.1);
    border-color: rgba(66, 133, 244, 0.3);
    color: #4285F4;
}
.ads-feature__text h4 {
    font-size: 16px; font-weight: 700; margin-bottom: 4px;
}
.ads-feature__text p {
    font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}

/* Ads CTA */
.ads-cta {
    text-align: center; margin-top: 48px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative; overflow: hidden;
}
.ads-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(66, 133, 244, 0.06), transparent 60%);
    pointer-events: none;
}
.ads-cta__text {
    font-size: 20px; font-weight: 600; margin-bottom: 24px;
    color: var(--text-primary);
}
.btn--ads {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 700;
    padding: 16px 32px; border-radius: var(--radius-full);
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
}
.btn--ads:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.4);
}
.btn--ads i { font-size: 20px; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s var(--ease);
    animation: whatsappBounce 2s ease infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.whatsapp-float:hover { animation: none; transform: scale(1.1); }

/* === CTA SECTION === */
.section--cta { padding: var(--section-padding) 0; }
.cta-block {
    text-align: center;
    padding: clamp(48px, 6vw, 80px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative; overflow: hidden;
}
.cta-block::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, var(--glow), transparent 60%);
    pointer-events: none;
}
.cta-block__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800; letter-spacing: -1px;
    margin-bottom: 16px; position: relative;
}
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-block__text {
    font-size: 18px; color: var(--text-secondary);
    margin-bottom: 32px; position: relative;
}
.cta-block__buttons {
    display: flex; justify-content: center; gap: 16px;
    flex-wrap: wrap; position: relative;
}

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--border-color); padding: 48px 0;
    transition: border-color 0.5s var(--ease);
}
.footer__content {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 32px;
}
.footer__logo {
    font-size: 24px; font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: block;
}
.footer__tagline {
    font-size: 13px; color: var(--text-tertiary);
    margin-top: 4px; letter-spacing: 1px;
}
.footer__social { display: flex; gap: 8px; }
.footer__social-link {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}
.footer__social-link:hover {
    color: var(--text-primary); border-color: var(--border-hover);
    transform: translateY(-2px);
}
.footer__bottom {
    padding-top: 24px; border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer__bottom p { font-size: 13px; color: var(--text-tertiary); }

/* === SCROLL ANIMATIONS === */
[data-animate] { opacity: 0; transform: translateY(40px); }
[data-animate].animate-in {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}



/* === RESPONSIVE === */

/* Tablets / Laptops */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .hero-profile-card { width: 380px; }
    .hero-profile-card__image { width: 350px; height: 350px; }
    .hero__content { gap: clamp(30px, 4vw, 60px); }
}

/* Tablets portrait */
@media (max-width: 768px) {
    .navbar__links, .navbar__cta, .navbar__socials { display: none; }
    .navbar__mobile-toggle { display: flex; }

    .hero__title { letter-spacing: -1.5px; }

    .hero__content { flex-direction: column; text-align: center; }
    .hero__text { text-align: center; max-width: 100%; }
    .hero__subtitle { margin: 0 auto 40px; }
    .hero__ctas { justify-content: center; }
    .hero__profile { order: -1; }
    .hero-profile-card { width: 280px; padding: 10px; margin: 0 auto; }
    .hero-profile-card__image { width: 200px; height: 200px; }

    .hero__badge {
        font-size: 12px; padding: 6px 14px;
        text-align: center; line-height: 1.5;
    }

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

    .stats-row { flex-direction: column; gap: 32px; }
    .stat__divider { width: 40px; height: 1px; }

    .ads-grid { grid-template-columns: 1fr; }
    .ads-cta { padding: 28px 20px; margin-top: 32px; }
    .ads-cta__text { font-size: 17px; }
    .btn--ads { font-size: 14px; padding: 14px 24px; }

    .showcase__item { width: 220px; height: 160px; }

    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .filter-btn { padding: 8px 18px; font-size: 13px; }

    .footer__content { flex-direction: column; gap: 20px; text-align: center; }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero__badge { font-size: 11px; padding: 6px 12px; }
    .hero__title { font-size: clamp(36px, 10vw, 48px); }

    .hero__ctas {
        flex-direction: column; align-items: center;
    }
    .hero__ctas .btn { width: 100%; justify-content: center; max-width: 300px; }
    .hero-profile-card { width: 250px; padding: 10px; }
    .hero-profile-card__image { width: 160px; height: 160px; }
    .hero-profile-card__info h3 { font-size: 18px; }

    .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
    .gallery__item img { aspect-ratio: 3 / 4; }
    .gallery__overlay { padding: 12px; }
    .gallery__cat { font-size: 10px; }

    .about-card { padding: 24px; }
    .about-card--bio p { font-size: 15px; }
    .feature-card { padding: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-block { padding: 32px 20px; }
    .cta-block__buttons .btn { width: 100%; justify-content: center; }

    .section__title { font-size: clamp(26px, 7vw, 36px); }
    .section__desc { font-size: 15px; }

    .ads-card--main { padding: 24px; }
    .ads-feature { padding: 16px; gap: 14px; }
    .ads-cta { padding: 24px 16px; }
    .btn--ads { font-size: 13px; padding: 12px 20px; width: 100%; justify-content: center; }

    .showcase__item { width: 180px; height: 130px; }

    .mobile-menu__link { font-size: 28px; }

    .stat__number { font-size: clamp(32px, 8vw, 44px); }
}

@media (max-width: 360px) {
    .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
    .showcase__item { width: 150px; height: 110px; }
    .hero__title { letter-spacing: -1px; font-size: clamp(32px, 9vw, 40px); }
    .hero__badge { font-size: 10px; }
    .cta-block__title { font-size: clamp(22px, 6vw, 28px); }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding-top: 60px; }
    .hero__container { padding: 20px 24px; }
    .hero__title { font-size: clamp(32px, 5vw, 48px); }
    .showcase__row { display: none; }
}