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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #3c4043;
    background-color: #fff;
    font-weight: 400;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 12px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #3c4043;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: #1a73e8;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Sansita', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: #202124;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 32px;
    max-width: 480px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

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

.store-badge {
    height: 60px;
    width: auto;
    transition: transform 0.2s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

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

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 20px;
    height: 100%;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.preview-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #1a73e8, #34a853);
    border-radius: 50%;
}

.preview-info {
    flex: 1;
}

.preview-name {
    height: 12px;
    background: #e8eaed;
    border-radius: 6px;
    margin-bottom: 6px;
    width: 80px;
}

.preview-status {
    height: 8px;
    background: #f1f3f4;
    border-radius: 4px;
    width: 60px;
}

.preview-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-card {
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa, #e8f0fe);
    border-radius: 12px;
    border: 1px solid #e8eaed;
}

/* Features Section */
.features {
    padding: 140px 0;
    background: #fff;
}

.section-title {
    font-family: 'Sansita', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #202124;
    margin-bottom: 80px;
    letter-spacing: -0.01em;
}

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

.feature-item {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.feature-number {
    width: 64px;
    height: 64px;
    background: #1a73e8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
    margin: 0 auto 24px;
}

.feature-title {
    font-family: 'Sansita', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: #5f6368;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Key Features Section */
.key-features {
    padding: 140px 0;
    background: #f8f9fa;
}

.key-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.key-feature {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.key-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(26, 115, 232, 0.05);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.feature-icon svg {
    transition: transform 0.2s ease;
}

.key-feature:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(26, 115, 232, 0.1);
}

.key-feature:hover .feature-icon svg {
    transform: scale(1.1);
}

.key-feature h3 {
    font-family: 'Sansita', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.key-feature p {
    font-size: 15px;
    line-height: 1.7;
    color: #5f6368;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.key-feature strong {
    color: #1a73e8;
    font-weight: 500;
    display: block;
    margin-top: 8px;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
}

/* App Preview Section */
.app-preview-section {
    padding: 140px 0;
    background: #f8f9fa;
}

.app-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-preview-text {
    max-width: 500px;
}

.app-preview-text .section-title {
    text-align: left;
    margin-bottom: 40px;
    font-size: 40px;
    font-family: 'Sansita', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: #3c4043;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.preview-icon {
    width: 32px;
    height: 32px;
    background: rgba(52, 168, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.phone-screen-content {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
}

.app-interface {
    padding: 24px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.app-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #1a73e8, #34a853);
    border-radius: 50%;
}

.user-name {
    font-family: 'Sansita', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #202124;
    letter-spacing: -0.01em;
}

.user-streak {
    font-size: 12px;
    color: #ea4335;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.daily-goal {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
}

.goal-text {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.goal-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e8eaed;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #34a853);
    border-radius: 3px;
}

.goal-stats {
    font-size: 12px;
    color: #1a73e8;
    font-weight: 500;
}

.book-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.book-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8eaed;
}

.book-card.featured {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(52, 168, 83, 0.05));
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.book-cover {
    width: 50px;
    height: 70px;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    border-radius: 6px;
}

.book-cover.small {
    width: 40px;
    height: 56px;
}

.book-info {
    flex: 1;
}

.book-title {
    font-family: 'Sansita', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.book-author {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 6px;
}

.progress-text {
    font-size: 11px;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

/* Help Section */
.help {
    padding: 140px 0;
    background: #fff;
}

/* Contact Section */
.contact-section {
    padding: 140px 0;
    background: #f8f9fa;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 18px;
    color: #5f6368;
    margin-bottom: 48px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

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

.contact-item {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-item h3 {
    font-family: 'Sansita', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.contact-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.contact-link:hover {
    color: #1557b0;
    text-decoration: underline;
}

.contact-address {
    text-align: left;
}

.contact-address p {
    font-size: 16px;
    line-height: 1.6;
    color: #3c4043;
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.contact-address p:last-child {
    margin-bottom: 0;
}

.help-items {
    max-width: 800px;
    margin: 0 auto;
}

.help-item {
    border-bottom: 1px solid #e8eaed;
}

.help-toggle {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Sansita', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.help-toggle:hover {
    color: #1a73e8;
}

.help-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.help-item.active .help-icon {
    transform: rotate(45deg);
}

.help-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.help-item.active .help-content {
    max-height: 200px;
    padding-bottom: 24px;
}

.help-content p {
    color: #5f6368;
    line-height: 1.7;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 0.01em;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 60px 0 40px;
    border-top: 1px solid #e8eaed;
}

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

.footer-logo-img {
    height: 28px;
    width: auto;
}

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

.footer-link {
    text-decoration: none;
    color: #5f6368;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.footer-link:hover {
    color: #1a73e8;
}

.footer-bottom {
    text-align: center;
    color: #5f6368;
    font-size: 14px;
    font-weight: 300;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
    letter-spacing: 0.01em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    /* Mobile menu open state */
    .nav.mobile-open {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        position: absolute;
        top: 100%;
        right: 20px;
        background: #fff;
        padding: 16px;
        border: 1px solid #e8eaed;
        border-radius: 12px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
        z-index: 1001;
    }

    .mobile-menu-btn {
        display: block !important;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 60px;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .key-features {
        padding: 80px 0;
    }
    
    .key-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .key-feature {
        padding: 24px;
    }
    
    .help {
        padding: 80px 0;
    }
    
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .app-preview-section {
        padding: 80px 0;
    }
    
    .app-preview-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .app-preview-text .section-title {
        text-align: center;
        font-size: 32px;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .store-badge {
        height: 50px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
    }
    
    .app-interface {
        padding: 16px 12px;
        gap: 16px;
    }
}

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

/* Button styles */
.btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.6s ease;
}

.hero-visual {
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Legal Pages Styling */
.legal-page {
    padding: 140px 0 80px;
    background: #fff;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-family: 'Sansita', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.legal-subtitle {
    font-size: 16px;
    color: #5f6368;
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f1f3f4;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Sansita', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #3c4043;
    margin-bottom: 16px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    font-size: 16px;
    line-height: 1.7;
    color: #3c4043;
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.legal-section strong {
    font-weight: 500;
    color: #202124;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 60px;
    }
    
    .legal-title {
        font-size: 36px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 100px 0 40px;
    }
    
    .legal-title {
        font-size: 28px;
    }
    
    .legal-content {
        padding: 0 20px;
    }
    
    .legal-section {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
} 