
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 100000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s;
}
.skip-to-content:focus {
    top: 0;
}

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

:root {

    --primary: #6366F1;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --primary-soft: #A5A5C8;

    --accent: #A855F7;
    --accent-dark: #7E22CE;
    --accent-light: #C084FC;

    --warm: #EC4899;
    --warm-dark: #BE185D;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    --primary-rgb: 99, 102, 241;
    --accent-rgb: 168, 85, 247;
    --warm-rgb: 236, 72, 153;

    --light-bg: #FAF9FF;
    --gray-bg: #F4F2FB;
    --bg-soft: #F7F5FC;
    --bg-muted: #EAE6F7;

    --dark-bg: #0E0B1F;
    --dark-bg-2: #1A1530;
    --dark-bg-3: #2A2347;

    --text-dark: #1A1530;
    --text-light: #FFFFFF;
    --text-muted: #5A5478;
    --text-muted-light: rgba(245, 243, 255, 0.74);
    --text-subtle: #8B85A8;

    --border: #E5E0F2;
    --border-strong: #C7BEEC;
    --glass-bg: rgba(99, 102, 241, 0.05);
    --glass-border: rgba(99, 102, 241, 0.10);
    --glass-bg-light: rgba(255, 255, 255, 0.85);
    --glass-border-light: rgba(99, 102, 241, 0.10);

    --shadow-xs: 0 1px 2px rgba(30, 27, 75, 0.05);
    --shadow-sm: 0 2px 4px rgba(30, 27, 75, 0.08), 0 1px 2px rgba(30, 27, 75, 0.04);
    --shadow: 0 4px 12px rgba(30, 27, 75, 0.10), 0 2px 4px rgba(30, 27, 75, 0.06);
    --shadow-md: 0 8px 20px rgba(30, 27, 75, 0.12), 0 4px 8px rgba(30, 27, 75, 0.06);
    --shadow-lg: 0 16px 40px rgba(30, 27, 75, 0.14), 0 8px 16px rgba(30, 27, 75, 0.08);
    --shadow-xl: 0 24px 60px rgba(30, 27, 75, 0.18);
    --shadow-focus: 0 0 0 4px rgba(99, 102, 241, 0.20);
    --shadow-focus-accent: 0 0 0 4px rgba(168, 85, 247, 0.32);

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 6rem;
    --space-16: 8rem;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 3.5rem;
    --fs-6xl: 4.5rem;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --transition: 200ms var(--ease);
    --transition-fast: 150ms var(--ease);
    --transition-slow: 300ms var(--ease-out);
    --duration-instant: 75ms;
    --duration-fast: 150ms;
    --duration-base: 200ms;
    --duration-slow: 300ms;
    --duration-slower: 500ms;

    --navy-50:  #F8FAFC;
    --navy-100: #F1F5F9;
    --navy-200: #E2E8F0;
    --navy-300: #CBD5E1;
    --navy-400: #94A3B8;
    --navy-500: #64748B;
    --navy-600: #475569;
    --navy-700: #334155;
    --navy-800: #1E293B;
    --navy-900: #0F172A;
    --navy-950: #020617;

    --gold-50:  #FEF8E7;
    --gold-100: #FCEFC2;
    --gold-200: #F8DF87;
    --gold-300: #F1CB4D;
    --gold-400: #C084FC;
    --gold-500: #A855F7;
    --gold-600: #A8842A;
    --gold-700: #876820;
    --gold-800: #614A17;
    --gold-900: #3D2E0E;
    --gold-950: #1F1707;

    --neutral-50:  #FAFAFA;
    --neutral-100: #F4F4F5;
    --neutral-200: #E4E4E7;
    --neutral-300: #D4D4D8;
    --neutral-400: #A1A1AA;
    --neutral-500: #71717A;
    --neutral-600: #52525B;
    --neutral-700: #3F3F46;
    --neutral-800: #27272A;
    --neutral-900: #18181B;
    --neutral-950: #09090B;

    --success-50:  #ECFDF5;
    --success-100: #D1FAE5;
    --success-500: #10B981;
    --success-600: #059669;
    --success-700: #047857;

    --warning-50:  #FFFBEB;
    --warning-100: #FEF3C7;
    --warning-500: #F59E0B;
    --warning-600: #D97706;
    --warning-700: #B45309;

    --danger-50:  #FEF2F2;
    --danger-100: #FEE2E2;
    --danger-500: #EF4444;
    --danger-600: #DC2626;
    --danger-700: #B91C1C;

    --info-50:  #EFF6FF;
    --info-100: #DBEAFE;
    --info-500: #3B82F6;
    --info-600: #2563EB;
    --info-700: #1D4ED8;

    --text: var(--text-dark);
    --text-inverse: #FFFFFF;
    --card-bg: var(--light-bg);
    --surface: var(--light-bg);
    --surface-2: var(--gray-bg);
    --surface-3: var(--bg-muted);
    --surface-elevated: var(--light-bg);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, Monaco, 'Cascadia Mono', 'Roboto Mono', Consolas, monospace;

    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal-backdrop: 1500;
    --z-modal: 2000;
    --z-popover: 2500;
    --z-toast: 3000;
    --z-tooltip: 3500;

    --border-w-1: 1px;
    --border-w-2: 2px;
    --border-w-thick: 3px;

    --fs-display-1: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
    --fs-display-2: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    --fs-h1: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
    --fs-h2: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    --fs-h3: clamp(1.25rem, 1.125rem + 0.625vw, 1.625rem);

    color-scheme: light;
}

