/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #333;
}

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

/* Header styles */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.logo-container a:hover {
    color: #2563eb;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.desktop-nav {
    display: none;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: #333;
}

.desktop-nav a:hover {
    text-decoration: underline;
}

/* Button styles */
.download-btn, .primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.download-btn {
    background-color: #2563eb;
    color: white;
    border: none;
}

.download-btn:hover {
    background-color: #1d4ed8;
}

.primary-btn {
    background-color: #2563eb;
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #1d4ed8;
}

.primary-btn.light {
    background-color: white;
    color: #2563eb;
}

.primary-btn.light:hover {
    background-color: #f8fafc;
}

.secondary-btn {
    background-color: transparent;
    color: #333;
    border: 1px solid #e5e7eb;
}

.secondary-btn:hover {
    background-color: #f8fafc;
}

.secondary-btn.light {
    color: white;
    border-color: white;
}

.secondary-btn.light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero section */
.hero-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #eff6ff, white);
}

.hero-content {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.hero-text h1 {
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

.hero-text p {
    max-width: 36rem;
    color: #6b7280;
    font-size: 1.125rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 400px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.features {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feature i {
    color: #22c55e;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    margin: 0 auto;
    border-radius: 40px;
    border: 8px solid #1f2937;
    background-color: #1f2937;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5rem;
    background-color: #1f2937;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 10;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Features section */
.features-section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #dbeafe;
    color: #1d4ed8;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 48rem;
    margin: 0 auto;
    color: #6b7280;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    text-align: center;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6b7280;
}

/* Practice modes section */
.practice-modes-section {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.modes-content {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .modes-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.modes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mode-item {
    display: flex;
    gap: 1rem;
}

.mode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #dbeafe;
    color: #2563eb;
    flex-shrink: 0;
}

.mode-info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.mode-info p {
    color: #6b7280;
}

.modes-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.modes-images .phone-frame {
    width: 180px;
    height: 380px;
    border-radius: 30px;
}

.modes-images .phone-frame::before {
    height: 1rem;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.modes-images .phone-frame img {
    border-radius: 18px;
}

.modes-images .phone-frame:last-child {
    margin-top: 2rem;
}

/* Testimonials section */
.testimonials-section {
    padding: 3rem 0;
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
}

.testimonial-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1rem;
}

.author-name {
    font-weight: 600;
}

.author-date {
    font-size: 0.875rem;
    color: #6b7280;
}

/* FAQ section */
.faq-section {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.faq-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.faq-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.faq-card p {
    color: #6b7280;
}

/* CTA section */
.cta-section {
    padding: 3rem 0;
    background-color: #2563eb;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #dbeafe;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 400px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
footer {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    footer .container {
        flex-direction: row;
        justify-content: space-between;
        height: 6rem;
    }
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Privacy Policy Styles */
.privacy-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-block {
    margin-bottom: 2rem;
}

.privacy-block h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.privacy-block h3 {
    color: #34495e;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.privacy-block p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-block ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-block li {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 1.5rem;
    }
    
    .privacy-block h2 {
        font-size: 1.3rem;
    }
    
    .privacy-block h3 {
        font-size: 1.1rem;
    }
}

/* Contact form styles */
.contact-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #1d4ed8;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .contact-form {
        padding: 1.5rem;
    }
} 