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

:root {
    /* TimeLock Brand Colors - Enhanced */
    --app-bg-primary: #0A0E1A;
    --app-bg-secondary: #121826;
    --app-bg-tertiary: #1A2332;
    --app-bg-card: #141B2A;
    
    --app-text-primary: #F8FAFC;
    --app-text-secondary: #94A3B8;
    --app-text-tertiary: #64748B;
    
    --app-brand-primary: #4B6FA7;
    --app-brand-secondary: #5a7fbd;
    --app-brand-light: #7FD3FF;
    --app-brand-accent: #22D3EE;
    
    /* New accent colors */
    --accent-purple: #8B5CF6;
    --accent-cyan: #06B6D4;
    --accent-green: #10B981;
    --accent-orange: #F59E0B;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --spacing-4xl: 8rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--app-bg-primary);
    color: var(--app-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navbar - Mejorado */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-img {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--app-brand-primary), var(--app-brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

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

.nav-links a:not(.nav-github)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--app-brand-primary), var(--app-brand-light));
    transition: width 0.3s ease;
}

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

.nav-links a:not(.nav-github):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 var(--spacing-3xl);
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(75, 111, 167, 0.12) 0%, transparent 65%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(75, 111, 167, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(75, 111, 167, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, black, transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 1rem;
    background: rgba(75, 111, 167, 0.1);
    border: 1px solid rgba(75, 111, 167, 0.25);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    animation: slideUp 0.6s ease-out both;
}

.badge-icon {
    width: 15px;
    height: 15px;
    color: var(--app-brand-light);
    flex-shrink: 0;
}

.hero-badge span {
    font-size: 0.85rem;
    color: var(--app-text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: slideUp 0.7s ease-out 0.15s both;
}

.highlight-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--app-brand-primary), var(--app-brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.15em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--app-text-secondary);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.8;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: 2.5rem;
    animation: slideUp 0.9s ease-out 0.45s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--app-brand-primary), var(--app-brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--app-text-tertiary);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 1s ease-out 0.6s both;
}

.btn-download {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--app-brand-primary), var(--app-brand-secondary));
    border-radius: var(--radius-md);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(75, 111, 167, 0.4);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-download:hover .btn-glow {
    transform: translateX(100%);
}

.download-icon {
    width: 28px;
    height: 28px;
    color: white;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.btn-text {
    font-size: 1.125rem;
    color: white;
    font-weight: 700;
}

.btn-secondary-new {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1.25rem 2rem;
    background: rgba(75, 111, 167, 0.1);
    border: 1px solid rgba(75, 111, 167, 0.2);
    border-radius: var(--radius-md);
    color: var(--app-text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-new:hover {
    background: rgba(75, 111, 167, 0.2);
    border-color: rgba(75, 111, 167, 0.4);
    transform: translateY(-2px);
}

.btn-secondary-new .arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-secondary-new:hover .arrow-icon {
    transform: translateX(4px);
}

/* Hero Phone */
.hero-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-float {
    animation: floatPhone 5s ease-in-out infinite;
}

.phone-device {
    position: relative;
    width: 290px;
    height: 590px;
    background: linear-gradient(145deg, #1c2840 0%, #0d1117 100%);
    border-radius: 48px;
    padding: 14px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 40px 80px -10px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(75, 111, 167, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 32px;
    background: #0A0E1A;
    border-radius: 0 0 24px 24px;
    z-index: 10;
    box-shadow: 
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.phone-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    background: linear-gradient(145deg, 
        rgba(26, 35, 50, 0.9) 0%, 
        rgba(13, 17, 23, 0.9) 100%);
    border-radius: 36px;
    overflow: hidden;
    padding: var(--spacing-xl);
}

.phone-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(75, 111, 167, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(127, 211, 255, 0.1) 0%, transparent 50%);
}

.lock-icon {
    width: 80px;
    height: 80px;
    color: var(--app-brand-primary);
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(75, 111, 167, 0.3));
    position: relative;
    z-index: 1;
}

.time-display {
    font-size: 4rem;
    font-weight: 800;
    color: var(--app-text-primary);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(75, 111, 167, 0.3);
}

.metrics-preview {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.metric-bar {
    width: 12px;
    border-radius: var(--radius-full);
    background: linear-gradient(to top, 
        var(--app-brand-primary) 0%, 
        var(--app-brand-light) 100%);
    box-shadow: 
        0 4px 12px rgba(75, 111, 167, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    animation: pulseBar 2s ease-in-out infinite;
}

.metric-bar:nth-child(1) {
    height: 70px;
    animation-delay: 0s;
}

.metric-bar:nth-child(2) {
    height: 100px;
    animation-delay: 0.3s;
}

.metric-bar:nth-child(3) {
    height: 50px;
    animation-delay: 0.6s;
}

.phone-shadow {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4), transparent);
    filter: blur(30px);
}

/* Benefits Section - Diseño asimétrico único */
.benefits-new {
    padding: var(--spacing-4xl) 0;
    background: var(--app-bg-primary);
}

.section-intro {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(75, 111, 167, 0.1);
    border: 1px solid rgba(75, 111, 167, 0.2);
    border-radius: var(--radius-full);
    color: var(--app-brand-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--app-text-primary);
}

.section-title-new {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.benefits-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.benefit-large {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(75, 111, 167, 0.05), rgba(127, 211, 255, 0.05));
    border: 1px solid rgba(75, 111, 167, 0.2);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
}

.benefit-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(75, 111, 167, 0.2);
    border-color: rgba(75, 111, 167, 0.4);
}

.benefit-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 111, 167, 0.2), transparent);
}

