:root {
    /* Colors - Light Theme with Red Accent */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #fafafa;
    --color-bg-card: rgba(255, 255, 255, 0.95);
    --color-bg-glass: rgba(255, 255, 255, 0.8);
    
    --color-accent-primary: #dc2626;
    --color-accent-secondary: #0ea5e9;
    --color-accent-gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-hover: rgba(220, 38, 38, 0.3);
    --color-border-glow: rgba(220, 38, 38, 0.4);
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Effects */
    --glass-blur: blur(20px);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 64px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 8px 40px rgba(220, 38, 38, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/*===============================================
  RESET & BASE
===============================================*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

.main {
    overflow-x: hidden;
    width: 100%;
}

/*===============================================
  UTILITY CLASSES
===============================================*/
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.text-gradient {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*===============================================
  SECTION HEADER
===============================================*/
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.section__description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/*===============================================
  BUTTONS
===============================================*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

.btn--primary {
    background: var(--color-accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(220, 38, 38, 0.4);
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary:hover svg {
    transform: translate(3px, -3px);
}

.btn--primary span {
    position: relative;
    z-index: 1;
}

.btn--secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
}

.btn--secondary:hover {
    border-color: var(--color-accent-primary);
    background: rgba(220, 38, 38, 0.05);
    color: var(--color-accent-primary);
}

.btn--full {
    width: 100%;
}

/*===============================================
  HEADER & NAVIGATION
===============================================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: var(--color-text-primary);
}

.logo-accent {
    color: var(--color-accent-primary);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 12px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.nav__link:hover {
    color: var(--color-text-primary);
    background: var(--color-bg-secondary);
}

.nav__link--cta {
    background: var(--color-accent-gradient);
    color: white !important;
    margin-left: 8px;
}

.nav__link--cta:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.nav__toggle,
.nav__close {
    display: none;
    color: var(--color-text-primary);
    cursor: pointer;
}

/*===============================================
  WHATSAPP FLOAT BUTTON
===============================================*/
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/*===============================================
  HERO SECTION
===============================================*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blobFloat 20s ease-in-out infinite;
}

.hero__blob--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.hero__blob--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.hero__blob--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 40px) scale(1.02);
    }
}

/* Floating Demo Cards */
.hero__floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.floating-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    border-radius: var(--radius-sm);
}

.floating-card__icon svg {
    width: 20px;
    height: 20px;
    color: white;
    stroke: white;
}

.floating-card--1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.floating-card--2 {
    top: 35%;
    right: 8%;
    animation-delay: -2s;
}

.floating-card--3 {
    bottom: 25%;
    left: 10%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero__container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.hero__description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.hero__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-border);
    border-radius: 15px;
    position: relative;
    background: var(--color-bg-card);
}

.scroll-indicator span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/*===============================================
  SERVICES SECTION
===============================================*/
.services {
    background: var(--color-bg-primary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, var(--color-accent-primary) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--color-bg-primary);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--color-accent-gradient);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent-primary);
    transition: var(--transition-base);
}

.service-card:hover .service-card__icon svg {
    stroke: white;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/*===============================================
  PROJECTS / DEMOS SECTION
===============================================*/
.projects {
    background: var(--color-bg-secondary);
}

.projects__filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    transition: var(--transition-base);
}

.filter-btn:hover {
    color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}

.filter-btn.active {
    color: white;
    background: var(--color-accent-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.project-card.hidden {
    display: none;
}

.project-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-card__image img {
    transform: scale(1.1);
}

.project-card__image img {
    cursor: pointer;
}

.project-card__zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-base);
    pointer-events: none;
}

.project-card:hover .project-card__zoom {
    opacity: 1;
    transform: scale(1);
}

.project-card__zoom svg {
    width: 20px;
    height: 20px;
    color: white;
}

.project-card__content {
    padding: 24px;
}

.project-card__tag {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.project-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.project-card__text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/*===============================================
  PROCESS SECTION
===============================================*/
.process {
    background: var(--color-bg-primary);
}

.process__timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process {
    overflow: hidden;
}

.process__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-secondary));
    opacity: 0.3;
}

.process__step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process__step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.process__step:last-child {
    margin-bottom: 0;
}

