/* ===== ENTREPEDIA MASTER LIBRARY - MOBILE STYLES ===== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-red: #d44848;
    --dark-red: #b73e3e;
    --light-red: #ff6b6b;
    --background: #ffffff;
    --surface: #fafafa;
    --text-primary: #ffffff;
    --text-secondary: #666666;
    --text-muted: #888888;
    --border-light: #e0e0e0;
    --border-dark: #cccccc;
    --success-green: #22c55e;
    --warning-orange: #f59e0b;
    --rating-gold: #fbbf24;
    
    /* Mobile Spacing */
    --space-xs: 6px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 20px;
    --space-xl: 30px;
    --space-2xl: 40px;
    --space-3xl: 50px;
    
    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 3px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 6px 15px rgba(0, 0, 0, 0.2);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-tooltip: 1050;
}

/* Hide dashboard preview on mobile */
.dashboard-preview {
    display: none !important;
}

/* Show mobile products image only on mobile */
.mobile-products-preview {
    display: block;
    text-align: center;
    margin: var(--space-xl) 0;
}

.mobile-products-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    font-family: var(--font-body);
    line-height: 1.5;
    color: #333;
    background-color: var(--background);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY - MOBILE ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }

p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* ===== BUTTONS - MOBILE ===== */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

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

/* ===== NAVIGATION - MOBILE ===== */
.navbar-container {
    position: relative;
    z-index: var(--z-sticky);
}

.countdown-bar {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--text-primary);
    padding: 4px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: var(--z-fixed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.countdown-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 5px;
    max-width: 100%;
    box-sizing: border-box;
}

.discount-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

.countdown-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
}

.countdown-timer {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 0 5px;
    max-width: 100%;
    box-sizing: border-box;
}

.time-unit {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 2px;
    border-radius: 4px;
    min-width: 30px;
    max-width: 30px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.time-number {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.time-label {
    display: block;
    font-size: 7px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.time-separator {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.8;
    color: white;
    margin: 0 1px;
}

.navbar {
    background: var(--background);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 50px;
    z-index: var(--z-sticky);
    margin-top: 50px;
}

.nav-container {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
}

.brand-text {
    height: 18px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-button {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.login-button:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* ===== HERO SECTION - MOBILE ===== */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(218, 43, 53, 0.05) 0%, transparent 70%);
}

.hero-container {
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #333, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 10px;
}

/* Benefits Row - Mobile */
.benefits-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 50%;
    font-size: 10px;
    color: var(--text-primary);
    font-weight: bold;
    flex-shrink: 0;
}

/* Hero CTA Button - Mobile */
.hero-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-red);
    color: var(--text-primary);
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(218, 43, 53, 0.3);
    width: 100%;
    max-width: 300px;
    min-height: 50px;
}

.hero-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(218, 43, 53, 0.4);
    background: var(--dark-red);
}

.play-icon {
    font-size: 14px;
}

/* Customer Reviews - Mobile */
.customer-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.customer-avatars {
    display: flex;
    gap: 0;
    justify-content: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--background);
    margin-left: -6px;
}

.avatar:first-child {
    margin-left: 0;
}

.review-stars {
    color: var(--rating-gold);
    font-size: 14px;
}

.review-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 0 20px;
}



.dfy-card.left-1 { grid-area: left-1; }
.dfy-card.left-2 { grid-area: left-2; }
.dfy-card.left-3 { grid-area: left-3; }

.dfy-card.bottom {
    grid-area: bottom;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dfy-card-content {
    width: 100%;
}

.dfy-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    color: white;
}

.dfy-card.highlight .dfy-number {
    color: white;
}

.dfy-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    line-height: 1.3;
}

.dfy-desc {
    color: #cccccc;
    line-height: 1.4;
    font-size: 14px;
}

.dfy-card.highlight .dfy-desc {
    color: rgba(255, 255, 255, 0.9);
}

.dfy-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #666;
    margin: 0 auto;
}

.dfy-cta {
    text-align: center;
}

.dfy-cta-button {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 43, 53, 0.4);
    width: 100%;
    max-width: 280px;
    min-height: 50px;
}

.dfy-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(218, 43, 53, 0.5);
    background: var(--dark-red);
}

