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

:root {
    --primary-color: #131B3F;
    --primary-dark: #0f1533;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --background-color: #ffffff;
    --surface-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 0.5rem;
    --radius-lg: 1rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
}

/* Hero Login Button */
.hero-login {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.375rem;
}

.hero-login-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    color: var(--primary-color);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 350px;
}

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

.hero-login-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

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

.hero-login-btn:active {
    transform: translateY(-2px) scale(1.01);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--text-primary);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.875rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    height: 54px;
    box-sizing: border-box;
}

/* Custom Button Styles - Override Bootstrap */
.btn.btn-primary {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
    text-decoration: none !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--surface-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn.btn-large {
    padding: 1.25rem 2rem !important;
    font-size: 1.125rem !important;
    height: 66px !important;
    min-width: 200px !important;
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: var(--radius);
    height: 70px;
    box-sizing: border-box;
}

.download-btn-large {
    padding: 1.5rem 2.5rem;
    height: 80px;
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.download-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.download-image {
    height: 45px;
    width: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.download-btn-large .download-image {
    height: 50px;
}

/* Logo Styles */
.logo {
    height: 180px;
    width: auto;
    max-width: 100%;
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 2rem 1rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.25rem;
    gap: 2rem;
}

.hero-logo .logo {
    height: 200px;
    width: auto;
    max-width: 100%;
}

.hero-download {
    display: flex;
    align-items: center;
}

.download-btn-xl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: var(--radius);
    height: 120px; /* 1.5x bigger (80px * 1.5 = 120px) */
    box-sizing: border-box;
}

.download-btn-xl:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.download-image-xl {
    height: 97px; /* 1.5x bigger (65px * 1.5 = 97.5px, rounded to 97px) */
    width: auto;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    text-align: left;
}

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

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

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

.badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-device-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Demo Section */
.demo {
    padding: 6rem 1rem;
    background-color: var(--background-color);
}

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

.demo-text {
    text-align: left;
}

.demo-text h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.demo-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

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

.demo-screenshot {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

/* Value Propositions Section */
.value-propositions {
    padding: 6rem 1rem;
    background-color: var(--surface-color);
}

.value-propositions h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.value-prop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 0 2rem;
}

.value-prop:last-child {
    margin-bottom: 0;
}

.value-prop.reverse {
    direction: rtl;
}

.value-prop.reverse > * {
    direction: ltr;
}

.value-content {
    max-width: 500px;
}

.value-content h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.value-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.value-benefits li {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding-left: 0;
    font-weight: 500;
}

.value-benefits li:last-child {
    margin-bottom: 0;
}

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

.value-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-image img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Benefits Section */
.benefits {
    padding: 6rem 1rem;
    background-color: white;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: 6rem 1rem;
    background-color: var(--surface-color);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-card li.unavailable {
    color: #ef4444;
    opacity: 0.7;
}

.savings {
    background-color: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-note {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    background-color: rgba(var(--success-color), 0.1);
    padding: 1rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--success-color);
}

/* Trust Section */
.trust {
    padding: 6rem 1rem;
    background-color: white;
}

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

.trust-text h2 {
    margin-bottom: 1.5rem;
}

.trust-text p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.trust-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--surface-color);
    padding: 1rem;
    border-radius: var(--radius);
}

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

.trust-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 4rem 1rem 2rem;
}

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

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-login {
        margin-bottom: 0.25rem;
    }
    
    .hero-login-btn {
        padding: 1.25rem 2rem;
        font-size: 1rem;
        min-width: 280px;
        border-radius: 40px;
    }
    
    .hero-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-logo .logo {
        height: 150px;
    }
    
    .download-btn-xl {
        height: 70px;
        padding: 0.75rem 1.5rem;
    }
    
    .download-image-xl {
        height: 50px;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .demo-text {
        text-align: center;
    }
    
    .demo-text h2 {
        font-size: 2rem;
    }
    
    .demo-buttons {
        align-items: center;
    }
    
    .demo-screenshot {
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        height: 65px;
        padding: 1rem 1.5rem;
    }
    
    .download-btn-large {
        height: 70px;
        padding: 1.25rem 2rem;
    }
    
    .download-image {
        height: 40px;
    }
    
    .download-btn-large .download-image {
        height: 45px;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trust-features {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .value-prop {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
        padding: 0 1rem;
    }
    
    .value-prop.reverse {
        direction: ltr;
    }
    
    .value-content {
        max-width: none;
        order: 1;
    }
    
    .value-image {
        order: 2;
    }
    
    .value-prop.reverse .value-content {
        order: 1;
    }
    
    .value-prop.reverse .value-image {
        order: 2;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .pricing-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 100px;
    }
    
    .logo-section {
        padding: 1rem 0;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .features,
    .value-propositions,
    .benefits,
    .pricing,
    .trust,
    .cta {
        padding: 4rem 1rem;
    }
    
    .value-propositions h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .value-content h3 {
        font-size: 1.5rem;
    }
    
    .value-content p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .benefit-item {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .btn {
        height: 48px;
    }
    
    .btn-large {
        height: 58px;
    }
    
    .download-btn {
        height: 60px;
        padding: 0.875rem 1.25rem;
    }
    
    .download-btn-large {
        height: 65px;
        padding: 1rem 1.5rem;
    }
    
    .download-image {
        height: 35px;
    }
    
    .download-btn-large .download-image {
        height: 40px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Blazor Error Boundary - Updated */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    border-radius: var(--radius);
    margin: 1rem 0;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* Form validation styles */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--success-color);
}

.invalid {
    outline: 1px solid #ef4444;
}

.validation-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}



/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
}

/* Top Navigation Bar - High Specificity Override */
nav.top-nav {
    background: linear-gradient(135deg, #131B3F 0%, #06b6d4 100%) !important;
    padding: 0.3rem 0 !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 1000 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
}

.top-nav .nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 3rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Home Button - High Specificity Override */
.top-nav .nav-container .home-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100px !important;
    height: 100px !important;
    background-color: white !important;
    border-radius: 50% !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-xl) !important;
    margin: 1rem !important;
    position: relative !important;
}

.top-nav .nav-container .home-button:hover {
    background-color: var(--surface-color) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.top-nav .nav-container .home-button svg {
    width: 48px !important;
    height: 48px !important;
    stroke: var(--primary-color) !important;
    stroke-width: 2.5 !important;
}

/* Original styles kept for reference - OVERRIDDEN */
.top-nav {
    background: linear-gradient(135deg, #131B3F 0%, #06b6d4 100%) !important;
    padding: 0.3rem 0 !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    position: fixed !important;
    top: 0 !important;
    z-index: 1000 !important;
}

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

/* Home Button */
.home-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    margin: 1rem;
}

.home-button:hover {
    background-color: var(--surface-color);
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.home-button svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color);
    stroke-width: 2.5;
}

/* Logo Section */
.logo-section {
    background-color: var(--primary-color);
    padding: 2rem 0;
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 180px;
    width: auto;
    max-width: 100%;
}

/* Privacy Policy Page */
.privacy-policy {
    flex: 1;
    padding: 4rem 2rem 6rem;
}

.privacy-policy .container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 5rem 4rem 6rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.privacy-policy h1 {
    color: var(--primary-color);
    font-size: 2.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.2;
}

.privacy-policy .effective-date {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 5rem;
}

.privacy-policy .intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 6rem;
}

