:root {
    --primary-color: #9ca733;
    --primary-dark: #7d8629;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
}

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

/* Navigation */
.navbar {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a.nav-highlight {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(156, 167, 51, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a.nav-highlight:hover {
    background: var(--primary-color);
    color: white;
}

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

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

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.btn-nav::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #9ca733 0%, #7d8629 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

/* Hero Layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-main {
    max-width: 640px;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    margin-bottom: 1.25rem;
}

.hero-brand {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-tagline {
    display: block;
    font-size: 1.75rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    opacity: 0.85;
}

.trust-item svg {
    opacity: 0.9;
}

.hero-developer {
    font-size: 0.85rem;
    opacity: 0.7;
}

.hero-developer a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-developer a:hover {
    opacity: 0.8;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Hero Demo Section */
.hero-demo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-demo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
}

.hero-demo-link:hover {
    transform: translateY(-10px) scale(1.02);
}

.hero-demo-wrapper {
    position: relative;
    padding: 20px;
}

.hero-demo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-phone-frame {
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 36px;
    padding: 8px;
    position: relative;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: #0a0a0a;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 2rem 0.5rem 0.6rem;
    background: rgba(156, 167, 51, 0.12);
}

.screen-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.screen-header span {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.screen-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    gap: 0.5rem;
}

.gps-btn-wrapper {
    position: relative;
    margin: 0.5rem 0;
}

.gps-btn {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    animation: gps-pulse 2s ease-in-out infinite;
}

@keyframes gps-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(156, 167, 51, 0.6); }
    50% { box-shadow: 0 0 0 12px rgba(156, 167, 51, 0); }
}

.screen-hint {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.screen-data {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 0.6rem;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.data-cell {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-bottom: 0.3rem;
}

.data-cell:last-child {
    margin-bottom: 0;
}

.data-label {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.45);
}

.data-val {
    font-size: 0.7rem;
    color: white;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.data-val.small {
    font-family: inherit;
    font-size: 0.65rem;
}

/* Hero Demo CTA */
.hero-demo-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    gap: 0.25rem;
}

.demo-cta-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
}

.hero-demo-link:hover .demo-cta-text {
    background: white;
    color: var(--primary-dark);
    border-color: white;
}

