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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-outline {
    background: transparent;
    color: #8B5CF6;
    border: 2px solid #8B5CF6;
}

.btn-outline:hover {
    background: #8B5CF6;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.download-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-button:hover {
    transform: translateY(-2px);
}

.download-svg {
    height: 90px;
    width: auto;
    max-width: 400px;
}

/* Landing Page Layout */
.landing-page {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 100%);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    color: #374151;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.free-trial {
    font-size: 1.1rem;
    font-weight: 600;
    color: #059669;
}

/* Phone Image Container */
.phone-image-container {
    position: relative;
    width: 350px;
    height: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screenshot {
    width: 350px;
    height: 700px;
    border-radius: 50px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.3),
        inset 0 0 0 1px rgba(255,255,255,0.1);
    object-fit: cover;
    position: relative;
    z-index: 2;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* High DPI/Retina display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .phone-screenshot {
        image-rendering: auto;
        /* Use larger dimensions for high-DPI screens */
        transform: scale(1);
    }
}

/* Additional image quality improvements */
.phone-screenshot {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.phone-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 10px solid #000;
    border-radius: 60px;
    z-index: 3;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px #333;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #555 0%, #222 100%);
    border-radius: 2px;
    z-index: 4;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.phone-placeholder {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.placeholder-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.placeholder-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #F3F4F6;
}

.placeholder-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #D1D5DB;
    line-height: 1.4;
}

.placeholder-content strong {
    color: #8B5CF6;
    font-weight: 600;
}

.placeholder-content small {
    font-size: 0.8rem;
    color: #9CA3AF;
    line-height: 1.3;
}

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

.features-section h2 {
    text-align: center;
    color: #1F2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6B7280;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.feature-card h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* Language Section */
.language-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
}

.language-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.language-text h2 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.language-features {
    list-style: none;
}

.language-features li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}



/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: #F9FAFB;
}

.pricing-section h2 {
    text-align: center;
    color: #1F2937;
    margin-bottom: 1rem;
}

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

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.pricing-card.popular {
    border: 3px solid #8B5CF6;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

.price {
    margin-bottom: 2rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1F2937;
}

.period {
    color: #6B7280;
    font-size: 1.1rem;
    display: block;
    margin-top: 0.5rem;
}

.pricing-card .features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-card .features li {
    color: #6B7280;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

/* Document Section */
.document-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FEF3C7 0%, #F59E0B 100%);
}

.document-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.document-text h2 {
    color: #374151;
    margin-bottom: 1.5rem;
}

.document-text p {
    color: #6B7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.document-features {
    list-style: none;
}

.document-features li {
    color: #6B7280;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}



/* Logo Section */
.logo-section {
    padding: 80px 0;
    background: #1F2937;
    text-align: center;
}

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

.aneslate-logo {
    margin-bottom: 2rem;
}

.logo-design {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.logo-circle {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.8;
}

.left-circle {
    left: 0;
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.1) 3px, rgba(255,255,255,0.1) 6px);
}

.right-circle {
    right: 0;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.1) 3px, rgba(255,255,255,0.1) 6px);
}

.logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 40px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
}

.aneslate-logo h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
}

.logo-content p {
    color: #9CA3AF;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    text-align: center;
    color: white;
}

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

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

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

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #9CA3AF;
    font-size: 0.95rem;
}

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

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

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

.footer-section ul li a:hover {
    color: #8B5CF6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .language-content,
    .document-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-image-container {
        width: 300px;
        height: 600px;
    }
    
    .phone-screenshot {
        width: 300px;
        height: 600px;
        border-radius: 43px;
    }
    
    .phone-frame {
        border-radius: 53px;
    }
    
    .phone-placeholder {
        border-radius: 43px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .features-section,
    .language-section,
    .pricing-section,
    .document-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .phone-image-container {
        width: 260px;
        height: 520px;
    }
    
    .phone-screenshot {
        width: 260px;
        height: 520px;
        border-radius: 37px;
    }
    
    .phone-frame {
        border-radius: 47px;
    }
    
    .phone-placeholder {
        border-radius: 37px;
    }
    
    .feature-card,
    .pricing-card {
        padding: 30px 20px;
    }
}

/* Legal Pages Styles */
.legal-page {
    background: white;
    min-height: 100vh;
    padding: 40px 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #E5E7EB;
}

.legal-header h1 {
    color: #1F2937;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #6B7280;
    font-size: 1.1rem;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F3F4F6;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: #1F2937;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.legal-section p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-section li {
    color: #4B5563;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.contact-info {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #374151;
}

.legal-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid #E5E7EB;
    text-align: center;
}

.back-link, .related-link {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover, .related-link:hover {
    color: #7C3AED;
    text-decoration: underline;
}

.legal-footer p {
    margin: 0.5rem 0;
}

/* Responsive styles for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 20px 0;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 0 20px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

/* Form validation styles */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

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

.validation-message {
    color: #e50000;
}

/* Blazor error styles */
.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;
}

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

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