.process__number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-primary);
    border: 2px solid var(--color-accent-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--color-accent-primary);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.process__content {
    flex: 1;
    padding: 24px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.process__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.process__step:nth-child(even) .process__icon {
    margin-left: auto;
}

.process__icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.process__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.process__text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/*===============================================
  ABOUT SECTION
===============================================*/
.about {
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.about__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    filter: blur(60px);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.about__text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about__text:last-of-type {
    margin-bottom: 32px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 32px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.stat-card__number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-card__number::after {
    content: '+';
}

.stat-card__label {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

/*===============================================
  CONTACT SECTION
===============================================*/
.contact {
    background: var(--color-bg-primary);
}

.contact__wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact__form {
    padding: 48px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form__group {
    position: relative;
    margin-bottom: 32px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form__row .form__group {
    margin-bottom: 32px;
}

.form__input {
    width: 100%;
    padding: 16px 0;
    font-size: 1rem;
    color: var(--color-text-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-border);
    outline: none;
    transition: var(--transition-base);
}

.form__input:focus,
.form__input:not(:placeholder-shown) {
    border-color: var(--color-accent-primary);
}

.form__label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-base);
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
    top: -8px;
    font-size: 0.75rem;
    color: var(--color-accent-primary);
}

.form__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    transition: var(--transition-base);
}

.form__input:focus ~ .form__line {
    width: 100%;
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

/*===============================================
  FOOTER
===============================================*/
.footer {
    padding: 40px 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--color-accent-gradient);
    box-shadow: 0 0 20px var(--color-accent-primary);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copy {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: var(--transition-base);
}

.footer__social svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer__social:hover {
    border-color: var(--color-accent-primary);
    background: rgba(220, 38, 38, 0.1);
}

.footer__social:hover svg {
    color: var(--color-accent-primary);
}

/*===============================================
  TOAST NOTIFICATION
===============================================*/
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast.success {
    border-color: #22c55e;
}

.toast.success .toast__icon::before {
    content: '✓';
    color: #22c55e;
}

.toast.error {
    border-color: #ef4444;
}

.toast.error .toast__icon::before {
    content: '✕';
    color: #ef4444;
}

.toast__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/*===============================================
  LIGHTBOX MODAL
===============================================*/
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.lightbox__close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.lightbox__close:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    transform: rotate(90deg);
}

.lightbox__content {
    max-width: 1000px;
    width: 100%;
    background: var(--color-bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-base);
}

.lightbox.active .lightbox__content {
    transform: scale(1) translateY(0);
}

.lightbox__content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    display: block;
}

.lightbox__info {
    padding: 24px 32px;
    background: var(--color-bg-primary);
}

.lightbox__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.lightbox__desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 20px;
    }
    
    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox__close svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox__content img {
        max-height: 50vh;
    }
    
    .lightbox__info {
        padding: 20px;
    }
    
    .lightbox__title {
        font-size: 1.25rem;
    }
}

/*===============================================
  SCROLL REVEAL ANIMATIONS
===============================================*/
[data-reveal] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="fade-up"] {
    transform: translateY(40px);
}

[data-reveal="fade-down"] {
    transform: translateY(-40px);
}

[data-reveal="fade-left"] {
    transform: translateX(40px);
}

[data-reveal="fade-right"] {
    transform: translateX(-40px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/*===============================================
  RESPONSIVE DESIGN
===============================================*/

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process__timeline::before {
        left: 40px;
    }
    
    .process__step,
    .process__step:nth-child(even) {
        flex-direction: column;
        text-align: left;
        padding-left: 100px;
    }
    
    .process__step:nth-child(even) .process__icon {
        margin-left: 0;
    }
    
    .process__number {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .floating-card--1,
    .floating-card--2,
    .floating-card--3 {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-primary);
        border-left: 1px solid var(--color-border);
        padding: 80px 32px 32px;
        transition: var(--transition-base);
        z-index: 100;
        box-shadow: var(--shadow-lg);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .nav__link {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav__link--cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        border-radius: var(--radius-md);
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 24px;
        right: 24px;
    }
    
    .hero__title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .projects__filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }
    
    .projects__grid {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .stat-card__number {
        font-size: 2.25rem;
    }
    
    .contact__form {
        padding: 32px 24px;
    }
    
    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    /* Reduce animation intensity on mobile */
    [data-reveal="fade-up"],
    [data-reveal="fade-down"] {
        transform: translateY(20px);
    }
    
    [data-reveal="fade-left"],
    [data-reveal="fade-right"] {
        transform: translateX(20px);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .section__description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .process__step,
    .process__step:nth-child(even) {
        padding-left: 80px;
    }
    
    .process__number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .process__timeline::before {
        left: 25px;
    }
}