[data-theme="dark"] {

    --primary: #A5B4FC;
    --primary-dark: #C7D2FE;
    --primary-light: #818CF8;
    --primary-soft: #6366F1;

    --accent: #C084FC;
    --accent-dark: #A855F7;
    --accent-light: #D8B4FE;

    --warm: #F472B6;
    --warm-dark: #EC4899;

    --primary-rgb: 165, 180, 252;
    --accent-rgb: 192, 132, 252;
    --warm-rgb: 244, 114, 182;

    --light-bg: #0E0B1F;
    --gray-bg: #1A1530;
    --bg-soft: #1A1530;
    --bg-muted: #2A2347;

    --text-dark: #F5F3FF;
    --text-muted: #C4B5FD;
    --text-subtle: #A5A5C8;

    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-bg-light: rgba(255, 255, 255, 0.04);
    --glass-border-light: rgba(255, 255, 255, 0.08);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.35);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.40);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.65);
    --shadow-focus: 0 0 0 4px rgba(165, 180, 252, 0.28);
    --shadow-focus-accent: 0 0 0 4px rgba(192, 132, 252, 0.40);

    --text: var(--text-dark);
    --text-inverse: var(--navy-900);
    --card-bg: var(--dark-bg-2);
    --surface: var(--dark-bg);
    --surface-2: var(--dark-bg-2);
    --surface-3: var(--dark-bg-3);
    --surface-elevated: var(--dark-bg-3);

    color-scheme: dark;
}

[data-theme="dark"] .section-light,
[data-theme="dark"] .section-gray {
    color: var(--text-dark);
}

[data-theme="dark"] .app-showcase {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .app-name {
    color: var(--text-dark);
}

[data-theme="dark"] .app-features li {
    color: var(--text-dark);
}

[data-theme="dark"] .contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .phone-screen {
    background: linear-gradient(180deg, #1e1e32, #16162a);
}

[data-theme="dark"] .phone-app-card {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .phone-nav-bar {
    background: rgba(42, 35, 71, 0.95);
}

[data-theme="dark"] .marquee-section {
    background: var(--dark-bg-2);
    border-color: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .marquee-item {
    color: var(--text-muted);
}

[data-theme="dark"] .app-badge {
    background: rgba(30, 27, 75,0.15);
    border-color: rgba(30, 27, 75,0.25);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
    font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.page-section-title,
.app-name,
.card-title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    text-wrap: balance;
}

p, .section-subtitle, .page-section-subtitle, .lead, .hero-subtitle, .app-desc, .card-text {
    text-wrap: pretty;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10vh;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    margin-bottom: 16px;
}
.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.preloader-logo-img {
    height: 450px;
    width: auto;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    animation: preloaderProgress 1.2s ease-out forwards;
}

@keyframes preloaderProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(14, 11, 31, 0.78);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    padding: 10px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.navbar-logo {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}
.navbar-logo-img {
    height: 74px;
    width: auto;
    transition: height var(--transition);
}

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

.logo-firma {
    color: var(--text-light);
}

.logo-sistem {
    color: var(--primary);
}

.navbar.scrolled .logo-firma {
    color: var(--text-light);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    transition: color var(--transition-fast), background var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

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

.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(30deg);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lang-option {
    transition: all var(--transition);
    cursor: pointer;
}

.lang-option.active {
    color: var(--accent);
}

.lang-separator {
    opacity: 0.3;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 40%, var(--dark-bg-3) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 20% 50%, rgba(30, 27, 75,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(30, 27, 75,0.06) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    animation: floatGlow 10s ease-in-out infinite;
}

.hero-glow-1 {
    width: 540px;
    height: 540px;
    background: rgba(99, 102, 241, 0.55);
    top: -12%;
    left: -8%;
    animation-delay: 0s;
}

.hero-glow-2 {
    width: 460px;
    height: 460px;
    background: rgba(168, 85, 247, 0.22);
    bottom: -12%;
    right: -8%;
    animation-delay: -5s;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 140px 24px 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(30, 27, 75,0.12);
    border: 1px solid rgba(30, 27, 75,0.25);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
}

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

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

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title span {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--warm) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 6s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-tech-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
    text-decoration: none;
}

a.tech-pill {
    cursor: pointer;
}

.tech-pill:hover {
    background: rgba(30, 27, 75,0.15);
    border-color: rgba(30, 27, 75,0.3);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-primary {
    background: #ffffff;
    color: var(--dark-bg);
    border-color: #ffffff;
}

[data-theme="dark"] .btn-primary:hover {
    background: #E2E8F0;
    border-color: #E2E8F0;
}

.btn-cta {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    font-weight: 700;
}

.btn-cta:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-cta {
    color: var(--dark-bg);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.30);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

[data-theme="light"] .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

[data-theme="light"] .btn-outline:hover {
    background: rgba(30, 27, 75, 0.04);
    border-color: var(--primary-dark);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.30);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: transparent;
}

.btn-ghost:hover {
    background: rgba(30, 27, 75, 0.06);
}

.btn-store {
    background: var(--primary);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1px solid var(--primary);
}

.btn-store:hover {
    background: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.30);
}

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

.btn:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus-accent);
}

.btn-cta:focus-visible {
    box-shadow: var(--shadow-focus);
}

.btn-ripple .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.marquee-section {
    padding: 20px 0;
    background: var(--gray-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

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

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-bg), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-bg), transparent);
}

