/* ============================================
   S1 PDKS Mobil App - Landing Page Styles
   Design Thinking + UX + Neuro-Marketing + SEO
   ============================================ */

:root {
    --app-primary: #2563eb;
    --app-primary-light: #3b82f6;
    --app-primary-dark: #1e40af;
    --app-secondary: #0ea5e9;
    --app-accent: #06b6d4;
    --app-gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #06b6d4 100%);
    --app-gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    --app-success: #10b981;
    --app-warning: #f59e0b;
    --app-error: #ef4444;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
}

/* Hero Section - Neuro-Marketing: Visual Hierarchy + FOMO */
.mobil-app-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.mobil-app-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(37, 99, 235, 0.15), transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(14, 165, 233, 0.1), transparent 60%);
}

.floating-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
    opacity: 0.6;
}

.mobil-app-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

/* Trust Signal Badge - Social Proof */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 100px;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Primary Headline - Clear Value Proposition */
.hero-title {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(52px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    color: #f8fafc;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-title .title-line {
    display: block;
}

.title-rotating {
    position: relative;
    display: block;
    height: 1.1em;
    overflow: hidden;
}

.title-gradient {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 9s infinite;
    font-weight: 900;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.title-gradient-1 {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    animation-delay: 0s;
}

.title-gradient-2 {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    animation-delay: 3s;
}

.title-gradient-3 {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    animation-delay: 6s;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    28% {
        opacity: 1;
        transform: translateY(0);
    }
    33% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

/* Benefit-Focused Description */
.hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Social Proof Stats - Numbers Build Trust */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #f8fafc;
    font-family: 'Darker Grotesque', sans-serif;
    background: var(--app-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

/* CTA Buttons - Clear Action Hierarchy */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--app-gradient);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* App Store Badges - Trust Signals */
.app-store-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
}

.app-store-link:hover {
    transform: translateY(-3px);
}

.app-store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: #f8fafc;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-store-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.app-store-badge.large {
    padding: 18px 28px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-top {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 500;
}

.badge-bottom {
    font-size: 20px;
    font-weight: 700;
}

/* Screenshot Showcase */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-showcase {
    position: relative;
    width: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 32px;
   
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
    padding: 0;
}

.screenshot-main:hover {
    transform: scale(1.02);
 
}

.screenshot-main img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
    object-fit: contain;
}

/* Features Section - Benefit-Focused */
.mobil-app-features {
    padding: 140px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--app-gradient-soft);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    color: var(--app-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title-large {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--app-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--app-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--app-primary);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--app-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Screenshots Gallery - Visual Storytelling */
.mobil-app-screenshots {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.screenshot-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--bg-white);
    cursor: pointer;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(37, 99, 235, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.screenshot-desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Benefits Section - Emotional Connection */
.mobil-app-benefits {
    padding: 140px 0;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.benefit-item {
    display: flex;
    gap: 32px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(14, 165, 233, 0.03) 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.06) 100%);
    border-color: var(--app-primary);
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

.benefit-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--app-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    font-family: 'Darker Grotesque', sans-serif;
}

.benefit-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: 'Darker Grotesque', sans-serif;
}

.benefit-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Social Proof Section */
.social-proof {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--app-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Section - Urgency + Clear Value */
.mobil-app-cta {
    padding: 140px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.mobil-app-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.2), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.15), transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(44px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    color: #f8fafc;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-footer p {
    font-size: 15px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cta-footer p::before {
    content: '✓';
    color: var(--app-success);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobil-app-hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        order: -1;
    }

    .screenshot-showcase {
        max-width: 320px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobil-app-hero-content {
        gap: 40px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .app-store-badges {
        flex-direction: column;
        width: 100%;
    }

    .app-store-badge {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-badges {
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        flex-direction: column;
        gap: 24px;
    }
    
    .screenshot-showcase {
        max-width: 100%;
    }
}

/* Loading States & Micro-interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.benefit-item,
.screenshot-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .mobil-app-hero,
    .mobil-app-cta {
        background: #fff;
        color: #000;
    }
}
