/* ================================================
   PostNL Barcode Scanner - Landing Page Styles
   Brand Colors: Orange #FF6200, White #FFFFFF
   ================================================ */

/* CSS Variables */
:root {
    --postnl-orange: #FF6200;
    --postnl-orange-dark: #E55800;
    --postnl-orange-light: #FF8533;
    --postnl-white: #FFFFFF;
    --dark-bg: #0D0D0D;
    --dark-surface: #1A1A1A;
    --dark-surface-2: #262626;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --text-primary: #FFFFFF;
    --text-secondary: #A3A3A3;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(255, 98, 0, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--postnl-orange) 0%, var(--postnl-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--postnl-orange) 0%, var(--postnl-orange-dark) 100%);
    color: var(--postnl-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(255, 98, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-icon {
    font-size: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Floating Barcodes Animation */
.floating-barcode {
    position: absolute;
    width: 200px;
    height: 80px;
    background: repeating-linear-gradient(90deg,
            rgba(255, 98, 0, 0.1) 0px,
            rgba(255, 98, 0, 0.1) 4px,
            transparent 4px,
            transparent 8px);
    border-radius: 8px;
    opacity: 0.3;
}

.barcode-1 {
    top: 20%;
    left: -5%;
    animation: float1 20s ease-in-out infinite;
}

.barcode-2 {
    top: 60%;
    right: -5%;
    animation: float2 25s ease-in-out infinite;
    transform: rotate(15deg);
}

.barcode-3 {
    bottom: 10%;
    left: 30%;
    animation: float3 18s ease-in-out infinite;
    transform: rotate(-10deg);
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-5deg);
    }

    50% {
        transform: translate(50px, 30px) rotate(5deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(15deg);
    }

    50% {
        transform: translate(-40px, -25px) rotate(20deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-10deg);
    }

    50% {
        transform: translate(30px, -20px) rotate(-5deg);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: relative;
    z-index: 100;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--postnl-orange);
}

.btn-nav {
    background: var(--postnl-orange);
    color: var(--postnl-white) !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--postnl-orange-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 48px;
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 98, 0, 0.15);
    border: 1px solid rgba(255, 98, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--postnl-orange-light);
    width: fit-content;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--postnl-orange);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Phone Mockup */
.hero-mockup {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 15px));
    }
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        var(--shadow-lg),
        0 0 100px rgba(255, 98, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--postnl-white);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--postnl-white);
}

.app-logo {
    height: 32px;
}

.settings-icon {
    font-size: 20px;
}

.scan-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    position: relative;
}

.scan-frame {
    width: 180px;
    height: 180px;
    position: relative;
    border: 3px solid rgba(255, 98, 0, 0.3);
    border-radius: 16px;
}

.scan-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid var(--postnl-orange);
}

.scan-corner.tl {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
    border-radius: 16px 0 0 0;
}

.scan-corner.tr {
    top: -3px;
    right: -3px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 16px 0 0;
}

.scan-corner.bl {
    bottom: -3px;
    left: -3px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 16px;
}

.scan-corner.br {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 16px 0;
}

.scan-line {
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--postnl-orange), transparent);
    animation: scanLine 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--postnl-orange);
}

@keyframes scanLine {

    0%,
    100% {
        top: 20%;
        opacity: 1;
    }

    50% {
        top: 75%;
        opacity: 0.7;
    }
}

.scan-text {
    margin-top: 20px;
    color: var(--gray-500);
    font-size: 14px;
}

.mock-scan-btn {
    margin: 20px;
    padding: 16px 32px;
    background: var(--postnl-orange);
    color: var(--postnl-white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.4);
}

.app-nav {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: var(--postnl-white);
    border-top: 1px solid var(--gray-200);
}

.nav-item {
    font-size: 20px;
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
}

.nav-item.active {
    opacity: 1;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 120px 0;
    background: var(--dark-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 98, 0, 0.15);
    color: var(--postnl-orange-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--dark-surface-2);
    border-radius: var(--border-radius);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 98, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--postnl-orange) 0%, var(--postnl-orange-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 98, 0, 0.3);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: 120px 0;
    background: var(--dark-bg);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.step {
    background: var(--dark-surface);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    max-width: 280px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--postnl-orange);
    color: var(--postnl-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.4);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
}

.step-connector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--postnl-orange), transparent);
}

.connector-arrow {
    color: var(--postnl-orange);
    font-size: 24px;
}

.demo-box {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.15) 0%, rgba(255, 98, 0, 0.05) 100%);
    border: 1px solid rgba(255, 98, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
}

.demo-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.demo-box p {
    color: var(--text-secondary);
}

/* ===== NAVIGATION GUIDE SECTION ===== */
.navigation-guide {
    padding: 80px 0;
    background: var(--dark-surface);
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.nav-card {
    background: var(--dark-surface-2);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav-card:hover {
    border-color: rgba(255, 98, 0, 0.3);
}

.nav-card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.nav-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.nav-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== DOWNLOAD SECTION ===== */
.download {
    padding: 80px 0;
    background: var(--dark-bg);
}

.download-card {
    background: linear-gradient(135deg, var(--postnl-orange) 0%, var(--postnl-orange-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.download-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-content>p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.install-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.install-method {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 32px;
    min-width: 200px;
}

.device-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.install-method h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.install-method ol {
    text-align: left;
    padding-left: 20px;
}

.install-method li {
    margin-bottom: 8px;
    font-size: 14px;
}

.download .btn-primary {
    background: var(--postnl-white);
    color: var(--postnl-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 0;
    background: var(--dark-surface);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-surface-2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 20px 24px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: var(--dark-surface);
    border-color: rgba(255, 98, 0, 0.3);
}

.faq-toggle {
    font-size: 24px;
    color: var(--postnl-orange);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 16px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.copyright {
    margin-top: 16px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--postnl-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-mockup {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 600px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-card {
        padding: 40px 24px;
    }

    .install-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 24px;
    }
}