/* Variables Globales y Paleta Premium */
:root {
    --bg-base: #0a0a0c;
    --bg-surface: #121316;
    --bg-surface-elevated: #1a1c23;
    --primary-teal: #00E5FF;
    --primary-teal-dark: #008B99;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --text-pure: #ffffff;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.2;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-teal);
    font-weight: 800;
}

.highlight-text {
    background: linear-gradient(90deg, #ffffff 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 12, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary-teal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-teal);
    color: var(--bg-base);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
    background: var(--text-pure);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-surface-elevated);
    color: var(--text-pure);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-teal);
    background: var(--bg-surface);
}

.btn-outline {
    background: transparent;
    color: var(--primary-teal);
    border: 1px solid var(--primary-teal);
    padding: 10px 24px;
}

.btn-outline:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transform: translate(-30%, -30%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--primary-teal);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 500px;
}

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

/* Hero Graphics */
.hero-graphics {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-teal);
    filter: blur(120px);
    opacity: 0.2;
    border-radius: 50%;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.1; }
    100% { transform: scale(1.1); opacity: 0.3; }
}

.glass-card {
    background: rgba(26, 28, 35, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 2;
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

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

.card-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-body {
    padding: 30px;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.metric-value {
    color: var(--primary-teal);
    font-size: 1.5rem;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal-dark), var(--primary-teal));
    border-radius: 3px;
}

.mt-2 { margin-top: 24px; }

/* Services Section */
.bg-darker {
    background-color: var(--bg-surface);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.service-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 229, 255, 0.2);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

/* CTA */
.cta-box {
    background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-surface));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-teal);
    filter: blur(150px);
    opacity: 0.15;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    gap: 16px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.input-field {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    color: var(--text-pure);
    font-family: inherit;
    font-size: 1rem;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-teal);
}

/* Document / Privacy Pages */
.page-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding-top: 150px;
    padding-bottom: 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.text-document {
    max-width: 800px;
    margin: 0 auto;
}

.text-document h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.text-document p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 600px) {
    .contact-form { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
    .footer-links { justify-content: center; }
    .hero-title { font-size: 2.8rem; }
}
