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

:root {
    /* StoryBuddy Primary Brand Colors */
    --primary-color: #10A6D0;
    --primary-bg: #128ED0;
    --screen-bg: #F9FAFB;

    /* Semantic Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --error: #EF4444;
    --error-light: #FEE2E2;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --info: #3B82F6;
    --info-light: #DBEAFE;

    /* Subscription Plan Colors */
    --plan-free-start: #6B7280;
    --plan-free-end: #9CA3AF;
    --plan-basic-start: #10B981;
    --plan-basic-end: #34D399;
    --plan-premium-start: #F59E0B;
    --plan-premium-end: #FBBF24;
    --plan-deluxe-start: #8B5CF6;
    --plan-deluxe-end: #A78BFA;

    /* Achievement Rarity Colors */
    --rarity-common-start: #6B7280;
    --rarity-common-end: #9CA3AF;
    --rarity-rare-start: #3B82F6;
    --rarity-rare-end: #60A5FA;
    --rarity-epic-start: #8B5CF6;
    --rarity-epic-end: #A78BFA;
    --rarity-legendary-start: #F59E0B;
    --rarity-legendary-end: #FBBF24;

    /* Grayscale (Text & UI) */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --border-color: #E5E7EB;
    --bg-white: #FFFFFF;
    --bg-gray-50: #F9FAFB;
    --bg-gray-100: #F3F4F6;

    /* Shadows */
    --shadow: 0 10px 15px -3px rgba(16, 166, 208, 0.1), 0 4px 6px -2px rgba(16, 166, 208, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(16, 166, 208, 0.15), 0 10px 10px -5px rgba(16, 166, 208, 0.08);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-links a,
    .footer-links a,
    button,
    input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 5rem;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-bg) 100%);
    color: white;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #1f2937;
    color: white;
    border: 2px solid #1f2937;
}

.btn-primary:hover {
    background: #111827;
    border-color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #1f2937;
    color: white;
}

.btn-secondary:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.app-store-btn,
.google-play-btn {
    min-width: 160px;
}

.app-icon {
    width: 32px;
    height: 32px;
}

.btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn strong {
    font-size: 1rem;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

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

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

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

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-bg));
}

.feature-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--plan-basic-start), var(--plan-basic-end));
}

.feature-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--rarity-rare-start), var(--rarity-rare-end));
}

.feature-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--plan-premium-start), var(--plan-premium-end));
}

.feature-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--plan-deluxe-start), var(--plan-deluxe-end));
}

.feature-card:nth-child(5)::before {
    background: linear-gradient(90deg, var(--success), var(--plan-basic-end));
}

.feature-card:nth-child(6)::before {
    background: linear-gradient(90deg, var(--rarity-legendary-start), var(--rarity-legendary-end));
}

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

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

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

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

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.about-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    padding: 1.5rem;
    background: var(--bg-gray-50);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.stat:nth-child(1)::before {
    background: linear-gradient(90deg, var(--plan-premium-start), var(--plan-premium-end));
}

.stat:nth-child(2)::before {
    background: linear-gradient(90deg, var(--plan-deluxe-start), var(--plan-deluxe-end));
}

.stat:nth-child(3)::before {
    background: linear-gradient(90deg, var(--plan-basic-start), var(--plan-basic-end));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-white);
}

