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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --accent-color: #a800ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050812;
    --light-bg: #1a1f3a;
    --text-dark: #e0e6ff;
    --text-light: #a0a9c9;
    --text-light2: #ededf8;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(0, 212, 255, 0.1);
    --hover-color: #00ffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --primary-color: #0090c2;
    --secondary-color: #d6005a;
    --accent-color: #7a00cc;
    --dark-bg: #eef1fa;
    --darker-bg: #ffffff;
    --light-bg: #e4e9f7;
    --text-dark: #1a1f3a;
    --text-light: #4a5170;
    --text-light2: #ededf8;
    --card-bg: rgba(0, 20, 60, 0.04);
    --border-color: rgba(0, 144, 194, 0.18);
    --hover-color: #00b8d9;
}

[data-theme="light"] body {
    background: linear-gradient(135deg, #ffffff 0%, #eef2fb 50%, #f6ecfb 100%);
}

[data-theme="light"] body::before {
    background: radial-gradient(circle at 20% 50%, rgba(0, 144, 194, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(214, 0, 90, 0.06) 0%, transparent 50%);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1a0a2e 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* ============ HEADER & NAVBAR ============ */
.header {
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 32px rgba(0, 144, 194, 0.1);
}

.navbar {
    padding: 1.2rem 0;
}

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

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cat-stage {
    position: relative;
    width: 240px;
    height: 64px;
    flex-shrink: 0;
    overflow: visible;
    pointer-events: none;
}

.cat-sprite {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    z-index: 5;
    will-change: left, background-position;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.cat-sprite.state-idle {
    background-image: url('assets/sprites/cat-idle.png');
    background-size: 256px 64px;
    animation: catFrames4 1s steps(4) infinite;
}

.cat-sprite.state-sleep {
    background-image: url('assets/sprites/cat-sleep.png');
    background-size: 256px 64px;
    animation: catFrames4 2.4s steps(4) infinite;
}

.cat-sprite.state-groom {
    background-image: url('assets/sprites/cat-groom.png');
    background-size: 256px 64px;
    animation: catFrames4 1.4s steps(4) infinite;
}

.cat-sprite.state-stretch {
    background-image: url('assets/sprites/cat-stretch.png');
    background-size: 256px 64px;
    animation: catFrames4 1.2s steps(4) infinite;
}

.cat-sprite.state-walk {
    background-image: url('assets/sprites/cat-walk.png');
    background-size: 512px 64px;
    animation: catFrames8 0.8s steps(8) infinite;
}

.cat-sprite.state-run {
    background-image: url('assets/sprites/cat-run.png');
    background-size: 512px 64px;
    animation: catFrames8 0.45s steps(8) infinite;
}

.cat-sprite.state-pounce {
    background-image: url('assets/sprites/cat-pounce.png');
    background-size: 448px 64px;
    animation: catFrames7 0.7s steps(7) infinite;
}

@keyframes catFrames4 {
    from { background-position: 0 0; }
    to { background-position: -256px 0; }
}

@keyframes catFrames7 {
    from { background-position: 0 0; }
    to { background-position: -448px 0; }
}

@keyframes catFrames8 {
    from { background-position: 0 0; }
    to { background-position: -512px 0; }
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.logo-moon {
    background: none !important;
    -webkit-text-fill-color: unset !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    width: 56px;
    height: 28px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
    overflow: hidden;
}

.theme-toggle::before {
    content: '✦ ✧ ⋆';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.theme-toggle .theme-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e8eefc 0%, #c9d4f0 60%, #aab6dd 100%);
    box-shadow: 0 0 8px rgba(200, 210, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease;
}

[data-theme="light"] .theme-toggle {
    background: linear-gradient(135deg, #8fd9ff 0%, #ffe2a8 100%);
}

[data-theme="light"] .theme-toggle::before {
    opacity: 0;
}

[data-theme="light"] .theme-toggle .theme-toggle-thumb {
    transform: translateX(28px);
    background: radial-gradient(circle at 30% 30%, #fff7d6 0%, #ffd95e 60%, #ffb700 100%);
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.6);
}

.theme-toggle:hover .theme-toggle-thumb {
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

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

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-links a:hover::before {
    width: 100%;
}

/* ============ HERO SECTION ============ */
.hero {
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-color) 100%);
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), inset 0 0 20px rgba(0, 212, 255, 0.1);
    color: var(--hover-color);
}

/* ============ UTILITIES SECTION ============ */
.utilidades {
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Secciones por categoría (glass panel) */
.category-section {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.6rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .category-section {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 30, 60, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .category-title {
    border-bottom-color: rgba(0, 30, 60, 0.1);
}

.section-divider {
    display: flex;
    justify-content: center;
    margin: -0.6rem 0 1.4rem;
}

.section-divider span {
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0.6;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

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

.utility-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 14px;
    padding: 1.6rem 1.4rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.utility-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.35);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 212, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .utility-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    border-color: rgba(255, 255, 255, 0.6);
}

.card-icon {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

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

.card-icon.cat-finanzas svg {
    stroke: var(--primary-color);
    filter: drop-shadow(0 0 9px rgba(0, 212, 255, 0.65));
}

.card-icon.cat-salud svg {
    stroke: #00ffaa;
    filter: drop-shadow(0 0 9px rgba(0, 255, 170, 0.65));
}

.card-icon.cat-herramientas svg {
    stroke: #ff9500;
    filter: drop-shadow(0 0 9px rgba(255, 149, 0, 0.65));
}

.utility-card:hover .card-icon {
    transform: scale(1.08);
}

.utility-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 700;
}

.utility-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 300;
    font-size: 0.88rem;
    min-height: 4.4em;
}

/* ============ FEATURES SECTION ============ */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition);
}

.feature:hover .feature-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 300;
}

/* ============ ABOUT PAGE ============ */
.about-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-bottom: 4rem;
}

.about-card-full {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.4rem 2.2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .about-card-full {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 30, 60, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.about-card-full .about-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.5));
}

.about-card-full h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-card-full p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.about-list {
    list-style: none;
    margin-top: 1rem;
}

.about-list li {
    color: var(--text-light);
    margin-bottom: 0.7rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-list strong {
    color: var(--text-dark);
}

.about-features {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3rem 2.4rem;
    margin-bottom: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .about-features {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 30, 60, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.about-features h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2.4rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem 1.8rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.25);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .feature-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.25));
    border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .feature-card:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.35));
    box-shadow: 0 16px 40px rgba(0, 30, 60, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.feature-card-icon {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.4));
    transition: var(--transition);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.12);
    filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.6));
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
    margin: 0;
}

