* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    --secondary: #111111;
    --accent: #1a1a1a;
    --highlight: #ffffff;
    --text: #ffffff;
    --text-light: #cccccc;
    --success: #00ff88;
    --warning: #ff4444;
    --border: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text);
    overflow-x: hidden;
}

/* Mission Banner removed */

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--highlight);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-cta .btn {
    margin: 0;
}

.nav-cta .login-link {
    color: var(--text-light);
    opacity: 0.9;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-cta .login-link:hover {
    opacity: 1;
    color: var(--highlight);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--highlight);
}

/* Language Selector */
.language-selector {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1001;
}

/* Footer Language Selector */
.footer-language-selector {
    position: absolute;
    left: 0;
    bottom: 0;
    margin-top: 2rem;
}

.language-dropdown {
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.language-dropdown:hover {
    background: var(--secondary);
    border-color: var(--highlight);
}

.language-dropdown:focus {
    outline: none;
    border-color: var(--highlight);
}

/* Mission Section */
.mission {
    padding: 5rem 2rem;
    background: var(--primary);
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--highlight);
    font-weight: 300;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--highlight);
    font-weight: 300;
    animation: fadeInUp 0.8s ease;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
    flex-wrap: wrap;
    align-items: center;
}

.cta-buttons .btn {
    flex: 0 0 auto;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--highlight);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: var(--text-light);
}

.btn-secondary {
    border: 2px solid var(--highlight);
    color: var(--highlight);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--highlight);
    color: var(--primary);
}

.btn-scan {
    background: linear-gradient(135deg, var(--success) 0%, #00e677 100%);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.25);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scanPulse 3s ease-in-out infinite;
}

.btn-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-scan:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00e677 0%, var(--success) 100%);
}

.btn-scan:hover::before {
    left: 100%;
}

.btn-scan:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
}

.btn-scan-hero {
    background: linear-gradient(135deg, var(--success) 0%, #00e677 100%);
    color: var(--primary);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.3);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1.3rem 3rem;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scanHeroPulse 4s ease-in-out infinite;
}

.btn-scan-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-scan-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00e677 0%, var(--success) 100%);
}

.btn-scan-hero:hover::before {
    left: 100%;
}

.btn-scan-hero:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.nfc-demo {
    width: 300px;
    height: 400px;
    background: var(--accent);
    border-radius: 20px;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nfc-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.scan-effect {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--highlight), transparent);
    animation: scan 3s linear infinite;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--secondary);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--secondary);
    border-color: var(--highlight);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--highlight);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 2rem;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--highlight);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 60%;
    width: calc(100% - 60%);
    height: 2px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.step:last-child::after {
    display: none;
}

/* Benefits Section */
.benefits {
    padding: 5rem 2rem;
    background: var(--secondary);
}

/* Demo Section */
.demo-section {
    padding: 5rem 2rem;
    background: var(--primary);
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 1.5rem;
    border-left: 3px solid var(--highlight);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateX(10px);
    border-left-color: var(--success);
}

.benefit-title {
    font-size: 1.25rem;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 2rem;
    background: var(--primary);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* FAQ Search */
.faq-search-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: var(--accent);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-light);
    pointer-events: none;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    border: 2px solid var(--border);
    border-radius: 25px;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--highlight);
    color: var(--primary);
    border-color: var(--highlight);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--accent);
    border: 2px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--highlight);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    border-color: var(--success);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

/* FAQ Header */
.faq-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--highlight);
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--highlight);
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    background: var(--success);
    color: var(--primary);
    transform: rotate(180deg);
}

/* FAQ Content */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    max-height: 1000px;
}

.faq-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 1rem 0;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-list {
    list-style: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
}

.faq-list li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.faq-list li::before {
    content: '•';
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.faq-list li:last-child {
    margin-bottom: 0;
}

/* No Results Message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-results p {
    font-size: 1.1rem;
    margin: 0;
}

/* FAQ Back Button */
.faq-back {
    margin-top: 4rem;
    text-align: center;
}

.faq-back .back {
    margin-top: 0;
    padding: 1rem 2rem;
    background: var(--accent);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.faq-back .back:hover {
    border-color: var(--highlight);
    background: var(--highlight);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--primary);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Footer Links Section */
.footer-links {
    padding: 3rem 2rem;
    background: var(--secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* New upper footer layout: About (left) + Links (right) */
.footer-upper {
    padding: 3rem 2rem;
    background: var(--secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.footer-upper-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-about h3 {
    color: var(--highlight);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.footer-about p {
    color: var(--text-light);
    line-height: 1.7;
}

.footer-links-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-link-title {
    color: var(--highlight);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-link-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-link-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-list a:hover {
    color: var(--highlight);
}

/* Simple content sections for footer pages */
.content-section {
    padding: 4rem 2rem;
    background: var(--primary);
    border-top: 1px solid var(--border);
}

.content-section .content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    color: var(--highlight);
    font-weight: 300;
    margin-bottom: 1rem;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.7;
}

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

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

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

@keyframes scan {
    from { top: 0; }
    to { top: 100%; }
}

@keyframes scanPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(0, 255, 136, 0.25);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4), 0 0 20px rgba(0, 255, 136, 0.3);
    }
}

@keyframes scanHeroPulse {
    0%, 100% { 
        box-shadow: 0 12px 35px rgba(0, 255, 136, 0.3);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(0, 255, 136, 0.5), 0 0 25px rgba(0, 255, 136, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mission-banner {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    /* Nav at top on mobile after removing banner */
    nav { top: 0; }

    .hero {
        padding: 6.5rem 1.25rem 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn-scan-hero {
        font-size: 1rem;
        padding: 1.1rem 2.2rem;
        letter-spacing: 0.8px;
    }

    .nav-cta {
        gap: 0.8rem;
    }

    .nav-cta .login-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .btn-scan {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary);
        width: 100%;
        height: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-links li {
        padding: 1rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .step::after {
        display: none;
    }

    .mission-title {
        font-size: 1.75rem;
    }

    .mission-text {
        font-size: 1rem;
    }
    .footer-upper-container { grid-template-columns: 1fr; }
    
    /* FAQ Mobile Responsive */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-categories {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .search-input {
        padding: 0.8rem 2.5rem 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-icon {
        right: 1rem;
        font-size: 1rem;
    }
    
    .faq-header {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
    }
    
    .faq-toggle {
        width: 25px;
        height: 25px;
        font-size: 1.2rem;
    }
    
    .faq-content p {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.95rem;
    }
    
    .faq-list {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-list li {
        padding-left: 1rem;
        font-size: 0.95rem;
    }
}

/* Styles for about.html */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.container h1 {
    color: var(--highlight);
    font-weight: 300;
    margin-bottom: 1rem;
}

.container p {
    color: var(--text-light);
    line-height: 1.7;
}

.back {
    display: inline-block;
    margin-top: 2rem;
    color: var(--highlight);
    text-decoration: underline;
}

/* Styles for blog.html */
.post {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.post h2 {
    font-weight: 400;
    color: var(--highlight);
}

/* Styles for careers.html */
.list {
    margin-top: 1rem;
    color: var(--text-light);
}

/* Styles for contact.html */
a.link {
    color: var(--highlight);
    text-decoration: underline;
}

/* Styles for privacy.html */
.muted {
    color: #aaa;
    font-size: 0.95rem;
}

.card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.25rem;
}

.back-link {
    color: #ccc;
    text-decoration: none;
}

.back-link:hover {
    color: #fff;
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text);
}