.pricing .container {
    max-width: 1400px;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card-popular {
    border: 3px solid var(--plan-premium-start);
}

.pricing-card-best {
    border: 3px solid var(--plan-deluxe-start);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: -35px;
    background: linear-gradient(135deg, var(--plan-premium-start), var(--plan-premium-end));
    color: white;
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pricing-card-best .popular-badge {
    background: linear-gradient(135deg, var(--plan-deluxe-start), var(--plan-deluxe-end));
}

.plan-header {
    padding: 2rem;
    color: white;
    text-align: center;
}

.plan-free {
    background: linear-gradient(135deg, var(--plan-free-start), var(--plan-free-end));
}

.plan-basic {
    background: linear-gradient(135deg, var(--plan-basic-start), var(--plan-basic-end));
}

.plan-premium {
    background: linear-gradient(135deg, var(--plan-premium-start), var(--plan-premium-end));
}

.plan-deluxe {
    background: linear-gradient(135deg, var(--plan-deluxe-start), var(--plan-deluxe-end));
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.plan-tagline {
    font-size: 0.9375rem;
    opacity: 0.95;
    font-weight: 500;
}

.plan-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.plan-features li strong {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.plan-cta {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.plan-cta-free {
    background: linear-gradient(135deg, var(--plan-free-start), var(--plan-free-end));
}

.plan-cta-free:hover {
    background: linear-gradient(135deg, var(--plan-free-end), var(--plan-free-start));
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(107, 114, 128, 0.3);
}

.plan-cta-basic {
    background: linear-gradient(135deg, var(--plan-basic-start), var(--plan-basic-end));
}

.plan-cta-basic:hover {
    background: linear-gradient(135deg, var(--plan-basic-end), var(--plan-basic-start));
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.plan-cta-premium {
    background: linear-gradient(135deg, var(--plan-premium-start), var(--plan-premium-end));
}

.plan-cta-premium:hover {
    background: linear-gradient(135deg, var(--plan-premium-end), var(--plan-premium-start));
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.plan-cta-deluxe {
    background: linear-gradient(135deg, var(--plan-deluxe-start), var(--plan-deluxe-end));
}

.plan-cta-deluxe:hover {
    background: linear-gradient(135deg, var(--plan-deluxe-end), var(--plan-deluxe-start));
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-gray-50);
    border-radius: 12px;
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}


/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-gray-50);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 166, 208, 0.15);
}

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

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-bg));
    color: white;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-bg), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 166, 208, 0.3);
}

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

.download .section-title {
    color: white;
}

.download-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Privacy Policy Page */
.privacy-policy {
    padding: 100px 0;
    background: var(--bg-white);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.policy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.policy-section ul,
.policy-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 1.0625rem;
}

.policy-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--primary-bg);
    text-decoration: underline;
}

.contact-info-list {
    list-style: none;
    margin-left: 0;
}

.contact-info-list li {
    margin-bottom: 0.5rem;
}

.policy-footer {
    text-align: center;
    font-size: 1.125rem;
    padding: 2rem;
    background: var(--bg-gray-50);
    border-radius: 12px;
    margin-top: 2rem;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */

/* Large Desktop (1200px+) - Default styles already optimized */

/* Medium Desktop/Laptop (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 30px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .features,
    .about,
    .contact,
    .download {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-content {
        gap: 3rem;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 20px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo-img {
        height: 4rem;
        max-width: 300px;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .popular-badge {
        font-size: 0.7rem;
        padding: 5px 35px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .preview-icon {
        font-size: 3rem;
    }

    .app-preview h3 {
        font-size: 1.25rem;
    }

    .features,
    .about,
    .contact,
    .download {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

/* Mobile Landscape/Large Mobile (481px - 575px) */
@media (max-width: 575px) {
    .nav-links {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .app-store-btn,
    .google-play-btn {
        min-width: 100%;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .download-buttons .btn {
        width: 100%;
    }

    .feature-card {
        text-align: center;
    }

    .feature-card h3,
    .info-card h3 {
        font-size: 1.125rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 3.5rem;
        max-width: 260px;
    }

    .nav-links {
        gap: 0.35rem;
        font-size: 0.7rem;
    }

    .nav-links a {
        padding: 0.25rem 0.35rem;
    }

    .pricing-grid {
        gap: 1.25rem;
    }

    .plan-header {
        padding: 1.5rem;
    }

    .plan-name {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .plan-body {
        padding: 1.5rem;
    }

    .plan-features li {
        padding: 0.625rem 0;
        font-size: 0.9375rem;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 10px;
    }

    .phone-screen {
        border-radius: 25px;
    }

    .preview-icon {
        font-size: 2.5rem;
    }

    .app-preview h3 {
        font-size: 1.125rem;
    }

    .app-preview p {
        font-size: 0.875rem;
    }

    .features,
    .about,
    .contact,
    .download {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-subtitle,
    .download-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-card,
    .info-card {
        padding: 1.25rem;
        text-align: center;
    }

    .feature-icon,
    .info-icon {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

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

    .form-group label {
        font-size: 0.9375rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9375rem;
    }

    .btn-submit {
        padding: 12px 20px;
        font-size: 0.9375rem;
    }

    .app-icon {
        width: 28px;
        height: 28px;
    }

    .btn small {
        font-size: 0.625rem;
    }

    .btn strong {
        font-size: 0.9375rem;
    }

    footer {
        padding: 1.5rem 0;
        font-size: 0.875rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .nav-links a {
        font-size: 0.7rem;
        padding: 0.25rem;
    }

    .logo-img {
        height: 3rem;
        max-width: 220px;
    }
}
