/* NudefyCO Styles - Colombian Theme */

:root {
    --color-primary: #7D50F7; /* Purple */
    --color-secondary: #F25A5A; /* Red */
    --color-accent: #FF9A3C; /* Orange */
    --color-dark: #333333;
    --color-light: #F9F9F9;
    --color-mid: #777777;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 40px;
}

.logo-path {
    fill: var(--color-primary);
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 22px;
    fill: var(--color-dark);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-dark);
    position: relative;
}

.nav-list a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(135deg, rgba(125, 80, 247, 0.05) 0%, rgba(242, 90, 90, 0.05) 100%);
    border-radius: 0 0 0 70%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    color: var(--color-primary);
    font-size: clamp(2rem, 4vw, 3rem);
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.hero-description {
    margin-bottom: 1.5rem;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    fill: none;
}

.hero-visual {
    flex: 1;
    max-width: 45%;
}

.hero-svg {
    width: 100%;
    height: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(125, 80, 247, 0.3);
}

.cta-button:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(125, 80, 247, 0.4);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.step-icon {
    width: 100px;
    height: 60px;
    margin: 20px auto;
}

.cta-container {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.accordion {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--color-dark);
    font-weight: 600;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    transition: all 0.3s ease;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 300px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background-color: #2a2a2a;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-svg {
    margin-bottom: 15px;
}

.footer-logo-svg .logo-path {
    fill: var(--color-accent);
}

.footer-logo-svg .logo-text {
    fill: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a, .footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: white;
}

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

.disclaimer {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-visual {
        max-width: 80%;
        margin-top: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list li {
        margin: 20px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        grid-column: 1;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
}
