/* 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;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b6b;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b6b;
}

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #222;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

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

.phone-mockup {
    max-width: 300px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #222;
}

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

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

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

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

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

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

/* Screenshots Section */
.screenshots {
    padding: 80px 20px;
    background: white;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #222;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.screenshot {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
}

.screenshot:hover {
    transform: scale(1.05);
}

/* Download Section */
.download {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.download-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.download-btn:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b6b;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Legal Pages */
.legal-page {
    padding: 120px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.last-updated {
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #444;
}

.legal-section p,
.legal-section li {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-page {
        padding: 100px 15px 60px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Support Page Styles */
.support-page {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    min-height: 100vh;
}

.support-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.support-description {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.submit-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Support Info Styles */
.support-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.support-info h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    padding: 20px;
    border: 2px solid #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.contact-method h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-method p {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-method a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #ee5a52;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f8f9fa;
}

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

.modal-body {
    padding: 20px 30px;
}

.modal-body p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: right;
}

/* Active navigation link */
.nav-link.active {
    color: #ff6b6b !important;
    font-weight: 600;
}

/* Responsive Design for Support Page */
@media (max-width: 768px) {
    .support-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .support-page {
        padding: 100px 20px 60px;
    }
    
    .contact-form,
    .support-info {
        padding: 30px 20px;
    }
    
    .support-page h1 {
        font-size: 2rem;
    }
    
    .support-description {
        font-size: 1.1rem;
    }
    
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}