/* Landing Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.value-propositions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.value-prop:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.value-prop .icon {
    font-size: 1.5rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}

.primary-cta {
    background: #3498db;
    color: white;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    transform: translateY(0);
    display: inline-block;
}

.primary-cta:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.primary-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.primary-cta:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

.primary-cta:disabled:hover {
    transform: translateY(0);
    background: #95a5a6;
}

.info-cta {
    background: #f39c12;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.2);
}

.info-cta:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.info-cta svg {
    flex-shrink: 0;
}

.secondary-cta {
    color: #3498db;
    padding: 14px 28px;
    border: 2px solid #3498db;
    border-radius: 8px;
    text-decoration: none;
    background: transparent;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #2980b9;
    color: #2980b9;
}

.secondary-cta svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(4px);
    }
    60% {
        transform: translateY(2px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(52, 152, 219, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }
}

.primary-cta.pulse {
    animation: pulse 1s ease-in-out 2;
}

/* Comparison Section */
.comparison-section {
    background: #f8f9fa;
    padding: 40px 20px;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

.comparison-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
}

.comparison-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.comparison-item p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.traditional {
    background: #fff5f5;
    border: 2px solid #fed7d7;
}

.our-solution {
    background: #f0fff4;
    border: 2px solid #c6f6d5;
}

.vs-divider {
    font-weight: bold;
    color: #666;
    font-size: 1.5rem;
}

.comparison-icon {
    font-size: 2rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.feature-group {
    margin-bottom: 3rem;
}

.feature-group h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #5a6c7d;
    line-height: 1.5;
}