[data-theme="dark"] .marquee-section::before {
    background: linear-gradient(to right, var(--dark-bg-2), transparent);
}

[data-theme="dark"] .marquee-section::after {
    background: linear-gradient(to left, var(--dark-bg-2), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

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

.marquee-content {
    display: flex;
    gap: 48px;
    padding-right: 48px;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color var(--transition);
}

.marquee-item:hover {
    color: var(--primary);
}

.marquee-highlight {
    color: var(--accent) !important;
    font-weight: 600;
}

.marquee-highlight svg {
    opacity: 0.8;
    stroke: var(--accent);
}

.marquee-highlight:hover {
    color: var(--accent-dark) !important;
}

.marquee-item svg {
    opacity: 0.6;
}

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

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light-bg);
}

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

.section-dark {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-2));
    color: var(--text-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: var(--text-muted-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    padding: 36px 28px;
    border-radius: var(--radius);
    transition: all var(--transition-slow);
    cursor: default;
}

.glass-card {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.20);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-light);
    transition: transform var(--transition);
}

.glass-card:hover .card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.card-icon.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

.app-showcase {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
}

.app-showcase:hover {
    box-shadow: var(--shadow-lg);
}

.app-showcase:last-child {
    margin-bottom: 0;
}

.app-mockup {
    flex-shrink: 0;
}
.app-mockup .phone-frame {
    width: 300px;
    height: 610px;
}

.phone-frame {
    width: 240px;
    height: 490px;
    border-radius: 40px;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    padding: 10px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0a0a14;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-notch::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a1a2e;
    box-shadow: inset 0 0 2px rgba(30, 27, 75,0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(180deg, #f5f5ff 0%, #eeeef5 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #1a1a2e;
}

.phone-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.phone-app-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
}

.phone-app-title {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a2e;
}

.phone-app-content {
    flex: 1;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-app-card {
    height: 56px;
    border-radius: 12px;
    background: rgba(30, 27, 75,0.08);
    border: 1px solid rgba(30, 27, 75,0.12);
    animation: cardShimmer 3s ease-in-out infinite;
}

.phone-app-card.short {
    height: 40px;
    width: 75%;
}

.phone-app-card.medium {
    height: 48px;
    width: 85%;
}

.phone-app-card:nth-child(2) { animation-delay: 0.5s; }
.phone-app-card:nth-child(3) { animation-delay: 1s; }
.phone-app-card:nth-child(4) { animation-delay: 1.5s; }

@keyframes cardShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.phone-nav-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 20px;
    background: rgba(245, 245, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.phone-nav-item {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(30, 27, 75,0.15);
}

.phone-nav-item.active {
    background: var(--primary);
}

.phone-home-indicator {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(30, 27, 75,0.08);
    border: 1px solid rgba(30, 27, 75,0.15);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badge-icon {
    display: flex;
}

.app-info {
    flex: 1;
    position: relative;
}
.app-info-logo {
    position: absolute;
    top: -20px;
    right: 0;
    width: 140px;
    height: 140px;
    border-radius: 28px;
    object-fit: contain;
}
@media (max-width: 768px) {
    .app-info-logo {
        display: none;
    }
}

.app-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    /* Sağ üstteki yüzen .app-info-logo (140px) ile çakışmayı önler. */
    padding-right: 156px;
}

.app-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    /* Rozetin dikey alanına giren ilk satırların altına girmesini engeller. */
    padding-right: 156px;
}

/* Mobilde logo gizli (yukarıda); metnin rozet boşluğuna ihtiyacı yok.
   Bu reset, base kurallardan SONRA gelmeli ki cascade'de kazansın. */
@media (max-width: 768px) {
    .app-name,
    .app-desc {
        padding-right: 0;
    }
}

.app-features {
    list-style: none;
    margin-bottom: 28px;
}

.app-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
    font-size: 0.93rem;
    line-height: 1.5;
}

.app-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.app-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-legal-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
    cursor: pointer;
}

