/* Variables and Reset */
:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(16, 23, 40, 0.6);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #00f0ff;
    --accent-hover: #00c3cf;
    --accent-secondary: #3b82f6;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

span.highlight {
    color: var(--accent);
}

.text-accent {
    color: var(--accent);
}

.opacity-70 {
    opacity: 0.7;
}

.text-sm {
    font-size: 0.875rem;
}

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

.mt-4 {
    margin-top: 1rem;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary-outline {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--accent);
    transition: all 0.3s ease;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-stats .stat i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Section Title */
.section-title {
    margin-bottom: 4rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-title.text-center p {
    margin: 0 auto;
}

.section-title h2 span {
    color: var(--accent);
}

/* Features Grid (Proyecto) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(0, 240, 255, 0.3);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card .icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Points Grid */
.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.point-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.point-card:hover::before {
    opacity: 1;
}

.point-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.point-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.point-card h3 {
    font-size: 1.4rem;
}

.point-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.point-tech {
    list-style: none;
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.point-tech li {
    margin-bottom: 0.5rem;
}

/* Technology Section */
.tech-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s ease;
}

.tech-item:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.tech-qty {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.tech-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tech-info p {
    color: var(--text-muted);
}

/* AI Section */
.ai-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.85);
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

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

.ai-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.ai-card:hover {
    transform: translateY(-5px);
}

.ai-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.ai-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.ai-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Architecture Section */
.arch-content {
    align-items: center;
    padding: 3rem;
    gap: 4rem;
}

.arch-img {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.arch-text {
    flex: 1;
    min-width: 300px;
}

.arch-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.arch-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.arch-list {
    list-style: none;
}

.arch-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.arch-list li i {
    margin-top: 0.3rem;
}

/* Budget Section */
.budget-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
}

.budget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.1rem;
}

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

.budget-row.total {
    font-size: 1.5rem;
    font-weight: 700;
}

.budget-row.total .text-accent {
    font-size: 2rem;
}

/* Footer */
.footer {
    background: #05070a;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--accent);
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; /* simple mobile hide for now */
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arch-content {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }
    
    .budget-card {
        padding: 2rem;
    }
}