/* Privacy Section */
.privacy-section {
    background: #e8f4fd;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.privacy-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.privacy-section p {
    color: #5a6c7d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Security Section */
.security-section {
    background: #e8f4fd;
    padding: 40px 20px;
    text-align: center;
}

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

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

.security-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.security-content p {
    color: #5a6c7d;
    line-height: 1.6;
}

.security-technical {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #4a5568;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Existing Users Section */
.existing-users-section {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
}

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

.existing-users-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.existing-users-content p {
    color: #5a6c7d;
    margin-bottom: 1.5rem;
}

.existing-users-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-separator {
    color: #95a5a6;
    font-style: italic;
}

.btn-secondary {
    padding: 12px 24px;
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h3 {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-tagline {
    color: #95a5a6;
    font-style: italic;
    margin: 0 0 0.5rem 0;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-links-inline {
    margin-left: 1rem;
}

.footer-links-inline a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-links-inline a:hover {
    color: #3498db;
}

/* Carousel Sections */
.features-carousel-section,
.privacy-carousel-section,
.how-carousel-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.privacy-carousel-section {
    background: white;
}

.features-carousel-section h2,
.privacy-carousel-section h2,
.how-carousel-section h2,
.create-portal-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.carousel-slide h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.carousel-slide .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-slide p {
    margin: 0 auto 1.5rem;
    max-width: 90%;
    line-height: 1.6;
}

.carousel-slide ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 90%;
    text-align: left;
}

.carousel-slide ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.carousel-slide ul li:last-child {
    border-bottom: none;
}

/* Ensure carousel content stays within bounds */
.carousel-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-slide {
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

/* Pricing Section */
.create-portal-section {
    padding: 60px 20px;
    background: white;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.storage {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1.5rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.pricing-card button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-card .btn-primary {
    background: #3498db;
    color: white;
}

.pricing-card .btn-primary:hover {
    background: #2980b9;
}

.pricing-card .btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.pricing-card .btn-secondary:hover {
    background: #bdc3c7;
}

/* Existing Users Section Update */
.existing-users-section {
    background: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

.existing-users-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.existing-users-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid #e1e4e8;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

/* Privacy Modal Styles */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.privacy-modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.privacy-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.privacy-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-section li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #555;
}

.privacy-section li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.privacy-warning {
    background: #fff4e5;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.privacy-warning h4 {
    color: #e65100;
    margin-bottom: 10px;
}

.privacy-warning ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.privacy-warning li {
    padding: 5px 0 5px 25px;
    position: relative;
}

.privacy-warning li:before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #d84315;
    font-weight: bold;
}

.privacy-commitment-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.checkbox-container {
    display: flex;
    align-items: start;
    cursor: pointer;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-container span {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
}

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

#proceed-to-register {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

#proceed-to-register:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

#proceed-to-register:not(:disabled):hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.learn-more-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.learn-more-link:hover {
    text-decoration: underline;
}

/* Language Selector Improvements */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.lang-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive Design - Enhanced Mobile Support */
@media (max-width: 768px) {
    /* Hero Section Mobile Optimization */
    .hero-section {
        padding: 60px 16px 40px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    /* Value Propositions Mobile */
    .value-propositions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .value-prop {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .value-prop .icon {
        font-size: 1.25rem;
    }
    
    /* Mission Statement Mobile */
    .mission-statement {
        padding: 2.5rem 1.25rem;
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    /* Carousel Mobile Optimization */
    .carousel-container {
        margin: 0 -16px;
        border-radius: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        width: calc(100% + 32px);
        max-width: none;
    }
    
    .carousel-slide {
        padding: 1.5rem 1rem 2.5rem;
        min-height: auto;
    }
    
    .carousel-slide h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .carousel-slide .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-slide p {
        font-size: 0.9rem;
        max-width: 100%;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .carousel-slide ul {
        font-size: 0.85rem;
        padding: 0;
        max-width: 100%;
    }
    
    .carousel-slide ul li {
        padding: 0.35rem 1rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Carousel Navigation Mobile */
    .carousel-nav {
        bottom: 1rem;
        gap: 0.75rem;
    }
    
    .carousel-dot {
        width: 12px;
        height: 12px;
        cursor: pointer;
    }
    
    .carousel-arrows {
        display: none;
    }
    
    /* Comparison Section Mobile */
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-item {
        padding: 1.25rem;
    }
    
    .comparison-item h3 {
        font-size: 1.1rem;
    }
    
    .comparison-item p {
        font-size: 0.95rem;
    }
    
    .vs-divider {
        order: 0;
        font-size: 1.25rem;
        margin: 0.5rem 0;
    }
    
    /* Feature Grid Mobile */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.95rem;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .primary-cta {
        width: 100%;
        padding: 16px 24px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    .info-cta {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .secondary-cta {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Pricing Section Mobile */
    .create-portal-section {
        padding: 3rem 1rem;
    }
    
    .create-portal-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .pricing-card {
        padding: 1.75rem;
        margin: 0 auto;
        max-width: 320px;
        width: 100%;
    }
    
    .pricing-card h3 {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .price span {
        font-size: 0.9rem;
    }
    
    .storage {
        font-size: 1rem;
    }
    
    .pricing-card ul {
        font-size: 0.95rem;
    }
    
    .pricing-card button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Existing Users Section Mobile */
    .existing-users-section {
        padding: 3rem 1rem;
    }
    
    .existing-users-section h2 {
        font-size: 1.75rem;
    }
    
    .existing-users-actions {
        gap: 1rem;
    }
    
    .existing-users-actions .btn-primary,
    .existing-users-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
    }
    
    /* Footer Mobile */
    .site-footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .footer-links-inline {
        display: block;
        margin: 0.75rem 0 0 0;
        line-height: 2;
    }
    
    /* Language Selector Mobile */
    .language-selector {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.95);
        padding: 4px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .lang-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Privacy Modal Mobile */
    .privacy-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 85vh;
    }
    
    .privacy-modal-header {
        padding: 20px;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-close {
        width: 44px;
        height: 44px;
    }
    
    .privacy-modal-body {
        padding: 20px;
    }
    
    .privacy-section h3 {
        font-size: 1.15rem;
    }
    
    .privacy-section p,
    .privacy-section li {
        font-size: 0.95rem;
    }
    
    .checkbox-container span {
        font-size: 1rem;
    }
    
    #proceed-to-register {
        font-size: 1.05rem;
        padding: 14px 24px;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    /* Hero Section Small Mobile */
    .hero-section {
        padding: 50px 15px 35px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.45;
    }
    
    /* Value Props Small Mobile */
    .value-prop {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Mission Statement Small Mobile */
    .mission-statement {
        padding: 2rem 1rem;
        font-size: 1rem;
        line-height: 1.65;
    }
    
    /* Section Headings */
    .features-carousel-section h2,
    .privacy-carousel-section h2,
    .how-carousel-section h2,
    .create-portal-section h2,
    .existing-users-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    /* Carousel Small Mobile */
    .carousel-slide {
        padding: 1.75rem 1.25rem 2.5rem;
    }
    
    .carousel-slide h3 {
        font-size: 1.15rem;
    }
    
    .carousel-slide .feature-icon {
        font-size: 2rem;
    }
    
    .carousel-slide ul {
        font-size: 0.9rem;
    }
    
    /* Touch-friendly carousel dots */
    .carousel-dot {
        width: 14px;
        height: 14px;
        margin: 0 4px;
    }
    
    /* Pricing Cards Small Mobile */
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card h3 {
        font-size: 1.15rem;
    }
    
    .price {
        font-size: 1.75rem;
    }
    
    .pricing-card ul {
        font-size: 0.9rem;
    }
    
    .pricing-card ul li {
        padding: 0.4rem 0;
    }
    
    /* Buttons Small Mobile */
    .primary-cta,
    .info-cta,
    .secondary-cta {
        font-size: 1rem;
        padding: 14px 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    /* Language Selector Small Mobile */
    .language-selector {
        top: 8px;
        right: 8px;
    }
    
    .lang-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        min-width: 40px;
        min-height: 40px;
    }
    
    /* Footer Small Mobile */
    .footer-links-inline {
        font-size: 0.85rem;
    }
    
    .footer-links-inline a {
        display: block;
        padding: 0.25rem 0;
    }
}

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

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Additional Mobile Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Touch-specific styles */
    .carousel-dot,
    .lang-btn,
    .btn-primary,
    .btn-secondary,
    button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Increase touch targets */
    .carousel-dot {
        width: 16px;
        height: 16px;
        margin: 0 6px;
    }
    
    /* Remove hover effects on touch devices */
    .value-prop:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .pricing-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 20px 30px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .carousel-slide {
        padding: 1.5rem 2rem 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 1.25rem;
    }
}

/* High-Resolution Mobile Displays */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px),
       (min-resolution: 192dpi) and (max-width: 768px) {
    /* Sharper shadows for retina displays */
    .value-prop,
    .feature-item,
    .carousel-container,
    .pricing-card {
        box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    }
    
    /* Thinner borders for clarity */
    .pricing-card {
        border-width: 1px;
    }
}

/* Safe Area Support for Notched Devices */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .hero-section {
            padding-top: max(60px, env(safe-area-inset-top) + 40px);
        }
        
        .language-selector {
            top: max(12px, env(safe-area-inset-top));
            right: max(12px, env(safe-area-inset-right));
        }
        
        .site-footer {
            padding-bottom: max(1rem, env(safe-area-inset-bottom));
        }
    }
}

/* Dark Mode Styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    /* Hero Section Dark Mode */
    .hero-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .hero-title {
        color: #ffffff;
    }
    
    .hero-subtitle {
        color: #b0b0b0;
    }
    
    /* Value Props Dark Mode */
    .value-prop {
        background: #1e1e1e;
        color: #e0e0e0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        border: 1px solid #333;
    }
    
    .value-prop:hover {
        background: #252525;
        box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    }
    
    /* Mission Statement Dark Mode */
    .mission-statement {
        color: #d0d0d0;
        background: #1a1a1a;
    }
    
    /* Carousel Dark Mode */
    .carousel-container {
        background: #1e1e1e;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border: 1px solid #333;
    }
    
    .carousel-slide {
        color: #e0e0e0;
    }
    
    .carousel-slide h3 {
        color: #ffffff;
    }
    
    .carousel-slide ul li {
        border-bottom-color: #333;
        color: #d0d0d0;
    }
    
    .carousel-arrow {
        background: rgba(50, 50, 50, 0.9);
        color: #e0e0e0;
        border: 1px solid #444;
    }
    
    .carousel-arrow:hover {
        background: #333;
        border-color: #555;
    }
    
    .carousel-dot {
        background: #444;
    }
    
    .carousel-dot.active {
        background: #4a9eff;
    }
    
    /* Sections Dark Mode */
    .features-carousel-section,
    .privacy-carousel-section,
    .how-carousel-section {
        background: #1a1a1a;
    }
    
    .features-carousel-section h2,
    .privacy-carousel-section h2,
    .how-carousel-section h2,
    .create-portal-section h2,
    .existing-users-section h2 {
        color: #ffffff;
    }
    
    .privacy-carousel-section {
        background: #121212;
    }
    
    .create-portal-section {
        background: #121212;
    }
    
    /* Comparison Section Dark Mode */
    .comparison-section {
        background: #1a1a1a;
    }
    
    .comparison-item {
        color: #e0e0e0;
    }
    
    .comparison-item h3 {
        color: #ffffff;
    }
    
    .traditional {
        background: #2a1a1a;
        border-color: #553333;
    }
    
    .our-solution {
        background: #1a2a1a;
        border-color: #335533;
    }
    
    .vs-divider {
        color: #999;
    }
    
    /* Feature Items Dark Mode */
    .feature-item {
        background: #1e1e1e;
        color: #e0e0e0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        border: 1px solid #333;
    }
    
    .feature-item h4 {
        color: #ffffff;
    }
    
    .feature-item p {
        color: #b0b0b0;
    }
    
    /* Pricing Cards Dark Mode */
    .pricing-card {
        background: #1e1e1e;
        border: 2px solid #333;
        color: #e0e0e0;
    }
    
    .pricing-card:hover {
        border-color: #4a9eff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }
    
    .pricing-card.recommended {
        border-color: #4a9eff;
    }
    
    .pricing-card.recommended::before {
        background: #4a9eff;
    }
    
    .pricing-card h3 {
        color: #ffffff;
    }
    
    .price {
        color: #4a9eff;
    }
    
    .price span {
        color: #999;
    }
    
    .storage {
        color: #b0b0b0;
    }
    
    .pricing-card ul li {
        color: #d0d0d0;
    }
    
    /* Buttons Dark Mode */
    .primary-cta,
    .btn-primary {
        background: #4a9eff;
        color: #ffffff;
    }
    
    .primary-cta:hover,
    .btn-primary:hover {
        background: #357abd;
    }
    
    .secondary-cta,
    .btn-secondary {
        background: transparent;
        color: #4a9eff;
        border-color: #4a9eff;
    }
    
    .secondary-cta:hover,
    .btn-secondary:hover {
        background: rgba(74, 158, 255, 0.1);
        color: #6ab3ff;
        border-color: #6ab3ff;
    }
    
    .info-cta {
        background: #ff9800;
        color: #ffffff;
    }
    
    .info-cta:hover {
        background: #e68900;
    }
    
    /* Existing Users Section Dark Mode */
    .existing-users-section {
        background: #1a1a1a;
    }
    
    .existing-users-content p {
        color: #b0b0b0;
    }
    
    /* Footer Dark Mode */
    .site-footer {
        background: #0a0a0a;
        border-top: 1px solid #333;
    }
    
    .footer-section h3 {
        color: #4a9eff;
    }
    
    .footer-links a {
        color: #b0b0b0;
    }
    
    .footer-links a:hover {
        color: #4a9eff;
    }
    
    .footer-tagline {
        color: #888;
    }
    
    .footer-copyright {
        color: #666;
    }
    
    .footer-links-inline a {
        color: #999;
    }
    
    .footer-links-inline a:hover {
        color: #4a9eff;
    }
    
    /* Language Selector Dark Mode */
    .lang-btn {
        background: #1e1e1e;
        color: #e0e0e0;
        border-color: #444;
    }
    
    .lang-btn:hover {
        border-color: #4a9eff;
        color: #4a9eff;
    }
    
    .lang-btn.active {
        background: #4a9eff;
        color: #ffffff;
        border-color: #4a9eff;
    }
    
    /* Privacy Section Dark Mode */
    .privacy-section {
        background: #1e1e1e;
        border: 1px solid #333;
    }
    
    .privacy-section h3 {
        color: #ffffff;
    }
    
    .privacy-section p {
        color: #b0b0b0;
    }
    
    /* Security Section Dark Mode */
    .security-section {
        background: #1e1e1e;
    }
    
    .security-content h3 {
        color: #ffffff;
    }
    
    .security-content p {
        color: #b0b0b0;
    }
    
    .security-technical {
        color: #999;
    }
}

/* Print styles */
@media print {
    .language-selector,
    .cta-section,
    .site-footer {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
    
    .feature-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}