.app-legal-link:hover {
    color: var(--primary);
}

.app-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.app-feature-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--gray-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition);
}

.app-feature-card:hover {
    border-color: rgba(30, 27, 75,0.2);
    background: rgba(30, 27, 75,0.04);
}

.app-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(30, 27, 75,0.1), rgba(168, 85, 247,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 4px;
}

.app-feature-card strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.app-feature-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

[data-theme="dark"] .app-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .app-feature-card:hover {
    background: rgba(30, 27, 75,0.08);
    border-color: rgba(30, 27, 75,0.2);
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.app-tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-dark);
    background: rgba(168, 85, 247,0.08);
    border: 1px solid rgba(168, 85, 247,0.15);
    letter-spacing: 0.3px;
}

[data-theme="dark"] .app-tag {
    color: var(--accent);
    background: rgba(168, 85, 247,0.06);
    border-color: rgba(168, 85, 247,0.12);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.stats-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.stat-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.stat-ring-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-ring-fill.accent {
    stroke: var(--accent);
}

.stat-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
}

.stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

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

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

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}

.contact-form:focus-within {
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 8px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    transition: all var(--transition);
    outline: none;
    color: var(--text-dark);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #d1d5db;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all var(--transition);
    pointer-events: none;
}

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

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

.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: 6px;
    transform: none;
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
}

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

.kvkk-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    margin: 16px 0;
}
.kvkk-consent input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.kvkk-consent a {
    color: var(--primary);
    text-decoration: underline;
}
[data-theme="dark"] .kvkk-consent {
    color: var(--text-muted-light);
}

.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 2fr 1.8fr 1.6fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer .navbar-logo-img {
    height: 64px;
}

.footer-desc {
    color: var(--text-muted-light);
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links.footer-links--wide ul {
    columns: 2;
    column-gap: 24px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition);
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-light);
    transition: all var(--transition);
    cursor: pointer;
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 27, 75,0.3);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted-light);
    font-size: 0.85rem;
}

.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: 0 8px 25px rgba(30, 27, 75,0.3);
}

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

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(30, 27, 75,0.4);
}