/* Terms of Service Page - Same styling as Privacy Policy */
.terms-service {
    flex: 1;
    padding: 4rem 2rem 6rem;
}

.terms-service .container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 5rem 4rem 6rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.terms-service h1 {
    color: var(--primary-color);
    font-size: 2.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.2;
}

.terms-service .effective-date {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 5rem;
}

.terms-service .intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 6rem;
    padding: 3rem;
    background-color: var(--surface-color);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.terms-service section {
    margin-bottom: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.terms-service section:last-child {
    margin-bottom: 4rem;
    padding-bottom: 0;
    border-bottom: none;
}

.terms-service h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    line-height: 1.3;
}

.terms-service h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 3.5rem 0 2.5rem;
    line-height: 1.3;
}

.terms-service p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.terms-service ul {
    margin: 2rem 0 4rem 1.5rem;
    padding-left: 2rem;
}

.terms-service li {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.125rem;
    position: relative;
    padding-left: 1rem;
}

.terms-service li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    font-size: 1.5rem;
}

.terms-service a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.terms-service a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.terms-service .disclaimer {
    background-color: var(--surface-color);
    padding: 3.5rem;
    border-radius: var(--radius);
    margin-top: 6rem;
    margin-bottom: 4rem;
    border: 2px solid var(--border-color);
}

.privacy-policy section {
    margin-bottom: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-policy section:last-child {
    margin-bottom: 4rem;
    padding-bottom: 0;
    border-bottom: none;
}

.privacy-policy h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    line-height: 1.3;
}

.privacy-policy h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 3.5rem 0 2.5rem;
    line-height: 1.3;
}

.privacy-policy p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.privacy-policy ul {
    margin: 2rem 0 4rem 1.5rem;
    padding-left: 2rem;
}

.privacy-policy li {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.125rem;
    position: relative;
    padding-left: 1rem;
}