.visual-circle.pulse {
    animation: pulseSlow 3s ease-in-out infinite;
}

.visual-icon {
    width: 100px;
    height: 100px;
    color: var(--app-brand-primary);
    position: relative;
    z-index: 1;
}

.benefit-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.benefit-info p {
    color: var(--app-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.benefit-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--app-text-secondary);
    font-size: 0.95rem;
}

.benefit-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(75, 111, 167, 0.2);
    border-radius: 50%;
    color: var(--app-brand-light);
    font-weight: 700;
    flex-shrink: 0;
}

.benefits-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-compact {
    padding: var(--spacing-lg);
    background: rgba(20, 27, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.benefit-compact:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(20, 27, 42, 0.8);
}

.compact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.compact-icon svg {
    width: 26px;
    height: 26px;
}

.compact-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
}

.compact-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.compact-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.compact-icon.orange {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-orange);
}

.benefit-compact h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.benefit-compact p {
    color: var(--app-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Section - Timeline vertical único */
.features-new {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(180deg, var(--app-bg-primary) 0%, var(--app-bg-secondary) 100%);
}

.features-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.features-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(75, 111, 167, 0.3), transparent);
}

.feature-timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: var(--spacing-3xl);
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--app-bg-primary);
    border: 3px solid var(--app-brand-primary);
    box-shadow: 0 0 0 4px rgba(75, 111, 167, 0.1);
    transition: all 0.3s ease;
}

.feature-timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(75, 111, 167, 0.2);
}

.feature-timeline-item[data-color="blue"] .timeline-marker {
    border-color: var(--app-brand-primary);
}

.feature-timeline-item[data-color="purple"] .timeline-marker {
    border-color: var(--accent-purple);
}

.feature-timeline-item[data-color="cyan"] .timeline-marker {
    border-color: var(--accent-cyan);
}

.feature-timeline-item[data-color="green"] .timeline-marker {
    border-color: var(--accent-green);
}

.feature-timeline-item[data-color="orange"] .timeline-marker {
    border-color: var(--accent-orange);
}