.scroll-top svg {
    width: 22px;
    height: 22px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .marquee-track {
        animation: none;
    }

    .hero-particles {
        display: none;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

    .app-showcase {
        flex-direction: column;
        text-align: center;
        padding: 32px;
        gap: 40px;
    }

    .app-feature-grid {
        text-align: left;
    }

    .app-tags {
        justify-content: center;
    }

    .app-links {
        justify-content: center;
    }

    .app-badge {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 960px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(14, 11, 31, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 80px 32px 48px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        z-index: 10001;
    }

    .navbar-menu.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .navbar-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        padding: 14px 24px;
        border-radius: var(--radius-sm);
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active::after {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 10002;
    }
}

@media (max-width: 768px) {
    .navbar-logo-img {
        height: 40px;
    }

    .section {
        padding: 70px 0;
    }

    .hero-content {
        padding: 120px 16px 80px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .phone-frame {
        width: 200px;
        height: 410px;
    }

    .app-feature-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 16px;
        left: 16px;
        width: 48px;
        height: 48px;
    }

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

    .contact-form {
        padding: 24px;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .hero-tech-pills {
        gap: 8px;
    }

    .tech-pill {
        font-size: 0.72rem;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .stat-ring {
        width: 100px;
        height: 100px;
    }

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

    .marquee-section {
        padding: 16px 0;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus-accent);
    border-radius: var(--radius-sm);
}

[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible,
[data-theme="dark"] input:focus-visible,
[data-theme="dark"] textarea:focus-visible {
    box-shadow: var(--shadow-focus-accent);
}

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

[data-theme="dark"] ::selection {
    background: var(--accent);
    color: var(--dark-bg);
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] a {
    color: var(--accent);
}

[data-theme="dark"] a:hover {
    color: var(--accent-light);
}

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

    .marquee-content {
        animation: none !important;
    }

    .preloader-progress,
    .preloader {
        animation: none !important;
    }

    .hero-particles {
        display: none !important;
    }
}

.card,
.feature-card,
.app-feature-card,
.contact-info-card {
    cursor: default;
}

a.card,
a.feature-card,
a.app-feature-card {
    cursor: pointer;
}

.card.glass-card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.form-group input,
.form-group textarea {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--border-strong);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--dark-bg-2);
    border-color: var(--border);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: var(--shadow-focus-accent);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.card-link {
    display: inline-block;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.card-link:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .card-link {
    color: var(--accent);
}

.section-title-light {
    color: var(--text-light);
}

.section-subtitle-light {
    color: var(--text-muted-light);
}

.sector-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.sector-pill {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.sector-pill:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.btn-on-dark {
    border-color: var(--glass-border);
    color: var(--text-light);
}

.phone-screen-img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    object-position: top;
    display: block;
}

.breadcrumb {
    padding: 16px 0;
    font-size: 0.875rem;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item[aria-current="page"] {
    color: var(--text);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
}

[data-theme="dark"] .breadcrumb-item {
    color: var(--text-muted-light);
}

[data-theme="dark"] .breadcrumb-item a:hover {
    color: var(--accent);
}

[data-theme="dark"] .breadcrumb-item[aria-current="page"] {
    color: var(--text-light);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    gap: 6px;
}

.btn-lg {
    padding: 18px 38px;
    font-size: 1.05rem;
    gap: 10px;
}

.btn-icon {
    padding: 12px;
    aspect-ratio: 1;
    justify-content: center;
}

.btn-icon.btn-sm { padding: 8px; }
.btn-icon.btn-lg { padding: 16px; }

.btn-square {
    border-radius: var(--radius-sm);
}

.btn-danger {
    background: var(--danger-600);
    color: #fff;
    border-color: var(--danger-600);
}

.btn-danger:hover {
    background: var(--danger-700);
    border-color: var(--danger-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-danger:focus-visible {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.32);
}

.btn[data-loading="true"] {
    pointer-events: none;
    color: transparent;
    position: relative;
}

.btn[data-loading="true"]::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    color: #fff;
    animation: btn-spin 600ms linear infinite;
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.form-group--error input,
.form-group--error textarea,
.form-group--error select,
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--danger-500) !important;
}

.form-group--error input:focus,
.form-group--error textarea:focus,
input[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18) !important;
    border-color: var(--danger-600) !important;
}

.form-group--success input,
.form-group--success textarea {
    border-color: var(--success-500) !important;
}

.form-helper {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-helper--error {
    color: var(--danger-600);
}

.form-helper--success {
    color: var(--success-600);
}

[data-theme="dark"] .form-helper--error {
    color: #FCA5A5;
}

[data-theme="dark"] .form-helper--success {
    color: #6EE7B7;
}

select,
.form-control {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

select {
    background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
                      linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
    cursor: pointer;
}

select:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}

[data-theme="dark"] select,
[data-theme="dark"] .form-control {
    background-color: var(--dark-bg-2);
}

[data-theme="dark"] select:focus,
[data-theme="dark"] .form-control:focus {
    border-color: var(--accent);
    box-shadow: var(--shadow-focus-accent);
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--danger-50);
    border: 1px solid var(--danger-100);
    color: var(--danger-700);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.form-alert[hidden] { display: none; }

[data-theme="dark"] .form-alert {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: #FCA5A5;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.5;
    border: 1px solid transparent;
    text-transform: uppercase;
}

.badge--neutral {
    background: var(--surface-3);
    color: var(--text-muted);
}

.badge--brand {
    background: rgba(var(--accent-rgb), 0.10);
    color: var(--accent-dark);
    border-color: rgba(var(--accent-rgb), 0.20);
}

.badge--success {
    background: var(--success-50);
    color: var(--success-700);
}

.badge--warning {
    background: var(--warning-50);
    color: var(--warning-700);
}

.badge--danger {
    background: var(--danger-50);
    color: var(--danger-700);
}

.badge--info {
    background: var(--info-50);
    color: var(--info-700);
}

[data-theme="dark"] .badge--neutral {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted-light);
}

[data-theme="dark"] .badge--brand {
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.22);
}

[data-theme="dark"] .badge--success { background: rgba(16, 185, 129, 0.12); color: #6EE7B7; }
[data-theme="dark"] .badge--warning { background: rgba(245, 158, 11, 0.12); color: #FCD34D; }
[data-theme="dark"] .badge--danger  { background: rgba(239, 68, 68, 0.12); color: #FCA5A5; }
[data-theme="dark"] .badge--info    { background: rgba(59, 130, 246, 0.12); color: #93C5FD; }

.badge--dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal-backdrop);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal-backdrop[data-open="true"],
.modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(12px) scale(0.98);
    transition: transform var(--transition-slow);
    z-index: var(--z-modal);
}

.modal-backdrop[data-open="true"] .modal,
.modal-backdrop.is-open .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.modal-close:hover {
    background: var(--surface-3);
    color: var(--text-dark);
}

.modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    color: var(--text-dark);
    line-height: 1.65;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px 22px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

[data-theme="dark"] .modal-footer {
    background: rgba(255, 255, 255, 0.02);
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: min(420px, calc(100vw - 40px));
}

.toast {
    pointer-events: auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    animation: toast-in 280ms var(--ease-out);
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--primary);
}

.toast--success::before { background: var(--success-500); }
.toast--warning::before { background: var(--warning-500); }
.toast--danger::before  { background: var(--danger-500); }
.toast--info::before    { background: var(--info-500); }

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.toast-close {
    flex-shrink: 0;
    background: transparent;
    border: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--transition-fast);
}

.toast-close:hover {
    background: var(--surface-3);
}

@keyframes toast-in {
    from { transform: translateX(20px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::before,
[data-tooltip]::after {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: var(--z-tooltip);
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    background: var(--navy-900);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    max-width: 220px;
    box-shadow: var(--shadow-md);
}

[data-tooltip]::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--navy-900);
    bottom: calc(100% + 3px);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::before,
[data-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

[data-theme="dark"] [data-tooltip]::before {
    background: var(--navy-50);
    color: var(--navy-900);
}

[data-theme="dark"] [data-tooltip]::after {
    border-top-color: var(--navy-50);
}

.skeleton {
    display: block;
    background: linear-gradient(
        90deg,
        var(--surface-2) 0%,
        var(--surface-3) 50%,
        var(--surface-2) 100%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    animation: skeleton-pulse 1.4s ease-in-out infinite;
    min-height: 14px;
}

.skeleton--circle { border-radius: 50%; aspect-ratio: 1; }
.skeleton--text   { height: 0.875em; margin: 4px 0; }
.skeleton--title  { height: 1.5em; width: 60%; }
.skeleton--button { height: 40px; width: 120px; border-radius: var(--radius-full); }
.skeleton--card   { height: 180px; border-radius: var(--radius); }

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

@media (prefers-reduced-motion: reduce) {
    .skeleton { animation: none; opacity: 0.7; }
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    max-width: 480px;
    margin: 0 auto;
    color: var(--text-muted);
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    background: var(--surface-2);
    display: grid;
    place-items: center;
    color: var(--text-muted);
}

.empty-state__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.empty-state__desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.empty-state__action {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    width: fit-content;
}

.tab {
    padding: 8px 16px;
    border-radius: 6px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.tab:hover {
    color: var(--text-dark);
}

.tab[aria-selected="true"],
.tab.is-active {
    background: var(--card-bg);
    color: var(--text-dark);
    box-shadow: var(--shadow-xs);
}

[data-theme="dark"] .tab[aria-selected="true"],
[data-theme="dark"] .tab.is-active {
    background: var(--surface-elevated);
    color: var(--text-light);
}

.tabs--underline {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 0;
    gap: 24px;
    width: 100%;
}

.tabs--underline .tab {
    border-radius: 0;
    border-bottom: 2px solid transparent;
    padding: 12px 0;
    background: transparent !important;
    box-shadow: none !important;
}

.tabs--underline .tab[aria-selected="true"],
.tabs--underline .tab.is-active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

[data-theme="dark"] .tabs--underline .tab[aria-selected="true"],
[data-theme="dark"] .tabs--underline .tab.is-active {
    color: var(--accent);
}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.table thead th {
    text-align: start;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
}

.table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--surface-2);
}

.table--zebra tbody tr:nth-child(odd) {
    background: var(--surface-2);
}

.table--zebra tbody tr:nth-child(odd):hover {
    background: var(--surface-3);
}

.table--compact tbody td { padding: 8px 12px; }
.table--compact thead th { padding: 8px 12px; }
.table--relaxed tbody td { padding: 20px 18px; }
.table--relaxed thead th { padding: 16px 18px; }

[data-theme="dark"] .table thead th {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.switch {
    --switch-w: 40px;
    --switch-h: 22px;
    position: relative;
    display: inline-block;
    width: var(--switch-w);
    height: var(--switch-h);
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch__slider {
    position: absolute;
    inset: 0;
    background: var(--border-strong);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition);
}

.switch__slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(var(--switch-h) - 4px);
    height: calc(var(--switch-h) - 4px);
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: var(--shadow-sm);
}

.switch input:checked + .switch__slider {
    background: var(--primary);
}

.switch input:checked + .switch__slider::before {
    transform: translateX(calc(var(--switch-w) - var(--switch-h)));
}

.switch input:focus-visible + .switch__slider {
    box-shadow: var(--shadow-focus);
}

[data-theme="dark"] .switch input:checked + .switch__slider {
    background: var(--accent);
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
    border: 0;
}

.divider--vertical {
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0 16px;
}

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

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.touch-target {
    min-width: 44px;
    min-height: 44px;
}

@media (forced-colors: active) {
    .btn, .modal, .toast, .table-wrapper, .feature-card, .glass-card {
        border: 1px solid CanvasText;
    }

    .btn:focus-visible,
    a:focus-visible,
    input:focus-visible {
        outline: 2px solid Highlight;
        outline-offset: 2px;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #6366F1 15%,
        #A855F7 40%,
        #EC4899 60%,
        #A855F7 80%,
        transparent 100%);
    z-index: 99999;
    pointer-events: none;
    opacity: 0.95;
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.55));
}

.navbar.scrolled {

    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    padding: 14px 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar.scrolled .navbar-container {
    max-width: 980px !important;
    margin: 0 auto;
    padding: 10px 20px !important;
    background: rgba(14, 11, 31, 0.78);
    backdrop-filter: blur(32px) saturate(1.8);
    -webkit-backdrop-filter: blur(32px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.20);
    transition: max-width 0.4s var(--ease-out), padding 0.3s var(--ease-out), border-radius 0.3s var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transition: transform var(--transition-slow);
}

.nav-link.active::after {
    content: '';
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(0.6);
    opacity: 0.5;
}

@media (max-width: 960px) {

    .navbar.scrolled .navbar-container {
        max-width: none;
        padding: 10px 24px;
        border-radius: 0;
        border: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-link:hover::after { transform: translateX(-50%) scaleX(0); }
}

.navbar-logo-img {
    transition: height var(--transition-slow);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,1), transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,1), transparent 85%);
    pointer-events: none;
    animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 56px 56px, 56px 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero::after { animation: none; }
}

.hero-glow-1 {
    width: 720px !important;
    height: 720px !important;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.75), transparent 70%) !important;
    opacity: 0.85;
    filter: blur(120px);
    top: -15%;
    left: -10%;
}

