/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

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

.nav-logo h2 {
    color: #007AFF;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
}

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

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4b5563;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .card-scanner-hero .hero-buttons {
        justify-content: center !important;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animation.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #007AFF;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #007AFF, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header p {
    color: #6b7280;
    font-size: 1.2rem;
    font-weight: 500;
    background: #f3f4f6;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    border: 2px solid #e5e7eb;
}

.legal-body {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.legal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #2563eb, #007AFF);
}

.legal-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 2.5rem 0 1.5rem;
    padding-top: 1rem;
    border-left: 4px solid #007AFF;
    padding-left: 1rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-left: -1.5rem;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 0.5rem;
}

.legal-body p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.legal-body ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.legal-body .contact-info {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.legal-body .contact-info p {
    margin-bottom: 0.5rem;
}

.legal-body .contact-info a {
    color: #007AFF;
    text-decoration: none;
}

.legal-body .contact-info a:hover {
    text-decoration: underline;
}

/* Active Navigation Link */
.nav-link.active {
    color: #007AFF;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 0 3rem;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
    
    .legal-body {
        padding: 2rem;
    }
    
    .legal-body h2 {
        font-size: 1.5rem;
    }
    
    .legal-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-body {
        padding: 1.5rem;
    }
    
    .legal-body h2 {
        font-size: 1.3rem;
    }
    
    .legal-body h3 {
        font-size: 1.1rem;
    }
}

/* Card Scanner Landing Page Styles */
.card-scanner-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding-top: 80px;
    text-align: center;
}

.card-scanner-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.app-icon-container {
    margin-bottom: 2rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    padding: 8px;
}

.app-icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.card-scanner-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.card-scanner-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
}

.card-scanner-hero .hero-buttons {
    display: flex !important;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
    width: 100% !important;
    text-align: center !important;
}

/* Force center App Store button on Card Scanner page */
.card-scanner-hero .hero-buttons,
.card-scanner-hero .hero-buttons * {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-buttons-container {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.card-scanner-hero .btn-app-store {
    margin: 0 auto !important;
    display: inline-block !important;
    float: none !important;
}

.app-store-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.btn-app-store {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-app-store:hover {
    transform: translateY(-2px);
}

/* Demo Section */
.demo-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.demo-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.demo-video-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-video-container iframe {
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.demo-caption {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E3A8A, #3B82F6);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(30, 58, 138, 0.15);
    border-color: #3B82F6;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

/* Social Proof Section */
.social-proof-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.social-proof-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.reviewer {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
}

.social-proof-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.app-store-badge-large {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-badge-large:hover {
    transform: scale(1.05);
}

.btn-app-store-large {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-app-store-large:hover {
    transform: translateY(-2px);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    justify-content: center;
    border-top: 1px solid #e5e7eb;
}

.app-store-badge-mobile {
    height: 50px;
    width: auto;
}

.btn-app-store-mobile {
    display: inline-block;
    text-decoration: none;
}

/* Responsive Design for Card Scanner */
@media (max-width: 768px) {
    .card-scanner-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .card-scanner-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .app-icon {
        width: 70px;
        height: 70px;
    }
    
    .demo-video {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .sticky-mobile-cta {
        display: flex;
    }
    
    .final-cta-section {
        padding-bottom: 6rem;
    }
}

@media (max-width: 480px) {
    .card-scanner-hero .hero-title {
        font-size: 2rem;
    }
    
    .card-scanner-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .demo-video {
        max-width: 100%;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
}
