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

:root {
    --primary: #dcac0c;
    --primary-dark: #b89009;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    width: 150px;
    height: 50px;
    object-fit: cover;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    /* Updated border radius for more modern look */
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    /* Added subtle shadow for depth */
    box-shadow: 0 2px 8px rgba(220, 172, 12, 0.2);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    /* Enhanced shadow on hover */
    box-shadow: 0 4px 12px rgba(220, 172, 12, 0.3);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 2rem;
    padding-top: 3rem;
    text-align: center;
    background: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* About Section */
/* Removed the about section from homepage since it now has its own page */

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;
    /* Changed to transparent background with border */
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Adjusted icon size for Iconoir icons */
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    /* Added color for icons */
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 2rem;
    background: var(--white);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-card {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.screenshot-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Adjusted icon size for Iconoir icons */
    font-size: 3.5rem;
    color: var(--primary);
}

.screenshot-info {
    padding: 1.5rem;
}

.screenshot-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.screenshot-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Plans Section */
.plans {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid #eee;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(220, 172, 12, 0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.plan-description {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.plan-button {
    width: 100%;
    padding: 1rem;
    background: var(--dark);
    color: var(--white);
    border: none;
    /* Updated border radius */
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    /* Added subtle shadow */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.plan-button:hover {
    background: var(--primary);
    /* Enhanced shadow on hover */
    box-shadow: 0 4px 12px rgba(220, 172, 12, 0.3);
}

.plan-card.featured .plan-button {
    background: var(--primary);
    /* Enhanced shadow for featured plan */
    box-shadow: 0 2px 8px rgba(220, 172, 12, 0.2);
}

.plan-card.featured .plan-button:hover {
    background: var(--primary-dark);
    /* Enhanced shadow on hover */
    box-shadow: 0 4px 12px rgba(220, 172, 12, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: var(--dark);
    text-align: center;
    color: var(--white);
}

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

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }
}

/*------------------------------- CONTACT -------------------------------*/
/* Contact Section */
.contact-section {
    margin-top: 80px;
    padding: 6rem 2rem;
    background: var(--white);
    min-height: calc(100vh - 80px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 172, 12, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.contact-info {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

/*-------------------------- HISTORIA ---------------------------- */
/* Story Section */
.story {
    padding: 4rem 2rem;
    background: var(--white);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-block {
    margin-bottom: 4rem;
}

.story-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-block h2:before {
    content: "";
    width: 5px;
    height: 40px;
    background: var(--primary);
    border-radius: 3px;
}

.story-block p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.story-block ul {
    list-style: none;
    margin-top: 1.5rem;
}

.story-block ul li {
    color: var(--gray);
    font-size: 1.05rem;
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.story-block ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.highlight-box {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: 3rem 0;
}

.highlight-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.highlight-box p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.value-card i {
    color: var(--primary);
    font-size: 2.5em;
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: var(--dark);
    text-align: center;
    color: var(--white);
}

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

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: var(--primary);
    color: var(--dark);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/*-------------------------- ANIMACIONES --------------------------*/
/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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