.hero-glow-2 {
    width: 620px !important;
    height: 620px !important;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.55), transparent 70%) !important;
    opacity: 0.65;
    filter: blur(100px);
    bottom: -15%;
    right: -10%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.10), transparent 65%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: hero-center-pulse 8s ease-in-out infinite;
}

@keyframes hero-center-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before { animation: none; }
}

.hero-badge {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 14px 6px 10px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.hero-badge-dot {
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18);
}

.hero-title {
    letter-spacing: -2.5px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .hero-title { letter-spacing: -1.5px; }
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    max-width: 620px;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 28px;
    height: 44px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: start center;
    padding-top: 8px;
    opacity: 0.7;
    transition: opacity var(--transition);
    pointer-events: none;
}

.hero-scroll-cue::after {
    content: '';
    width: 3px;
    height: 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.55);
    animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%      { transform: translateY(14px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-cue::after { animation: none; }
}

@media (max-width: 768px) {
    .hero-scroll-cue { display: none; }
}

.tech-pill {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.76rem;
    padding: 5px 14px;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.tech-pill:hover {
    background: rgba(var(--accent-rgb), 0.10);
    border-color: rgba(var(--accent-rgb), 0.30);
    color: var(--accent-light);
    transform: translateY(-1px);
}

.btn {
    border-width: 1px;
    letter-spacing: -0.1px;
    transition: transform var(--transition-fast),
                background var(--transition-fast),
                border-color var(--transition-fast),
                box-shadow var(--transition),
                color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, white 12%) 0%, var(--primary) 100%);
    border-color: var(--primary);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10) inset,
        0 1px 2px rgba(30, 27, 75, 0.20);
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-dark);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.14) inset,
        0 8px 20px rgba(30, 27, 75, 0.28);
    transform: translateY(-1px);
}