.about-cta {
    text-align: center;
    padding: 2.4rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .about-cta {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 30, 60, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.about-cta h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about-cta p {
    color: var(--text-light);
    margin-bottom: 1.4rem;
    font-size: 0.95rem;
}

/* ============ FOOTER ============ */
.footer {
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 0 20px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-light2);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light2);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-section a:hover::before {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    padding-top: 1rem;
    font-weight: 300;
}

/* ============ CONTACT FORM ============ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.6rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.contact-form button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.contact-form #formStatus {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    text-align: center;
    min-height: 1.2rem;
}

.contact-form #formStatus.success {
    color: #00ffaa;
}

.contact-form #formStatus.error {
    color: #ff006e;
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    color: #1a1f3a;
}

[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form textarea:focus {
    background: rgba(0, 144, 194, 0.08);
    border-color: #0090c2;
    box-shadow: 0 0 12px rgba(0, 144, 194, 0.2);
}

/* ============ CONTACT PAGE ============ */
.contact-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card,
.contact-info-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.8rem 2.4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .contact-card,
[data-theme="light"] .contact-info-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 30, 60, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-card h2,
.contact-info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-form-large {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-form-large .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-large label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-large input,
.contact-form-large textarea {
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-large input::placeholder,
.contact-form-large textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-form-large input:focus,
.contact-form-large textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.contact-form-large textarea {
    resize: vertical;
    font-family: inherit;
}

.contact-form-large button {
    padding: 1rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.6rem;
}

.contact-form-large #formStatus {
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.4rem;
    padding: 0.6rem;
    border-radius: 8px;
}

.contact-form-large #formStatus.success {
    color: #00ffaa;
    background: rgba(0, 255, 170, 0.1);
}

.contact-form-large #formStatus.error {
    color: #ff006e;
    background: rgba(255, 0, 110, 0.1);
}