.demo-cta-text svg {
    animation: spin-slow 4s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.demo-cta-sub {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .hero-main {
        max-width: 600px;
        margin: 0 auto;
        order: 2;
    }
    
    .hero-demo {
        order: 1;
    }
    
    .hero-badge-top {
        margin: 0 auto 1.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-brand {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-brand {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-phone-frame {
        width: 180px;
        height: 360px;
    }
    
    .hero-demo-wrapper::before {
        width: 220px;
        height: 220px;
    }
    
    .gps-btn {
        width: 56px;
        height: 56px;
    }
    
    .gps-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Compliance Section */
.compliance {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.compliance h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.compliance > .container > .compliance-content > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

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

.compliance-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compliance-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.compliance-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-icon svg {
    width: 100%;
    height: 100%;
}

.compliance-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.compliance-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Demo GPS Section */
.demo-gps {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2744 100%);
    position: relative;
    overflow: hidden;
}

.demo-gps::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(156, 167, 51, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.demo-text {
    color: white;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(156, 167, 51, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(156, 167, 51, 0.3);
}

.demo-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.demo-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.demo-features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.demo-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.demo-features-list li:last-child {
    border-bottom: none;
}

.demo-features-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.btn-gps {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(156, 167, 51, 0.4);
}

.btn-gps:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(156, 167, 51, 0.5);
}

.btn-gps svg {
    animation: pulse-gps 2s ease-in-out infinite;
}

@keyframes pulse-gps {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.demo-hint {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.5rem;
}

/* Phone Mockup */
.demo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px #333,
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #0a0a0a;
    border-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.5rem 1rem 1rem;
    background: rgba(156, 167, 51, 0.1);
}

.phone-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.phone-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.phone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}

.gps-pulse {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    animation: gps-pulse-animation 2s ease-in-out infinite;
}

.gps-pulse svg {
    color: white;
}

@keyframes gps-pulse-animation {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(156, 167, 51, 0.7);
    }
    50% { 
        box-shadow: 0 0 0 20px rgba(156, 167, 51, 0);
    }
}

.phone-action {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.phone-result {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.phone-result .result-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.phone-result .result-item.full {
    grid-column: 1 / -1;
}

.phone-result .label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.phone-result .value {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.phone-result .value.small {
    font-family: inherit;
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .demo-text h2 {
        font-size: 2.25rem;
    }

    .demo-features-list {
        text-align: left;
    }

    .demo-buttons {
        align-items: center;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }
}

@media (max-width: 768px) {
    .demo-gps {
        padding: 4rem 0;
    }

    .demo-text h2 {
        font-size: 1.875rem;
    }

    .demo-description {
        font-size: 1rem;
    }

    .btn-gps {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .gps-pulse {
        width: 80px;
        height: 80px;
    }

    .gps-pulse svg {
        width: 40px;
        height: 40px;
    }
}

/* Funcionalidades Section */
.funcionalidades {
    padding: 5rem 0;
}

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

.funcionalidad-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.funcionalidad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.funcionalidad-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.funcionalidad-icon svg {
    width: 100%;
    height: 100%;
}

.funcionalidad-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.funcionalidad-card ul {
    list-style: none;
}

.funcionalidad-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.funcionalidad-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Características Section */
.caracteristicas {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.caracteristica-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.caracteristica-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    min-width: 80px;
    line-height: 1;
}

.caracteristica-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.caracteristica-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Precios Section */
.precios {
    padding: 5rem 0;
}

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

.precio-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.precio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.precio-badge {
    position: absolute;
    top: -15px;
    right: 2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.precio-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.precio-amount {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.precio-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.precio-periodo {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.precio-total {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.precio-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.precio-features li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-weight: 500;
}

.precio-info {
    max-width: 900px;
    margin: 0 auto;
}

.info-box {
    background: linear-gradient(135deg, #f0f4e8 0%, #e8f0dc 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid #9ca733;
}

.info-box h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.info-box h4 svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-size: 1.125rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.info-note {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Contacto Section */
.contacto {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.contacto-content {
    max-width: 700px;
    margin: 0 auto;
}

.contacto-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    line-height: 1.6;
    color: var(--text-primary);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-dark);
}

/* Estilos de Error */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Mensajes del Formulario */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner de Carga */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Botón Disabled */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Popup de Agradecimiento */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

.thank-you-popup {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .thank-you-popup {
    transform: scale(1) translateY(0);
}

.popup-content {
    padding: 3rem 2.5rem;
    text-align: center;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4e8;
    border-radius: 50%;
}

.popup-icon svg {
    width: 48px;
    height: 48px;
}

.popup-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.popup-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-popup-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-popup-close:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 167, 51, 0.4);
}

.btn-popup-close:active {
    transform: translateY(0);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(156, 167, 51, 0.05);
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1rem 0 1rem 1.5rem;
    padding-left: 0;
    list-style-position: outside;
}

.faq-answer ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.faq-answer ul li:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--primary-dark);
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Legal Page Styles */
.legal-page {
    padding: 6rem 0 4rem;
    min-height: 80vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo-footer {
    height: 60px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* DAVINCHI Brand */
.davinchi-brand {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.davinchi-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.davinchi-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.davinchi-link:hover {
    opacity: 0.8;
}

.davinchi-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.davinchi-logo-img {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.davinchi-link:hover .davinchi-logo-img {
    opacity: 0.9;
}

.hero-developer {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.davinchi-link-hero {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.davinchi-link-hero:hover {
    text-decoration-color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-brand .logo {
        height: 40px;
        max-width: 200px;
    }

    .compliance h2,
    .section-header h2 {
        font-size: 2rem;
    }

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

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

    .caracteristica-item {
        flex-direction: column;
        gap: 1rem;
    }

    .caracteristica-number {
        min-width: auto;
    }

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

    .contacto-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-brand .logo {
        height: 35px;
        max-width: 180px;
    }

    .footer-brand .logo-footer {
        height: 50px;
        max-width: 240px;
    }

    .container {
        padding: 0 15px;
    }

    .funcionalidad-card,
    .compliance-item {
        padding: 1.5rem;
    }
}

