/* ExamProof App Landing Page Styles */

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

:root {
    --primary-color: #007AFF;
    --primary-dark: #0051D5;
    --secondary-color: #5856D6;
    --text-dark: #1D1D1F;
    --text-light: #86868B;
    --background: #FFFFFF;
    --background-alt: #F5F5F7;
    --border-color: #D2D2D7;
    --success-color: #34C759;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

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

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--background-alt);
    transform: scale(1.1);
}

.lang-btn.active {
    border-color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.app-icon {
    margin-bottom: 30px;
}

.app-icon img {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    background: white;
}

.app-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.app-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-appstore {
    background: white;
    color: var(--text-dark);
}

.btn-appstore:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-playstore {
    background: var(--text-dark);
    color: white;
}

.btn-playstore:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--background);
}

.features h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--background-alt);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--background-alt);
}

.about h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
}

/* Support Section */
.support {
    padding: 80px 20px;
    background: var(--background);
}

.support h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.support p {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-info {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    padding: 30px;
    background: var(--background-alt);
    border-radius: 15px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-title {
        font-size: 36px;
    }
    
    .app-subtitle {
        font-size: 18px;
    }
    
    .features h2,
    .about h2,
    .support h2 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
        padding: 8px;
    }
    
    .lang-btn {
        font-size: 20px;
        padding: 6px 10px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
}

@media (max-width: 480px) {
    .app-icon img {
        width: 100px;
        height: 100px;
    }
    
    .download-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.about p,
.support p {
    animation: fadeIn 0.6s ease-out;
}