.privacy-policy li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    font-size: 1.5rem;
}

.privacy-policy a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.privacy-policy a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.privacy-policy .disclaimer {
    background-color: var(--surface-color);
    padding: 3.5rem;
    border-radius: var(--radius);
    margin-top: 6rem;
    margin-bottom: 4rem;
    border: 2px solid var(--border-color);
}

@media (max-width: 768px) {
    nav.top-nav {
        padding: 2rem 0 !important;
    }

    .top-nav .nav-container {
        padding: 0 2rem !important;
    }

    .top-nav .nav-container .home-button {
        width: 80px !important;
        height: 80px !important;
        margin: 0.75rem !important;
    }

    .top-nav .nav-container .home-button svg {
        width: 38px !important;
        height: 38px !important;
    }

    .top-nav {
        padding: 2rem 0;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .home-button {
        width: 80px;
        height: 80px;
        margin: 0.75rem;
    }

    .home-button svg {
        width: 38px;
        height: 38px;
    }

    .logo {
        height: 140px;
    }
    
    .logo-section {
        padding: 1.5rem 0;
    }

    .privacy-policy {
        padding: 3rem 1.5rem 4rem;
    }

    .privacy-policy .container {
        padding: 4rem 2rem 5rem;
    }

    .privacy-policy h1 {
        font-size: 2.25rem;
    }

    .privacy-policy h2 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .privacy-policy h3 {
        font-size: 1.375rem;
        margin: 3rem 0 2rem;
    }

    .privacy-policy .intro {
        font-size: 1.125rem;
        padding: 2.5rem;
        margin-bottom: 5rem;
    }

    .privacy-policy section {
        margin-bottom: 5rem;
        padding-bottom: 3rem;
    }

    .privacy-policy section:last-child {
        margin-bottom: 3rem;
    }

    .privacy-policy p {
        margin-bottom: 2rem;
    }

    .privacy-policy li {
        margin-bottom: 1.5rem;
    }

    .privacy-policy .disclaimer {
        padding: 2.5rem;
        margin-top: 5rem;
        margin-bottom: 3rem;
    }

    /* Terms of Service responsive styles */
    .terms-service {
        padding: 3rem 1.5rem 4rem;
    }

    .terms-service .container {
        padding: 4rem 2rem 5rem;
    }

    .terms-service h1 {
        font-size: 2.25rem;
    }

    .terms-service h2 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .terms-service h3 {
        font-size: 1.375rem;
        margin: 3rem 0 2rem;
    }

    .terms-service .intro {
        font-size: 1.125rem;
        padding: 2.5rem;
        margin-bottom: 5rem;
    }

    .terms-service section {
        margin-bottom: 5rem;
        padding-bottom: 3rem;
    }

    .terms-service section:last-child {
        margin-bottom: 3rem;
    }

    .terms-service p {
        margin-bottom: 2rem;
    }

    .terms-service li {
        margin-bottom: 1.5rem;
    }

    .terms-service .disclaimer {
        padding: 2.5rem;
        margin-top: 5rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    nav.top-nav {
        padding: 1.5rem 0 !important;
    }

    .top-nav .nav-container {
        padding: 0 1.5rem !important;
    }

    .top-nav .nav-container .home-button {
        width: 70px !important;
        height: 70px !important;
        margin: 0.5rem !important;
    }

    .top-nav .nav-container .home-button svg {
        width: 32px !important;
        height: 32px !important;
    }

    .top-nav {
        padding: 1.5rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .home-button {
        width: 70px;
        height: 70px;
        margin: 0.5rem;
    }

    .home-button svg {
        width: 32px;
        height: 32px;
    }

    .logo {
        height: 100px;
    }
    
    .logo-section {
        padding: 1rem 0;
    }

    .privacy-policy {
        padding: 2rem 1rem 3rem;
    }

    .privacy-policy .container {
        padding: 3rem 1.5rem 4rem;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .privacy-policy h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .privacy-policy h3 {
        font-size: 1.25rem;
        margin: 2.5rem 0 1.5rem;
    }

    .privacy-policy p,
    .privacy-policy li {
        font-size: 1rem;
    }

    .privacy-policy p {
        margin-bottom: 1.5rem;
    }

    .privacy-policy li {
        margin-bottom: 1.25rem;
    }

    .privacy-policy section {
        margin-bottom: 4rem;
        padding-bottom: 2.5rem;
    }

    .privacy-policy section:last-child {
        margin-bottom: 2rem;
    }

    .privacy-policy .disclaimer {
        padding: 2rem;
        margin-top: 4rem;
        margin-bottom: 2rem;
    }

    /* Terms of Service responsive styles */
    .terms-service {
        padding: 2rem 1rem 3rem;
    }

    .terms-service .container {
        padding: 3rem 1.5rem 4rem;
    }

    .terms-service h1 {
        font-size: 2rem;
    }

    .terms-service h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .terms-service h3 {
        font-size: 1.25rem;
        margin: 2.5rem 0 1.5rem;
    }

    .terms-service p,
    .terms-service li {
        font-size: 1rem;
    }

    .terms-service p {
        margin-bottom: 1.5rem;
    }

    .terms-service li {
        margin-bottom: 1.25rem;
    }

    .terms-service section {
        margin-bottom: 4rem;
        padding-bottom: 2.5rem;
    }

    .terms-service section:last-child {
        margin-bottom: 2rem;
    }

    .terms-service .disclaimer {
        padding: 2rem;
        margin-top: 4rem;
        margin-bottom: 2rem;
    }
}

/* Documentation Page Responsive Styles */
@media (max-width: 768px) {
    .documentation-links {
        grid-template-columns: 1fr;
    }

    .doc-link-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .doc-link-card h2 {
        font-size: 1.25rem;
    }

    .guide-link {
        width: 100%;
        justify-content: center;
    }
}

/* Support Form Responsive Styles */
@media (max-width: 768px) {
    .support-form {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .support-form {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .form-input, .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

/* YouTube Video Section */
.youtube-section {
    background: #f8fafc;
    padding: 4rem 0;
    text-align: center;
}

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

.youtube-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* YouTube Section Responsive Styles */
@media (max-width: 768px) {
    .youtube-section {
        padding: 3rem 0;
    }
    
    .youtube-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .youtube-container {
        max-width: 90%;
        border-radius: 8px;
    }
    
    .youtube-container iframe {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .youtube-section {
        padding: 2rem 0;
    }
    
    .youtube-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .youtube-container {
        max-width: 95%;
        border-radius: 6px;
    }
    
    .youtube-container iframe {
        border-radius: 6px;
    }
}

/* Navigation Responsive Styles */
@media (max-width: 1024px) {
    .nav-links {
        gap: 0.8rem !important;
    }
    
    .nav-links a {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: linear-gradient(135deg, #131B3F 0%, #06b6d4 100%) !important;
        padding: 1rem !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        z-index: 999 !important;
    }
    
    .nav-links a {
        padding: 0.75rem 1rem !important;
        text-align: center !important;
        border-radius: 6px !important;
        font-size: 1rem !important;
    }
    
    .top-nav .nav-container {
        justify-content: space-between !important;
        position: relative !important;
    }
    
    .nav-logo img {
        height: 80px !important;
        min-height: 80px !important;
    }
    
    .top-nav, nav.top-nav {
        padding: 0.2rem 0 !important;
    }
}

@media (max-width: 480px) {
    .nav-links {
        padding: 0.75rem !important;
    }
    
    .nav-links a {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .top-nav, nav.top-nav {
        padding: 0.2rem 0 !important;
    }
    
    .nav-logo img {
        height: 70px !important;
        min-height: 70px !important;
    }
    
    .hero {
        margin-top: 90px !important;
    }
}

/* Navigation hover effects */
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Remove white borders and lines */
.top-nav {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0.3rem 0 !important;
}

.nav-container {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Logo improvements - Force larger size */
.nav-logo img {
    height: 100px !important;
    width: auto !important;
    transition: all 0.3s ease;
    max-height: none !important;
    min-height: 100px !important;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

/* Force navigation height to be smaller */
.top-nav .nav-container {
    padding: 0 2rem !important;
}

/* Override any existing navigation styles */
nav.top-nav {
    padding: 0.3rem 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: linear-gradient(135deg, #131B3F 0%, #06b6d4 100%) !important;
    margin: 0 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

/* Force remove any white lines from body and html */
body {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Remove any white lines from navigation container and all child elements */
.top-nav * {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

.nav-container * {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Force remove any default browser styling */
nav, .top-nav, .nav-container, .nav-logo, .nav-links {
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    box-shadow: 0 0 0 0 transparent !important;
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
}

/* Remove any white space or gaps around navigation */
.top-nav::before,
.top-nav::after,
.nav-container::before,
.nav-container::after {
    display: none !important;
    content: none !important;
}

/* Ensure no white background bleeds through */
.top-nav {
    position: relative !important;
    z-index: 1000 !important;
}

.top-nav::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, #131B3F 0%, #06b6d4 100%) !important;
    z-index: -1 !important;
}

/* Remove any potential white lines from hero section */
.hero {
    border-top: none !important;
    margin-top: 110px !important;
    padding-top: 0 !important;
}