.timeline-content {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(20, 27, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(20, 27, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.timeline-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 111, 167, 0.1);
    border-radius: var(--radius-md);
}

.timeline-icon svg {
    width: 30px;
    height: 30px;
    color: var(--app-brand-primary);
}

.timeline-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-info p {
    color: var(--app-text-secondary);
    line-height: 1.7;
}

/* Prototype Section - Card grande con patrón */
/* ─── Demo Section ───────────────────────────────────────────────────── */

.demo-section {
    padding: var(--spacing-4xl) 0;
    background: var(--app-bg-secondary);
}

.section-subtitle {
    color: var(--app-text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.demo-card {
    margin-top: var(--spacing-3xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

/* Browser mockup */
.demo-browser {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    color: var(--app-text-secondary);
    overflow: hidden;
}

.browser-url svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.6;
}

.browser-url span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-preview {
    position: relative;
    background: linear-gradient(160deg, #0d1929 0%, #0f172a 100%);
    padding: 2rem 1.5rem 1.5rem;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(75, 111, 167, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

/* Mini phone mockups inside the preview */
.demo-phones {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.demo-phone {
    background: linear-gradient(160deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.demo-phone-1 { width: 90px; height: 175px; }
.demo-phone-2 { width: 90px; height: 195px; transform: translateY(-10px); }
.demo-phone-3 { width: 90px; height: 165px; }

.dp-notch {
    width: 30px;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 0 0 4px 4px;
    margin: 6px auto 8px;
}

.dp-screen {
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.dp-header {
    height: 8px;
    background: rgba(75, 111, 167, 0.5);
    border-radius: 4px;
}

.dp-chart {
    height: 40px;
    background: linear-gradient(to right,
        rgba(75,111,167,0.3) 0%, rgba(75,111,167,0.6) 20%,
        rgba(75,111,167,0.2) 40%, rgba(75,111,167,0.7) 60%,
        rgba(75,111,167,0.4) 80%, rgba(75,111,167,0.5) 100%);
    border-radius: 4px;
}

.dp-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid rgba(75, 111, 167, 0.6);
    margin: 4px auto;
}

.dp-row {
    height: 7px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
}

.dp-row.short {
    width: 60%;
}

/* Demo info column */
.demo-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.demo-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.demo-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--app-text-secondary);
    font-size: 0.95rem;
}

.demo-features-list li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.75rem;
    background: linear-gradient(135deg, var(--app-brand-primary), var(--app-brand-light));
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(75, 111, 167, 0.4);
}

.btn-demo svg:first-child {
    width: 18px;
    height: 18px;
}

.demo-note {
    font-size: 0.8rem;
    color: var(--app-text-muted, rgba(148, 163, 184, 0.6));
    line-height: 1.6;
    margin: 0;
}

/* ─── Open Source Section ────────────────────────────────────────────── */

.opensource-section {
    padding: var(--spacing-4xl) 0;
    background: var(--app-bg-primary);
}

.opensource-card {
    position: relative;
    padding: var(--spacing-3xl);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.opensource-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(75, 111, 167, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 90% 30%, rgba(127, 211, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.opensource-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-3xl);
    align-items: center;
}

.opensource-text .section-tag {
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.opensource-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--app-text-primary);
}

.opensource-text p {
    color: var(--app-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    max-width: 520px;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.875rem 1.75rem;
    background: #ffffff;
    color: #0A0E1A;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.btn-github:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.15);
    background: #f0f0f0;
}

.github-icon-btn {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.external-icon {
    width: 18px;
    height: 18px;
    margin-left: 4px;
    opacity: 0.6;
}

.opensource-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.os-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--app-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.os-stat svg {
    width: 16px;
    height: 16px;
    color: var(--accent-blue);
    flex-shrink: 0;
}

/* ─── Navbar GitHub Link ─────────────────────────────────────────────── */

.nav-github {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--app-text-primary) !important;
    text-decoration: none;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.04);
}

.nav-github:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: none;
}

.github-icon-nav {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ─── Footer GitHub Link ─────────────────────────────────────────────── */

.footer-github-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-github-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Footer - Minimalista */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    background: var(--app-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: var(--app-text-secondary);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: var(--spacing-3xl);
}

.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

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

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: var(--app-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--app-brand-primary);
}

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

.footer-made {
    margin-top: var(--spacing-xs);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

@keyframes pulseBar {
    0%, 100% {
        opacity: 0.7;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.15);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 1200px) {
    .hero .container {
        gap: 40px;
    }
    
    .phone-device {
        width: 260px;
        height: 530px;
    }
    
    .time-display {
        font-size: 3rem;
    }
    
    .lock-icon {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 968px) {
    /* Hero: apila contenido arriba, teléfono abajo centrado */
    .hero {
        padding: 90px 0 60px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        justify-items: center;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        max-width: 600px;
    }
    
    .hero-subtitle {
        max-width: 520px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-phone {
        order: 2;
    }
    
    .phone-float {
        animation: floatSimple 4s ease-in-out infinite;
    }
    
    .phone-device {
        width: 280px;
        height: 570px;
    }
    
    .benefit-large {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .benefit-visual {
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }
    
    .benefit-features {
        align-items: center;
    }
    
    .benefits-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: var(--spacing-md);
    }
    
    .demo-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .btn-demo {
        align-self: stretch;
        justify-content: center;
    }

    .opensource-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .opensource-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title-new {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .benefit-large {
        padding: var(--spacing-lg);
    }
    
    .benefit-info h3 {
        font-size: 1.5rem;
    }
    
    .timeline-content {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
    }
    
    .timeline-info h3 {
        font-size: 1.25rem;
    }
    
    .opensource-card {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .opensource-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .nav-links {
        gap: var(--spacing-md);
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero .container {
        gap: 36px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-divider {
        height: 28px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-download,
    .btn-secondary-new {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .btn-content {
        align-items: center;
    }

    .phone-device {
        width: 240px;
        height: 490px;
    }

    .time-display {
        font-size: 2.75rem;
    }

    .lock-icon {
        width: 56px;
        height: 56px;
    }

    .metric-bar {
        width: 10px;
    }

    .metric-bar:nth-child(1) { height: 55px; }
    .metric-bar:nth-child(2) { height: 75px; }
    .metric-bar:nth-child(3) { height: 40px; }

    .benefits-new,
    .features-new,
    .opensource-section {
        padding: 60px 0;
    }

    .benefits-grid-new {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 14px;
    }

    .feature-timeline-item {
        padding-left: 48px;
        margin-bottom: var(--spacing-xl);
    }

    .timeline-marker {
        left: 4px;
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

    .timeline-content {
        flex-direction: column;
        padding: var(--spacing-md);
    }

    .timeline-icon {
        width: 44px;
        height: 44px;
    }

    .timeline-icon svg {
        width: 22px;
        height: 22px;
    }

    .timeline-info h3 {
        font-size: 1.125rem;
    }

    .timeline-info p {
        font-size: 0.9rem;
    }

    .opensource-card {
        padding: var(--spacing-lg);
    }

    .opensource-text h2 {
        font-size: 1.75rem;
    }

    .opensource-text p {
        font-size: 1rem;
    }

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

    .opensource-stats {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .phone-device {
        width: 210px;
        height: 430px;
        padding: 12px;
        border-radius: 40px;
    }

    .phone-notch {
        width: 110px;
        height: 26px;
    }

    .phone-content {
        border-radius: 30px;
        gap: var(--spacing-md);
    }

    .time-display {
        font-size: 2.25rem;
    }

    .lock-icon {
        width: 48px;
        height: 48px;
    }
}

/* Animación simple para móvil */
@keyframes floatSimple {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