.btn-cta {
    background: linear-gradient(180deg, #D8B4FE 0%, #A855F7 100%) !important;
    border-color: #A855F7 !important;
    color: #FFFFFF !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 4px 12px rgba(168, 85, 247, 0.30),
        0 0 0 1px rgba(168, 85, 247, 0.20) !important;
    font-weight: 700;
}

.btn-cta:hover {
    background: linear-gradient(180deg, #FBE4A8 0%, #C084FC 100%) !important;
    border-color: #D8B4FE !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 16px 40px rgba(168, 85, 247, 0.60),
        0 0 0 2px rgba(168, 85, 247, 0.35),
        0 0 60px rgba(168, 85, 247, 0.40) !important;
    transform: translateY(-2px) !important;
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
    color: var(--navy-900);
    border-color: #FFFFFF;
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.30) inset,
        0 8px 24px rgba(255, 255, 255, 0.10);
}

.btn-outline {
    border-width: 1px;
}

[data-theme="light"] .btn-outline {
    border-color: var(--navy-200);
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

[data-theme="light"] .btn-outline:hover {
    background: var(--navy-50);
    border-color: var(--navy-300);
    color: var(--navy-900);
}

.btn .btn-arrow {
    transition: transform var(--transition);
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

.glass-card,
.feature-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.glass-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(var(--accent-rgb), 0.10) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: -1;
}

.glass-card:hover::before,
.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.50) !important;
    transform: translateY(-6px) !important;
    box-shadow:
        0 1px 0 rgba(168, 85, 247, 0.15) inset,
        0 24px 60px rgba(30, 27, 75, 0.18),
        0 8px 16px rgba(168, 85, 247, 0.15) !important;
}

