/* 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);
}

.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;
}

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

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

.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-large {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    height: 66px;
}

.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: space-between;
    width: 100%;
    margin-bottom: 0.5rem;
}

.hero-logo .logo {
    height: 440px;
    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: 80px;
    box-sizing: border-box;
}

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

.download-image-xl {
    height: 65px;
    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);
}

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

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

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

.feature-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 64px;
    height: 64px;
}

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

.feature-card p {
    color: var(--text-secondary);
}

/* 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-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;
    }
    
    .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,
    .benefits,
    .pricing,
    .trust,
    .cta {
        padding: 4rem 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, var(--primary-color) 0%, var(--accent-color) 100%) !important;
    padding: 3rem 0 !important;
    box-shadow: var(--shadow-lg) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 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 */
.top-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 3rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.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;
    }
}