/* ===== PRICING SECTION - MOBILE ===== */
.pricing-plans {
    padding: 50px 0;
    background: var(--surface);
}

.pricing-container {
    margin: 0 auto;
    padding: 0 5px !important;
    text-align: center;
    max-width: 100vw !important;
    width: 100% !important;
}

.special-offer-section {
    margin-bottom: 30px;
}

.discount-badge {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    box-shadow: 0 4px 15px rgba(218, 43, 53, 0.3);
}

.countdown-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.countdown-timer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 2px;
    margin-bottom: 15px;
    flex-wrap: nowrap !important;
    padding: 6px;
    background: rgba(218, 43, 53, 0.1);
    border-radius: 12px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.time-unit {
    background: white;
    border: 1px solid rgba(218, 43, 53, 0.2);
    border-radius: 6px;
    padding: 6px 3px;
    width: 60px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    display: inline-block;
}

.time-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.time-label {
    display: block;
    font-size: 8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 600;
}

.time-separator {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 1px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.pricing-steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 11px;
    color: var(--text-muted);
    flex-wrap: nowrap;
    padding: 0 10px;
}

.step {
    white-space: nowrap;
    flex-shrink: 0;
}

.step-divider {
    width: 20px;
    height: 1px;
    background: var(--border-light);
    flex-shrink: 0;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
    margin: 0 !important;
    max-width: calc(100vw - 10px) !important;
    width: calc(100vw - 10px) !important;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: auto;
    min-height: auto;
    overflow: visible;
    font-size: 16px;
}

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

.save-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: var(--success-green);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-header h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-red);
}

.period {
    font-size: 18px;
    color: var(--text-muted);
}

.original-price {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
    min-height: 55px;
    box-shadow: 0 4px 15px rgba(218, 43, 53, 0.3);
}

.pricing-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(218, 43, 53, 0.4);
    background: var(--dark-red);
}

.features-list {
    text-align: left;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.feature-icon {
    color: var(--success-green);
    font-weight: bold;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.tools-section,
.pro-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.tools-section h4,
.pro-section h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.5px;
}

.ai-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 600;
    margin-left: 5px;
}

.payment-methods {
    margin-top: 20px;
    text-align: center;
}

.payment-methods-img {
    max-height: 40px;
    opacity: 0.7;
}

.bottom-guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.guarantee-icon {
    color: var(--success-green);
    margin-right: 5px;
}

/* ===== ACCESS SECTION - MOBILE ===== */
.instant-access {
    padding: 50px 0;
    background: #0D0D0D;
    color: white;
}

.access-container {
    margin: 0 auto;
    padding: 0 15px;
}

.access-header {
    text-align: center;
    margin-bottom: 40px;
}

.access-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.access-header p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.4;
}

.access-steps-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.access-card-dark {
    background: #1a1a1a;
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    border: 1px solid #333;
    text-align: center;
}

.access-card-dark h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.access-card-dark p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.4;
}

.purchase-button-new {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    min-height: 50px;
    box-shadow: 0 4px 15px rgba(218, 43, 53, 0.4);
    margin: 0 auto;
    display: block;
}

.purchase-button-new:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(218, 43, 53, 0.5);
    background: var(--dark-red);
}

/* ===== FAQ SECTION - MOBILE ===== */
.faq-section {
    padding: 50px 0;
    background: var(--background);
}

.faq-container {
    margin: 0 auto;
    padding: 0 15px;
}

.faq-container h2 {
    text-align: center;
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 40px;
    color: #333;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    background: var(--surface);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-toggle {
    font-size: 18px;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    background: white;
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== FOOTER - MOBILE ===== */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 0 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* ===== UTILITY CLASSES - MOBILE ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

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

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* ===== RESPONSIVE TOUCH TARGETS ===== */
button, .btn, .hero-cta-button, .dfy-cta-button, .pricing-btn, .purchase-button-new {
    min-height: 44px;
    min-width: 44px;
}

/* ===== IMPROVED READABILITY ===== */
.dfy-card, .pricing-card, .access-card-dark, .faq-item {
    box-shadow: var(--shadow-sm);
}

.dfy-card:hover, .pricing-card:hover {
    box-shadow: var(--shadow-md);
}