/* Mobile-First Responsive Design - PayPortPro */
:root {
    --container: min(100% - 2rem, 1200px);
    --vh: 1vh; /* Mobile viewport height fix */
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    font-size: 16px; /* Prevents iOS zoom on inputs */
}

/* Mobile-first container */
.container {
    width: var(--container);
    margin-inline: auto;
    padding: 0 1rem;
}

/* Mobile-first typography */
h1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin: 0.5rem 0;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.2rem, 3.2vw, 1.8rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    line-height: 1.4;
}

p, li, input, select, button {
    font-size: 1rem;
    line-height: 1.5;
}

/* Mobile-first buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px; /* Touch target size */
}

@media (min-width: 768px) {
    .btn {
        width: auto;
        padding-inline: 22px;
    }
}

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

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* Mobile-first forms */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px; /* Prevents iOS zoom */
    transition: border-color 0.2s;
    min-height: 44px; /* Touch target size */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Mobile-first navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.nav-links {
    display: none;
    gap: 16px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s;
    padding: 10px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

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

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #64748b;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile-first hero section */
.hero-section {
    padding: clamp(40px, 8vw, 80px) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    min-height: calc(var(--vh) * 100);
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: clamp(30px, 6vw, 50px);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    gap: clamp(20px, 4vw, 30px);
    grid-template-columns: 1fr;
    margin-bottom: clamp(30px, 6vw, 50px);
}

@media (min-width: 640px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature {
    background: rgba(255,255,255,0.1);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    margin-bottom: 10px;
}

/* Mobile-first CTA buttons */
.cta-buttons {
    display: flex;
    gap: clamp(15px, 3vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Mobile-first benefits grid */
.benefits-grid {
    display: grid;
    gap: clamp(20px, 4vw, 30px);
    grid-template-columns: 1fr;
    margin-top: clamp(30px, 6vw, 40px);
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit {
    background: white;
    padding: clamp(20px, 4vw, 30px);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 20px;
    display: block;
}

.benefit h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.benefit p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Mobile-first sections */
.how-it-works,
.benefits-section {
    padding: clamp(40px, 8vw, 80px) 0;
}

.how-it-works h2,
.benefits-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: clamp(30px, 6vw, 50px);
    color: #1e293b;
}

/* Mobile-first steps */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 40px);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.step {
    text-align: center;
    padding: clamp(20px, 4vw, 30px);
}

.step-number {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin: 0 auto clamp(15px, 3vw, 20px);
}

.step h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 15px;
    color: #1e293b;
}

/* Mobile-first demo video */
.demo-video-section {
    margin-top: clamp(40px, 8vw, 60px);
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.video-placeholder {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: clamp(40px, 8vw, 60px) clamp(20px, 4vw, 40px);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #667eea;
}

.play-button {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(20px, 4vw, 30px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.play-button span {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    margin-left: 4px;
}

.video-text h3 {
    color: white;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.video-text p {
    color: #cbd5e1;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin: 0;
    opacity: 0.9;
}

/* Mobile-first footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: clamp(30px, 6vw, 40px) 0;
    margin-top: clamp(60px, 10vw, 80px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-main p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: white !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 10px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #e2e8f0 !important;
}

/* Mobile-first construction notice */
.construction-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: clamp(15px, 3vw, 20px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.construction-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 20px);
    justify-content: center;
    flex-direction: column;
}

@media (min-width: 768px) {
    .construction-content {
        flex-direction: row;
    }
}

.construction-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    flex-shrink: 0;
}

.construction-text h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.construction-text p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.construction-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .construction-cta {
        flex-direction: row;
    }
}

.construction-cta .btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    max-width: 200px;
}

@media (min-width: 768px) {
    .construction-cta .btn {
        width: auto;
    }
}

/* Mobile-first responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Touch-friendly interactions */
a, button {
    padding: 10px 12px;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Safe areas for mobile devices */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    .hero-section {
        padding-top: calc(clamp(40px, 8vw, 80px) + env(safe-area-inset-top));
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce shadows and gradients on mobile for better performance */
    .benefit {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .video-placeholder {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    /* Disable hover effects on mobile */
    .benefit:hover,
    .video-placeholder:hover {
        transform: none;
    }
}

/* Logo Upload Styles */
.logo-upload-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.logo-preview {
    width: 120px;
    height: 120px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    overflow: hidden;
}

.logo-placeholder {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.logo-placeholder span {
    display: block;
    margin-top: 5px;
}

.logo-upload-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #6b7280;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.upload-hint {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* Settings Page Styles */
.settings-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.settings-header {
    text-align: center;
    margin-bottom: 40px;
}

.settings-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.settings-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.settings-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.settings-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.settings-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .logo-upload-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    padding: 8px 0;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f7fafc;
    color: #667eea;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
    width: auto;
    min-width: 120px;
}

/* How it works section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

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

.step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.benefit p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Demo Video Section */
.demo-video-section {
    margin-top: 60px;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.video-placeholder {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #667eea;
}

.play-button {
    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 30px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.play-button span {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-left: 4px;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.video-text h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.video-text p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* Authentication pages */
.auth-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #1e293b;
}

.auth-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-section h3 {
    margin-bottom: 15px;
    color: #1e293b;
    font-size: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    color: #6b7280;
    font-size: 0.875rem;
}

.form-help {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.auth-footer a {
    color: #2563eb;
    text-decoration: none;
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: #1e293b;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.content-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.content-section h2 {
    margin-bottom: 20px;
    color: #1e293b;
}

.invoice-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}

.invoice-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

.invoice-info h4 {
    color: #1e293b;
    margin-bottom: 5px;
}

.invoice-info p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.invoice-info small {
    color: #9ca3af;
    font-size: 0.75rem;
}

.empty-state {
    text-align: center;
    color: #64748b;
    padding: 40px;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.action-btn:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

.action-icon {
    font-size: 1.5rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    color: #1e293b;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
}

.close:hover {
    color: #1e293b;
}

.modal-form {
    padding: 30px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-main p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e2e8f0 !important;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Invoice Page Styles */
.invoice-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invoice-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 460px;
}

.invoice-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
}

.invoice-header h1 {
    margin: 0 0 12px 0;
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
}

.invoice-id {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 12px;
}

.invoice-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-sent .status-dot { background: #3182ce; }
.status-paid .status-dot { background: #38a169; }
.status-expired .status-dot { background: #e53e3e; }
.status-failed .status-dot { background: #e53e3e; }

.merchant-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.merchant-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.merchant-details h3 {
    margin: 0 0 4px 0;
    color: #1a202c;
    font-size: 18px;
}

.merchant-address, .merchant-tax {
    margin: 2px 0;
    color: #4a5568;
    font-size: 14px;
}

.payment-details {
    margin-bottom: 24px;
}

.amount-section {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    border: 1px solid #bae6fd;
}

.amount {
    font-size: 56px;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.currency {
    color: #0369a1;
    font-size: 18px;
    font-weight: 600;
}

.crypto-amount {
    text-align: center;
    padding: 16px;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 8px;
    margin-top: 16px;
}

.crypto-value {
    font-size: 20px;
    font-weight: 600;
    color: #22543d;
    margin-bottom: 4px;
}

.network {
    color: #38a169;
    font-size: 14px;
    font-weight: 500;
}

.exchange-rate {
    color: #4a5568;
    font-size: 12px;
    margin-top: 8px;
}



/* Diversification Notice */
.diversification-notice {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.notice-content h4 {
    margin: 0 0 12px 0;
    color: #0c4a6e;
    font-size: 1.1rem;
    font-weight: 700;
}

.notice-content p {
    margin: 0 0 12px 0;
    color: #0c4a6e;
    font-size: 0.95rem;
    line-height: 1.5;
}

.notice-content ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.notice-content li {
    margin-bottom: 6px;
    color: #0c4a6e;
    font-size: 0.9rem;
    font-weight: 500;
}

.notice-content li:last-child {
    margin-bottom: 0;
}

/* Multi-Chain Wallet Setup */
.wallet-setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.wallet-option {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.wallet-option:hover {
    border-color: #0ea5e9;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.wallet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.wallet-icon {
    font-size: 1.5rem;
}

.wallet-header h4 {
    margin: 0;
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
}

.wallet-note {
    margin-top: 20px;
    padding: 16px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
}

.wallet-note p {
    margin: 0;
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wallet-note strong {
    color: #78350f;
}

/* PDF Notice */
.pdf-notice {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
    border: 2px solid #22c55e;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pdf-notice .notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.pdf-notice .notice-content h4 {
    margin: 0 0 12px 0;
    color: #166534;
    font-size: 1.1rem;
    font-weight: 700;
}

.pdf-notice .notice-content p {
    margin: 0 0 12px 0;
    color: #166534;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pdf-notice .notice-content ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.pdf-notice .notice-content li {
    margin-bottom: 6px;
    color: #166534;
    font-size: 0.9rem;
    font-weight: 500;
}

.pdf-notice .notice-content li:last-child {
    margin-bottom: 0;
}

.customer-info {
    margin-bottom: 24px;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
}

.customer-info h4 {
    margin: 0 0 8px 0;
    color: #1a202c;
    font-size: 16px;
}

.invoice-meta {
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.meta-item:last-child {
    border-bottom: none;
}

.label {
    color: #4a5568;
    font-weight: 500;
}

.value {
    color: #1a202c;
    font-weight: 600;
}

.payment-section {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border-radius: 16px;
    border: 1px solid #e9d5ff;
}

.payment-section h3 {
    margin: 0 0 12px 0;
    color: #581c87;
    font-size: 24px;
    font-weight: 700;
}

.payment-section p {
    color: #7c3aed;
    margin-bottom: 32px;
    font-size: 16px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    font-size: 14px;
    color: #581c87;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9d5ff;
}

.payment-security {
    margin: 16px 0;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.security-badge {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #86efac;
}

.payment-info {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.payment-info p {
    margin: 4px 0;
    color: #718096;
}

.success-section, .expired-section, .failed-section {
    text-align: center;
    padding: 32px;
}

.success-icon, .expired-icon, .failed-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.success-section h3, .expired-section h3, .failed-section h3 {
    margin: 0 0 8px 0;
    color: #1a202c;
}

.success-section p, .expired-section p, .failed-section p {
    color: #4a5568;
    margin-bottom: 24px;
}

.success-details {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 24px auto;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.success-actions, .expired-actions, .failed-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }

    .invoice-container {
        padding: 16px;
    }
    
    .invoice-card {
        padding: 24px;
    }
    
    .amount {
        font-size: 36px;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions, .expired-actions, .failed-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .terms-container {
        padding: 20px 10px;
        align-items: flex-start;
        max-width: 100%;
    }
    
    .terms-card {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .data-points {
        grid-template-columns: 1fr;
    }
    
    .faq-container {
        padding: 20px 10px;
    }
    
    .faq-card {
        padding: 24px;
    }
    
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-section h2 {
        font-size: 1.6rem;
    }
    
    .benefits-section h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-placeholder {
        padding: 40px 20px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button span {
        font-size: 1.5rem;
    }
    
    .video-text h3 {
        font-size: 1.5rem;
    }
    
    .video-text p {
        font-size: 1rem;
    }
}

/* Terms Page Styles */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid red; /* Temporary debug border */
}

.terms-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
}

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.terms-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 8px;
}

.terms-date {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
}

.terms-content {
    line-height: 1.7;
}

.terms-intro {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid #bae6fd;
}

.terms-intro p {
    margin: 0;
    color: #0c4a6e;
    font-size: 1.1rem;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.terms-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
}

.terms-section p {
    color: #475569;
    margin-bottom: 16px;
    font-size: 1rem;
}

.terms-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.terms-section li {
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.6;
}

.important-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.important-notice strong {
    color: #92400e;
}

.important-notice p {
    color: #92400e;
    margin: 0;
}

.data-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.data-point {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.data-point h3 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.data-point p {
    color: #475569;
    margin: 0;
    font-size: 0.95rem;
}

/* FAQ Page Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 860px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.faq-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.faq-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.faq-content {
    line-height: 1.7;
    position: relative;
}

.faq-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.faq-section {
    margin-bottom: 60px;
    text-align: center;
}

.faq-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #e2e8f0;
    position: relative;
    display: inline-block;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.faq-item {
    margin-bottom: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

.faq-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    padding-left: 8px;
}

.faq-item h3::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1rem;
    color: #667eea;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
}

.faq-item h3:hover::after {
    transform: rotate(180deg);
    background: rgba(102, 126, 234, 0.2);
}

.faq-item p {
    color: #475569;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    padding-left: 8px;
}

.faq-item strong {
    color: #dc2626;
    font-weight: 600;
    background: rgba(220, 38, 38, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Media Queries for FAQ */
@media (max-width: 768px) {
    .faq-container {
        padding: 20px 10px;
    }
    
    .faq-card {
        padding: 20px;
    }
    
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-section h2 {
        font-size: 1.8rem;
    }
}

/* Pricing Page Styles */
.pricing-container {
    max-width: 1200px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 1160px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.pricing-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-description {
    font-size: 1.1rem;
    color: #94a3b8;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-tier {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-tier.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: scale(1.05);
}

.pricing-tier.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.tier-header {
    margin-bottom: 30px;
}

.tier-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.price {
    margin-bottom: 12px;
}

.currency {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 500;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.period {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 500;
}

.tier-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.tier-features {
    margin-bottom: 30px;
}

.tier-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.tier-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tier-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.2rem;
    color: #10b981;
    flex-shrink: 0;
}

.tier-features span {
    color: #374151;
    font-size: 1rem;
}

.tier-cta {
    margin-top: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    text-align: center;
}

.free-button {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.free-button:hover {
    background: #e2e8f0;
    color: #475569;
}

.pro-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pro-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.enterprise-button {
    background: #1e293b;
    color: white;
}

.enterprise-button:hover {
    background: #334155;
    transform: translateY(-2px);
}

.pricing-faq {
    margin-bottom: 50px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.pricing-faq h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
}

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

.faq-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.faq-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.faq-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.pricing-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.pricing-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.pricing-cta p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.cta-button.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-button.secondary:hover {
    background: #667eea;
    color: white;
}

/* Media Queries for Pricing */
@media (max-width: 768px) {
    .pricing-container {
        padding: 20px 10px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .pricing-header h1 {
        font-size: 2rem;
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-tier.featured {
        transform: none;
    }
    
    .pricing-tier.featured:hover {
        transform: translateY(-5px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .amount {
        font-size: 2.5rem;
    }
}

/* Enhanced Stripe Security Styles */
.stripe-powered-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.stripe-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stripe-info h3 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.stripe-info p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.payment-options {
    margin-bottom: 24px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease;
}

.payment-method:hover {
    border-color: #3182ce;
    background: #f7fafc;
}

.stripe-button {
    background: linear-gradient(135deg, #6772E5 0%, #5A67D8 100%);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(103, 114, 229, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.stripe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 114, 229, 0.4);
    background: linear-gradient(135deg, #5A67D8 0%, #4C51BF 100%);
}

.stripe-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.security-assurance {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.security-header h4 {
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text strong {
    display: block;
    color: #1a202c;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text small {
    color: #718096;
    font-size: 0.8rem;
    line-height: 1.4;
}

.payment-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.payment-disclaimer p {
    color: #856404;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.payment-disclaimer strong {
    color: #856404;
}

@media (max-width: 768px) {
    .stripe-powered-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Network Selection Styles */
.network-info {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.network-details {
    margin-top: 20px;
    margin-bottom: 20px;
}

.network-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.network-card h4 {
    color: #1a202c;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.stat .label {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.stat .value {
    color: #1a202c;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .network-stats {
        grid-template-columns: 1fr;
    }
}

/* Transaction History Styles */
.stats-list {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item:hover {
    background-color: #f8fafc;
}

.stat-item.fee-item {
    background-color: #fef2f2;
    border-left: 4px solid #e53e3e;
}

.stat-item.fee-item:hover {
    background-color: #fee2e2;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.stat-value.fee-value {
    color: #e53e3e;
}

/* Legacy grid styles for backward compatibility */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.stat-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.stat-content small {
    color: #e53e3e;
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.filters-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 150px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.transactions-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.transactions-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.export-actions {
    display: flex;
    gap: 10px;
}

.transactions-list {
    margin-bottom: 20px;
}

.transaction-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.transaction-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.transaction-id {
    font-size: 1.1rem;
    color: #2d3748;
}

.transaction-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-sent {
    background: #ebf8ff;
    color: #3182ce;
}

.status-paid {
    background: #f0fff4;
    color: #38a169;
}

.status-expired {
    background: #fed7d7;
    color: #e53e3e;
}

.status-cancelled {
    background: #f7fafc;
    color: #718096;
}

.transaction-details {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: center;
}

.transaction-amount {
    font-size: 1.1rem;
}

.transaction-amount strong {
    color: #2d3748;
}

.transaction-amount small {
    color: #718096;
    font-size: 0.9rem;
}

.transaction-dates {
    color: #718096;
    font-size: 0.9rem;
}

.transaction-actions {
    display: flex;
    gap: 10px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-style: italic;
}

.error {
    text-align: center;
    padding: 40px;
    color: #e53e3e;
    background: #fed7d7;
    border-radius: 8px;
    margin: 20px 0;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #718096;
    font-style: italic;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination button:hover:not(:disabled) {
    border-color: #667eea;
    color: #667eea;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pageInfo {
    color: #718096;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stats-list {
        margin: 0 -20px 30px -20px;
        border-radius: 0;
    }
    
    .stat-item {
        padding: 16px 20px;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .transaction-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .transaction-actions {
        justify-content: flex-start;
    }
    
    .transactions-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .export-actions {
        justify-content: center;
    }
}

/* Payment Provider Setup Styles */
.provider-setup-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.provider-option {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.provider-option:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.provider-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    flex: 1;
}

.provider-badge {
    background: #e53e3e;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.provider-badge:contains("Required") {
    background: #e53e3e;
}

.provider-badge:contains("US Only") {
    background: #3182ce;
}

.provider-description {
    margin-bottom: 20px;
}

.provider-description p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: #667eea;
    background-color: #f8fafc;
}

.radio-option input[type="radio"] {
    margin: 0;
}

.radio-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
}

.stripe-section, .moonpay-section {
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.info-text {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.affiliate-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.affiliate-benefits li {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 0;
}

.provider-note {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.provider-note p {
    color: #4a5568;
    font-size: 0.9rem;
    margin: 0;
}

.provider-note strong {
    color: #2d3748;
}

@media (max-width: 768px) {
    .provider-setup-grid {
        grid-template-columns: 1fr;
    }
    
    .provider-option {
        padding: 16px;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-option {
        padding: 8px;
    }
}

/* Onboarding Banner Styles */
.onboarding-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    position: relative;
}

.banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.banner-text p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

.banner-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    position: absolute;
    top: 12px;
    right: 12px;
}

.banner-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .banner-close {
        position: static;
        align-self: flex-end;
    }
}

/* Continue to Dashboard Section */
.continue-section {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-radius: 12px;
    margin-top: 24px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.continue-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.continue-content p {
    margin: 0 0 20px 0;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.btn-large {
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Setup Progress Styles */
.setup-progress {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.setup-progress h3 {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-text {
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.progress-step.completed .step-icon {
    background: #48bb78;
    color: white;
}

.progress-step.completed .step-text {
    color: #48bb78;
    font-weight: 600;
}

.progress-step.current .step-icon {
    background: #667eea;
    color: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.progress-step.current .step-text {
    color: #667eea;
    font-weight: 600;
}

@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 16px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .progress-step {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }
    
    .step-text {
        text-align: left;
    }
}

/* Tutorial Page Styles */
.tutorials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tutorials-header {
    text-align: center;
    margin-bottom: 50px;
}

.tutorials-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.tutorials-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.tutorial-section {
    margin-bottom: 60px;
}

.tutorial-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.section-description {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 30px;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.tutorial-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.video-placeholder {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tutorial-info {
    padding: 20px;
}

.tutorial-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.tutorial-info p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tutorial-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.difficulty {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty.beginner {
    background: #c6f6d5;
    color: #22543d;
}

.difficulty.intermediate {
    background: #fef5e7;
    color: #744210;
}

.difficulty.advanced {
    background: #fed7d7;
    color: #742a2a;
}

.category {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #e2e8f0;
    color: #4a5568;
}

.tutorials-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 16px;
    margin-top: 60px;
}

.tutorials-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tutorials-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: #667eea;
}

.cta-buttons .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tutorials-container {
        padding: 20px 16px;
    }
    
    .tutorials-header h1 {
        font-size: 2rem;
    }
    
    .tutorial-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tutorial-card {
        margin-bottom: 16px;
    }
    
    .tutorials-cta {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Mobile-specific optimizations and safe area handling */
@media (max-width: 768px) {
    /* Safe area handling for notched devices */
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    .hero-section {
        padding-top: calc(clamp(40px, 8vw, 80px) + env(safe-area-inset-top));
        padding-bottom: calc(clamp(40px, 8vw, 80px) + env(safe-area-inset-bottom));
    }
    
    /* Mobile-specific touch improvements */
    .btn, .join-waitlist-btn, .nav-link {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Mobile form improvements */
    .form-group input, .form-group select {
        font-size: 16px; /* Prevents iOS zoom */
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    /* Mobile navigation improvements */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        z-index: 99;
    }
    
    .nav-links.active .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid #e2e8f0;
        width: 100%;
        text-align: left;
    }
    
    .nav-links.active .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile grid improvements */
    .benefits-grid {
        gap: 20px;
    }
    
    .hero-features {
        gap: 24px;
    }
    
    /* Mobile button improvements */
    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile spacing improvements */
    .hero-section {
        padding: 60px 1rem;
    }
    
    .benefits-section,
    .how-it-works,
    .demo-video-section {
        padding: 40px 1rem;
    }
    
    /* Mobile image handling */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Mobile countdown improvements */
    .countdown-grid {
        gap: 12px;
        max-width: 280px;
    }
    
    /* Mobile footer improvements */
    .footer-content {
        text-align: center;
        gap: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* Additional mobile breakpoint for very small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }
    
    .btn, .join-waitlist-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .form-group input, .form-group select {
        padding: 16px 14px;
    }
    
    .benefit {
        padding: 20px 16px;
    }
    
    .step {
        padding: 20px 16px;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        height: 60px;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn, .join-waitlist-btn {
        border-width: 0.5px;
    }
    
    .form-group input, .form-group select {
        border-width: 0.5px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn:hover,
    .benefit:hover,
    .feature:hover {
        transform: none;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e2e8f0;
        --bg-color: #1a202c;
        --card-bg: #2d3748;
        --border-color: #4a5568;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .navbar {
        background: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
    }
    
    .benefit, .feature, .step {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
    }
}

/* QR Code Section Styles */
.qr-code-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.qr-code-section h3 {
    margin-bottom: 1rem;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.qr-code-placeholder {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-code-placeholder canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.qr-code-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Mobile responsive QR code */
@media (max-width: 768px) {
    .qr-code-section {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .qr-code-placeholder {
        padding: 0.75rem;
    }
    
    .qr-code-placeholder canvas {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .qr-code-placeholder canvas {
        width: 160px;
        height: 160px;
    }
}

/* QR Code Loading States */
.qr-loading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.qr-code-placeholder canvas,
.qr-code-placeholder img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Error state styling */
.qr-code-placeholder p {
    color: #dc2626;
    font-size: 0.9rem;
    margin: 0;
    padding: 1rem;
    text-align: center;
}

/* QR Code Modal Styles */
.qr-modal .modal-content {
    max-width: 500px;
    width: 90%;
}

.qr-modal-content {
    padding: 1.5rem;
}

.qr-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.qr-info p {
    margin: 0.5rem 0;
    color: #374151;
}

.qr-info .qr-instructions {
    font-style: italic;
    color: #6b7280;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.qr-code-display {
    text-align: center;
    margin: 2rem 0;
}

.qr-code-container {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-code-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.qr-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.qr-actions .btn {
    min-width: 140px;
}

.qr-error {
    color: #dc2626;
    font-size: 0.9rem;
    padding: 1rem;
    text-align: center;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
}

/* Mobile responsive QR modal */
@media (max-width: 768px) {
    .qr-modal .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .qr-modal-content {
        padding: 1rem;
    }
    
    .qr-info {
        margin-bottom: 1.5rem;
        padding: 0.75rem;
    }
    
    .qr-code-container {
        padding: 0.75rem;
    }
    
    .qr-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .qr-actions .btn {
        min-width: auto;
        width: 100%;
    }
}

/* Simple QR Code Fallback */
.simple-qr-fallback {
    text-align: center;
    padding: 2rem;
}

.qr-placeholder {
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem 0;
    color: #6b7280;
}

.qr-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.qr-url {
    font-family: monospace;
    font-size: 0.9rem;
    color: #9ca3af;
    word-break: break-all;
}

.qr-fallback-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 1rem;
    font-style: italic;
}

/* QR Code Image Styling */
.qr-code-container img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
  