/* Base styles inspired by hyperbolic.xyz */
:root {
    --background-color: #000000;
    --text-color: #ffffff;
    --accent-color: #3b82f6;
    --secondary-color: #10b981;
    --card-bg-color: #111111;
    --border-color: #333333;
    --hover-color: #1e40af;
    --transition-speed: 0.3s;
}

/* Agregamos las variables para el tema claro */
[data-theme="light"] {
    --background-color: #ffffff;
    --text-color: #000000;
    --card-bg-color: #f5f5f5;
    --border-color: #dddddd;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
header, main, footer {
    width: 100%;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: auto;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
}

/* Estilos para el botón de tema */
.theme-toggle {
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
}

.theme-toggle:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding-top: 2rem;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 500px;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    border-radius: 10px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: white;
}

.cta-button.primary:hover {
    background-color: var(--hover-color);
}

.cta-button.secondary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.cta-button.secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

/* Features Section */
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
}

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

.feature-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 2rem;
    transition: transform var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

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

.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    font-weight: 500;
}

.feature-link:hover {
    text-decoration: underline;
}

/* Solutions Section */
.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.solution-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all var(--transition-speed) ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.solution-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.solution-link:hover {
    text-decoration: underline;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    flex: 1;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.submit-button:hover {
    background-color: var(--hover-color);
}

/* Footer */
footer {
    background-color: var(--card-bg-color);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .nav-links {
        display: none; /* For simplicity, would need JavaScript for mobile menu */
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .feature-card, .solution-card {
    animation: fadeIn 0.8s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

.small-logo {
    height: 60px; /* Ajusta según sea necesario */
    width: auto; /* Mantiene la proporción */
    border:none;
}

.line1 {
    animation: typing 1s linear forwards;
  }
  .line2 {
    animation: typing 1s linear forwards;
    animation-delay: 1s;
  }
  .line3 {
    animation: typing 1s linear forwards;
    animation-delay: 2s;
  }