.glass-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(168, 85, 247, 0.40) !important;
    box-shadow:
        0 1px 0 rgba(168, 85, 247, 0.20) inset,
        0 24px 60px rgba(30, 27, 75, 0.15),
        0 8px 20px rgba(168, 85, 247, 0.18) !important;
}

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .glass-card:hover {
    border-color: rgba(168, 85, 247, 0.55) !important;
    box-shadow:
        0 1px 0 rgba(168, 85, 247, 0.20) inset,
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 8px 20px rgba(168, 85, 247, 0.20) !important;
}

.glass-card::before,
.feature-card::before {
    background: radial-gradient(
        ellipse 80% 60% at 50% 0%,
        rgba(168, 85, 247, 0.18) 0%,
        rgba(168, 85, 247, 0.05) 30%,
        transparent 60%
    ) !important;
}

.feature-card .icon,
.card-icon,
.sector-card .sector-icon,
.contact-icon {
    transition: transform var(--transition-slow), background var(--transition);
    will-change: transform;
}

.feature-card:hover .icon,
.glass-card:hover .card-icon,
.sector-card:hover .sector-icon,
.contact-item:hover .contact-icon {
    transform: scale(1.08) rotate(-3deg);
}

a.feature-card .arrow,
a.feature-card-link .arrow,
.feature-card--link::after {
    transition: transform var(--transition);
}

a.feature-card:hover .arrow,
a.feature-card-link:hover .arrow {
    transform: translateX(4px);
}

.section-divider {
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
    margin: 0;
}

[data-theme="dark"] .section-divider {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.10) 50%, transparent 100%);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 14px;
    padding: 4px 12px;
    border: 1px solid rgba(var(--accent-rgb), 0.20);
    border-radius: var(--radius-full);
    background: rgba(var(--accent-rgb), 0.05);
}

[data-theme="dark"] .eyebrow {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    border-color: rgba(var(--accent-rgb), 0.18);
}

.section-title {
    letter-spacing: -1.5px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.65;
}

.footer {
    padding: 80px 0 24px;
    background: linear-gradient(180deg, var(--dark-bg-2) 0%, var(--dark-bg) 100%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), 0.30) 50%, transparent 100%);
}

.footer-grid {
    margin-bottom: 56px;
}

.footer-desc {
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 16px;
}

.footer-contact {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}
.footer-contact svg {
    flex-shrink: 0;
    opacity: 0.7;
}
.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.footer-contact a:hover {
    color: var(--accent);
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
}

.footer-links a {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
    will-change: transform;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(12px);
}

.footer-links a:hover::before {
    width: 8px;
}

.footer-bottom {
    margin-top: 0;
    padding-top: 28px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

.social-link {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: rgba(var(--accent-rgb), 0.30);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.20);
}

.marquee-section::before,
.marquee-section::after {
    width: 140px;
}

.scroll-top {
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    background: rgba(30, 27, 75, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 24px rgba(30, 27, 75, 0.35);
}

.scroll-top:hover {
    background: var(--navy-900);
    border-color: rgba(var(--accent-rgb), 0.40);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 27, 75, 0.45);
}

.whatsapp-float {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35), 0 0 0 1px rgba(37, 211, 102, 0.20);
}

.whatsapp-float:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.50), 0 0 0 1px rgba(37, 211, 102, 0.30);
}

::selection {
    background: rgba(var(--accent-rgb), 0.30);
    color: var(--navy-900);
    text-shadow: none;
}

[data-theme="dark"] ::selection {
    background: rgba(var(--accent-rgb), 0.40);
    color: #FFFFFF;
}

.section-light a:not(.btn):not(.nav-link):not(.tech-pill):not(.footer-links a):not(.card-link),
.section-gray a:not(.btn):not(.nav-link):not(.tech-pill):not(.card-link) {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size var(--transition);
}

.section-light a:not(.btn):not(.nav-link):not(.tech-pill):not(.card-link):hover,
.section-gray a:not(.btn):not(.nav-link):not(.tech-pill):not(.card-link):hover {
    background-size: 100% 1px;
}
