/* ============================================
   TEMPORES LANDING PAGE
   Enterprise Modern Design System
   Extends existing CSS variables
   ============================================ */

/* Import existing system */
@import url('main.css');

/* Landing specific variables */
:root {
    --landing-hero-gradient: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    --landing-card-radius: 24px;
    --landing-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   HERO SECTION - Modern Enterprise
   ============================================ */
.hero-modern {
    background: var(--landing-hero-gradient);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(67, 97, 238, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--light), transparent);
    pointer-events: none;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
}

/* Hero stats */
.hero-stat {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero visual - phone mockup */
.hero-phone-mockup {
    position: relative;
    max-width: 280px;
    margin-top: -80px;
}

@media (min-width: 768px) {
    .hero-phone-mockup {
        max-width: 320px;
    }
}

.hero-phone-mockup img {
    border-radius: 48px;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.4);
    width: 100%;
    height: auto;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

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

/* ============================================
   FEATURE SECTION
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem auto;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(102, 2, 60, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1.125rem;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: white;
    border-radius: var(--landing-card-radius);
    padding: 1.75rem;
    transition: var(--landing-transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent, #4361ee));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(102, 2, 60, 0.08) 0%, rgba(67, 97, 238, 0.08) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 26px;
    background: linear-gradient(135deg, var(--primary), #4361ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(102, 2, 60, 0.08);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary);
}

/* ============================================
   SCREENSHOT SHOWCASE - Android App Features
   ============================================ */
.screenshot-showcase {
    background: linear-gradient(135deg, #f8f9fc 0%, #f1f3f9 100%);
    border-radius: 48px;
    padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
    .screenshot-showcase {
        padding: 4rem 2rem;
    }
}

.screenshot-slider {
    overflow: visible;
    padding: 1rem 0;
}

.screenshot-card {
    background: transparent;
    padding: 0.5rem;
    transition: var(--landing-transition);
}

.screenshot-card img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    transition: var(--landing-transition);
    display: block;
}

.screenshot-card:hover img {
    transform: scale(1.02);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25);
}

.screenshot-caption {
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark);
}

/* Feature list with icons */
.feature-list-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-list-icon {
    width: 44px;
    height: 44px;
    background: rgba(102, 2, 60, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list-icon i {
    font-size: 20px;
    color: var(--primary);
}

.feature-list-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-list-content p {
    font-size: 0.875rem;
    color: var(--secondary);
    margin: 0;
}

/* ============================================
   DASHBOARD PREVIEW - Web Admin
   ============================================ */
.dashboard-preview {
    background: #0a0c15;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    display: block;
}

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

.dashboard-stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.25rem;
    text-align: center;
    transition: var(--landing-transition);
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.dashboard-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.dashboard-stat-label {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   PRICING SECTION - Stripe Integration
   ============================================ */
.pricing-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-period {
    font-weight: 500;
    color: var(--secondary);
}

.pricing-period.active {
    color: var(--primary);
    font-weight: 700;
}

.switch-toggle {
    width: 56px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.switch-toggle.active {
    background: var(--primary);
}

.switch-toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xs);
}

.switch-toggle.active::after {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card-enterprise {
    background: white;
    border-radius: 32px;
    padding: 2rem;
    transition: var(--landing-transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.pricing-card-enterprise:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-enterprise.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.pricing-card-enterprise.popular:hover {
    transform: scale(1.02) translateY(-8px);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.375rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 1rem 0;
}

.pricing-price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--secondary);
}

.pricing-description {
    color: var(--secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.pricing-features li i {
    color: var(--success);
    font-size: 0.875rem;
    width: 20px;
}

.pricing-features li i.fa-times {
    color: var(--danger);
}

.btn-subscribe-landing {
    width: 100%;
    padding: 0.875rem;
    border-radius: 60px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transition: var(--landing-transition);
}

.btn-subscribe-landing:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(102, 2, 60, 0.3);
}

.btn-subscribe-landing.outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-subscribe-landing.outline:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-slider {
    padding: 1rem 0.5rem;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    margin: 0.5rem;
    box-shadow: var(--shadow);
    transition: var(--landing-transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #2d3748;
    margin: 1.25rem 0;
    font-style: italic;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    border-radius: 48px;
    padding: 3rem 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 4rem 3rem;
    }
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .pricing-card-enterprise.popular {
        transform: scale(1);
    }
    
    .pricing-card-enterprise.popular:hover {
        transform: translateY(-8px);
    }
    
    .hero-modern {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-section {
        border-radius: 24px;
        padding: 2rem 1.5rem;
    }
}

/* Print styles */
@media print {
    .hero-modern,
    .cta-section,
    .pricing-card-enterprise {
        break-inside: avoid;
    }
}