/* Premium CSS Variables */
:root {
    --primary-color: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --secondary-color: #7C3AED;
    --accent-color: #EC4899;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --background-primary: #FFFFFF;
    --background-secondary: #F9FAFB;
    --background-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-premium: linear-gradient(135deg, #2563EB, #7C3AED, #EC4899);
}

[data-theme="dark"] {
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-tertiary: #9CA3AF;
    --background-primary: #111827;
    --background-secondary: #1F2937;
    --background-tertiary: #374151;
    --border-color: #374151;
    --border-light: #4B5563;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.35), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--background-primary);
    transition: var(--transition-slow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.95);
}

.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: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: var(--bg-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.app-showcase {
    position: relative;
}

.app-screenshot {
    width: 100%;
    max-width: 300px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page */
.contact-hero {
    padding: 140px 0 40px;
    background: var(--background-secondary);
}

.contact-section {
    padding: 20px 0 80px;
}

.contact-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
}

@media (max-width: 900px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 700px) {
    .form-grid { grid-template-columns: 1fr; }
}

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

.input, .textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--background-secondary);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.input:focus, .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: var(--background-primary);
}

.contact-info {
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
}

.contact-info h3 { margin-bottom: 12px; }

.contact-info ul { list-style: none; }

.contact-info li { 
    margin: 10px 0; 
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Email link readability */
.email-link {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
}
.email-link:hover {
    text-decoration: underline;
}
[data-theme="dark"] .email-link {
    color: #FFFFFF;
}

/* Soon tag styling */
.soon-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.7em;
    font-weight: 600;
    padding: 0.2em 0.6em;
    border-radius: 12px;
    margin-left: 0.5em;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* New form elements for redesigned contact page */
.select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--background-secondary);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-tertiary) 50%),
                      linear-gradient(135deg, var(--text-tertiary) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: var(--background-primary);
}

.help-text {
    font-weight: 400;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-left: 6px;
}

.inline-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.slider {
    width: 100%;
}

.conditional-group {
    border: 1px dashed var(--border-color);
    padding: 16px;
    border-radius: var(--radius);
    margin: 8px 0 16px;
    background: var(--background-secondary);
}

[data-theme="dark"] .conditional-group {
    border-color: var(--border-light);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* Methods Section */
.methods {
    padding: 100px 0;
    background: var(--bg-primary);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.method-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.method-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.method-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.method-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--bg-gradient);
    color: white;
    text-align: center;
}

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

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    color: white;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin: 40px 0;
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.app-store-btn i {
    font-size: 2rem;
}

.app-store-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-store-btn span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.app-store-btn strong {
    font-size: 1.5rem;
    font-weight: 600;
}

.app-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.feature-item i {
    color: var(--success-color);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    color: var(--text-secondary);
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .app-features {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .method-card {
        padding: 24px 20px;
    }
}

/* Dark Mode Toggle (Optional) */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.theme-toggle:hover {
    transform: scale(1.1);
}