[data-theme="light"] .contact-form-large input,
[data-theme="light"] .contact-form-large textarea {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    color: #1a1f3a;
}

[data-theme="light"] .contact-form-large input::placeholder,
[data-theme="light"] .contact-form-large textarea::placeholder {
    color: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .contact-form-large input:focus,
[data-theme="light"] .contact-form-large textarea:focus {
    background: rgba(0, 144, 194, 0.08);
    border-color: #0090c2;
    box-shadow: 0 0 16px rgba(0, 144, 194, 0.25);
}

.info-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.info-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ============ LEGAL PAGES ============ */
.legal-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.8rem 2.4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .legal-content {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 30, 60, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-content ul {
    color: var(--text-light);
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.6rem;
}

.legal-content ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.7;
    font-size: 0.95rem;
}

.legal-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.terms-footer-note {
    margin-top: 3rem;
    padding: 1.4rem 1.6rem;
    background: rgba(0, 212, 255, 0.08);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
}

.terms-footer-note p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .utility-card {
        padding: 1.4rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

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

    .feature-card {
        padding: 1.8rem 1.5rem;
    }

    .feature-card-icon {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card,
    .contact-info-card {
        padding: 2rem 1.6rem;
    }

    .contact-form-large input,
    .contact-form-large textarea {
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
    }

    .contact-form-large button {
        padding: 0.9rem 1.4rem;
        font-size: 0.95rem;
    }

    .info-item {
        gap: 1rem;
        margin-bottom: 1.4rem;
    }

    .info-icon {
        font-size: 1.6rem;
    }

    .info-item h3 {
        font-size: 0.95rem;
    }

    .info-item p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        gap: 0.4rem;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .cat-stage {
        width: 90px;
        height: 40px;
        flex-shrink: 0;
        overflow: visible;
        position: relative;
    }

    .cat-sprite{
        top: -25px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-top: 2px solid var(--primary-color);
        box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
        padding: 0;
    }

    [data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.97);
    }

    .nav-links.active {
        max-height: 300px;
        padding: 1rem 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }

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

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
    }

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

    .nav-links a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .category-section {
        padding: 1.3rem 1.1rem;
        margin-bottom: 1.5rem;
    }

    .category-title {
        font-size: 1rem;
    }

    .utilities-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .utility-card {
        padding: 1.2rem 1rem;
    }

    .utility-card:hover {
        transform: none;
    }

    .card-icon {
        height: 44px;
        margin-bottom: 0.6rem;
    }

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

    .utility-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .utility-card p {
        font-size: 0.78rem;
        margin-bottom: 0.6rem;
        line-height: 1.4;
    }

    .utility-card .btn {
        display: block;
        width: 100%;
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .features-grid {
        gap: 1.2rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    }
}

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

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

.utility-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.utility-card:nth-child(1) { animation-delay: 0.1s; }
.utility-card:nth-child(2) { animation-delay: 0.2s; }
.utility-card:nth-child(3) { animation-delay: 0.3s; }
.utility-card:nth-child(4) { animation-delay: 0.4s; }
.utility-card:nth-child(5) { animation-delay: 0.5s; }
.utility-card:nth-child(6) { animation-delay: 0.6s; }

/* ============ FRASE HUMANITARIA ============ */
.frase-humanitaria {
    text-align: center;
    padding: 1.2rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 1.8rem;
    position: relative;
}


#frase-diaria {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.4px;
    line-height: 1.2;
    color: var(--text-light);
    font-family: 'Palatino Linotype', 'Book Antiqua', 'Palatino', serif;
    font-style: italic;
    background: linear-gradient(135deg, #e8f4ff 0%, #ffffff 50%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    display: inline-block;
}

#frase-diaria::before {
    content: '"';
    margin-right: 0.1rem;
    font-family: Georgia, serif;
    font-size:0.9rem;
    font-style: normal;
    background: linear-gradient(135deg, #e0f2ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#frase-diaria::after {
    content: '"';
    margin-left: 0.1rem;
    font-family: Georgia, serif;
    font-size:0.9rem;
    font-style: normal;
    background: linear-gradient(135deg, #ffffff 0%, #e0f4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
