/* Reset and Base Styles - Updated: 2025-07-18 15:16 - Mobile images 20% larger */
:root {
    --app-green: #387a08;
    --app-green-vignette: radial-gradient(circle at center, #7db946 0%, #5d9c0f 20%, #387a08 40%, #042907 80%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
}

/* Sticky Register Badge */
.sticky-register-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--app-green) !important;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.sticky-register-badge:hover {
    background-color: #0f2a11;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.sticky-register-badge:active {
    transform: translateY(0);
}

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

/* Main Content Area */
.main-content {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding-bottom: 120px;
    /* Account for fixed footer navigation */
}

/* Navigation */
.navbar {
    background: var(--app-green-vignette);
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: fixed;
    left: 24px;
    z-index: 1001;
}

.logo {
    height: 52.8px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: none;
}

/* Desktop header navigation */
@media (min-width: 1025px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 16px;
        position: fixed;
        left: 228px;
        z-index: 1001;
    }
}

.nav-link {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 19.36px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 12px 8px 12px;
    border-radius: 8px;
    box-sizing: border-box;
}

.nav-link::before {
    content: '';
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'bootstrap-icons';
    font-size: 21px;
    color: #ffffff;
}

.nav-link[href="#features"]::before {
    content: '\F3E2';
}

.nav-link[href="#about"]::before {
    content: '\F4CF';
}

.nav-link[href="#pricing"]::before {
    content: '\f636';
}

.nav-link.feedback-link::before {
    content: '\f263';
}

.nav-link:hover {
    color: #e0e0e0 !important;
    background-color: rgba(0, 0, 0, 0.3);
}

.nav-link:hover::before {
    color: #e0e0e0 !important;
}
}

.crown-icon {
    font-size: 28px;
    margin-right: 8px;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
}

.nav-link {
    text-decoration: none;
    color: #666666;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #333333;
}

.feedback-link {
    cursor: pointer;
}

.btn-register {
    background-color: var(--app-green) !important;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s ease;
    position: absolute;
    right: 24px;
    border: 1px solid white;
}

.btn-register:hover {
    background-color: #0f2a11;
}

/* Sections */
.section {
    padding: 40px 0 40px 0;
    border-bottom: 1px solid #ccc;
    margin-left: 0px;
    margin-right: 0px;
}

.section:first-of-type {
    margin-top: 0;
}

.section:last-of-type {
    border-bottom: none;
}

.section-heading {
    font-size: 43.2px;
    font-weight: 700;
    line-height: 40px;
    color: #000000;
    margin-bottom: 24px;
    text-align: center;
}

.section-text {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    max-width: 1200px;
    margin: 0 60px;
}

.features-heading {
    font-size: 43.2px;
    font-weight: 700;
    line-height: 56px;
    color: #000000;
    margin-bottom: 24px;
    margin-left: 0;
}

.features-description {
    font-size: 18px;
    line-height: 28px;
    color: #000000;
    margin: 0;
    margin-left: 48px;
}

/* Meal Calendar Section - Reversed layout */
.meal-calendar-reverse {
    grid-template-columns: 1fr 1fr;
}

.meal-calendar-reverse .features-image {
    order: 1;
}

.meal-calendar-reverse .features-text {
    order: 2;
}

.features-text {
    text-align: left;
}

/* Override margins for meal calendar section to bring text closer to image */
.meal-calendar-reverse .features-text .features-heading {
    margin-left: 0;
}

.meal-calendar-reverse .features-text .features-description {
    margin-left: 32px;
}

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

.app-screenshot {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* Recipe scanner specific styling - 60% of original size */
#recipe-scanner .app-screenshot {
    max-width: 300px;
}

/* Social sharing specific styling - 60% of original size */
#share-recipes .app-screenshot {
    max-width: 300px;
}

/* Nutrition calculator specific styling - 75% of original size */
#nutrition-calculator .app-screenshot {
    max-width: 375px;
}

/* Nutrition Calculator Section */
.nutrition-features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 48px;
    padding-left: 27px;
}

.nutrition-features-list li {
    font-size: 18px;
    line-height: 28px;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
}

.nutrition-features-list li::before {
    content: '•';
    font-weight: 700;
    font-size: 36px;
    color: #000000;
    position: absolute;
    left: -42px;
    top: 0;
}

/* Devices Synced Section */
.devices-features-list {
    list-style: none;
    padding: 0;
    margin: 32px auto 40px auto;
    max-width: 600px;
    text-align: left;
    padding-left: 40px;
}

.devices-features-list li {
    font-size: 18px;
    line-height: 28px;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
}

.devices-features-list li::before {
    content: '•';
    font-weight: 700;
    font-size: 36px;
    color: #000000;
    position: absolute;
    left: -42px;
    top: 0;
}

.devices-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 0 auto;
}

.devices-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Desktop margins - 25% left and right */
@media (min-width: 1025px) {
    #devices-synced .section-text {
        margin-left: 25%;
        margin-right: 25%;
    }

    #devices-synced .devices-features-list {
        margin-left: 25%;
        margin-right: 25%;
        text-align: left;
    }
}

/* Tablet and mobile - reduced margins */
@media (max-width: 1024px) {

    #devices-synced .section-text,
    #devices-synced .devices-features-list {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media (max-width: 768px) {

    #devices-synced .section-text,
    #devices-synced .devices-features-list {
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
    }

    .devices-features-list li {
        font-size: 16px;
        line-height: 24px;
        text-align: left;
        margin-left: 15px;
        /* Reduced from 30px by 50% */
    }

    .devices-features-list li::before {
        left: -18px;
        /* Adjusted for proper spacing */
    }

    .nutrition-features-list {
        margin-left: 10px;
        /* Reduced from 20px by 50% */
        margin-right: 10px;
        /* Reduced from 20px by 50% */
        margin-top: 20px;
    }

    .nutrition-features-list li {
        font-size: 16px;
        line-height: 24px;
        margin-left: 15px;
        /* Reduced from 30px by 50% */
        text-align: left;
    }

    .nutrition-features-list li::before {
        left: -18px;
        /* Adjusted for proper spacing */
    }
}

/* Footer */
.footer {
    border-top: 1px solid #e5e5e5;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-text {
    text-align: center;
    font-size: 14px;
    color: #666666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 625px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease-in-out;
    opacity: 0;
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0 24px;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.modal-body {
    padding: 0 24px 24px 24px;
}

.feedback-intro {
    margin-bottom: 24px;
}

.feedback-intro p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.close {
    color: #666666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333333;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.form-actions button[type="button"] {
    background-color: transparent;
    color: #666666;
    padding: 12px 24px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-actions button[type="button"]:hover {
    background-color: #f3f4f6;
    color: #333333;
    border-color: #9ca3af;
}

.form-actions button[type="submit"] {
    background-color: #3b82f6;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-actions button[type="submit"]:hover {
    background-color: #2563eb;
}

/* Footer Navigation - Always Visible - App Style */
.mobile-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #042907 0%, #8BC34A 50%, #042907 100%);
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px 12px 12px;
}

.mobile-nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 21.78px;
    transition: color 0.2s ease;
    padding: 12px 8px;
    border-radius: 6px;
    text-align: center;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-nav-link::before {
    content: '';
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'bootstrap-icons';
    font-size: 22px;
    color: #ffffff;
}

.mobile-nav-link[href="#features"]::before {
    content: '\F3E2';
}

.mobile-nav-link[href="#about"]::before {
    content: '\F4CF';
}

.mobile-nav-link[href="#pricing"]::before {
    content: '\f636';
}

.mobile-nav-link.feedback-link::before {
    content: '\f263';
}

.mobile-nav-link:hover::before {
    color: #ffffff;
}

.mobile-nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .section {
        padding: 20px 0 20px 0;
    }

    .section-heading {
        font-size: 36px;
        line-height: 32px;
        text-align: center;
    }

    .section-text {
        text-align: center;
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    /* Features responsive */
    .features-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        margin: 0 20px;
    }

    .features-text {
        text-align: center;
    }

    /* Meal calendar responsive - reset order on mobile */
    .meal-calendar-reverse .features-image,
    .meal-calendar-reverse .features-text {
        order: unset;
    }

    .features-heading {
        font-size: 32px;
        line-height: 40px;
        margin: 0 auto;
        text-align: center;
    }

    .features-description {
        font-size: 16px;
        line-height: 24px;
        margin: 0 auto;
        margin-top: 20px;
        text-align: center;
    }

    .features-image {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .app-screenshot {
        max-width: 600px;
        margin: 0 auto;
        display: block;
    }

    .mobile-nav-links {
        gap: 12px;
    }

    .mobile-nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }

    /* Center devices section content */
    .devices-image-container {
        margin: 40px auto 0 auto;
        padding: 0 10px;
        /* Reduced from 20px by 50% */
    }

    .devices-image {
        margin: 0 auto;
        display: block;
        max-width: 840px;
        /* 20% larger than 700px */
    }

    /* Center pricing cards */
    .pricing-grid {
        margin: 48px 10px 0 10px;
        /* Reduced from 20px by 50% */
        padding: 0;
    }

    .pricing-card {
        margin: 0 auto;
    }
}

/* Tablet specific styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .mobile-nav-links {
        gap: 20px;
    }

    .mobile-nav-link {
        font-size: 18px;
        padding: 10px 16px;
    }

    .mobile-nav-link::before {
        width: 38px;
        /* 60% larger than mobile 24px */
        height: 38px;
        font-size: 29px;
        /* 60% larger than mobile 18px */
    }

    /* Position sticky register button above tablet navigation */
    .sticky-register-badge {
        bottom: 160px;
        /* Above the tablet footer navigation */
        right: 20px;
        /* Keep right alignment */
    }

    /* Reduce tablet margins by 50% for more content space */
    .section {
        margin-left: 40px;
        /* Reduced from 80px by 50% */
        margin-right: 40px;
        /* Reduced from 80px by 50% */
    }

    .features-content {
        margin: 0 30px;
        /* Reduced from 60px by 50% */
    }

    .container {
        padding: 0 10px;
        /* Reduced from 20px by 50% */
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 20px;
    }

    .crown-icon {
        font-size: 24px;
    }

    .logo {
        height: 58px;
        /* 20% larger than 48px for mobile */
    }

    .devices-image {
        max-width: 840px;
        /* 20% larger than 700px for mobile */
    }

    .section-heading {
        font-size: 28px;
        line-height: 28px;
        text-align: center;
        margin: 0 auto;
    }

    .section-text {
        font-size: 14px;
        line-height: 18px;
        text-align: center;
        padding: 0 15px;
    }

    .container {
        padding: 0 7.5px;
        /* Reduced from 15px by 50% */
    }

    .features-content {
        margin: 0 7.5px;
        /* Reduced from 15px by 50% */
    }

    .features-heading {
        font-size: 28px;
        line-height: 32px;
        margin: 0 auto;
        text-align: center;
    }

    .features-description {
        font-size: 15px;
        line-height: 22px;
        margin: 0 auto;
        margin-top: 20px;
        text-align: center;
    }

    .app-screenshot {
        max-width: 432px;
        /* 20% larger than 360px base mobile size */
        margin: 0 auto;
        display: block;
    }

    .mobile-nav-links {
        gap: 12px;
    }

    .mobile-nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }

    /* Ensure all sections have proper mobile padding */
    #devices-synced .section-text,
    #devices-synced .devices-features-list {
        margin-left: 7.5px;
        /* Reduced from 15px by 50% */
        margin-right: 7.5px;
        /* Reduced from 15px by 50% */
    }

    .nutrition-features-list {
        margin-left: 15px;
        margin-right: 15px;
    }

    .pricing-grid {
        margin: 48px 15px 0 15px;
    }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 48px auto 0;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.pricing-card:not(.featured) {
    border-color: #000000;
    background: #ffffff;
}

.pricing-card.featured {
    border-color: var(--app-green);
    background: #ffffff;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--app-green);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pro-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
}

.pricing-card.featured .plan-name {
    color: var(--app-green);
}

.pricing-card:not(.featured) .plan-name {
    color: #000000;
}

.plan-price {
    margin-bottom: 12px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #333333;
}

.period {
    font-size: 16px;
    color: #666666;
    font-weight: 500;
}

.plan-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

.pricing-features {
    margin-bottom: 32px;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--app-green);
    font-weight: 700;
    margin-right: 18px;
    /* 50% larger than 12px */
    font-size: 24px;
    /* 50% larger than 16px */
}

.feature-item span:last-child {
    font-size: 16.8px;
    color: #333333;
    line-height: 1.5;
}

.pricing-action {
    text-align: center;
}

.btn-pricing {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-green:hover {
    background-color: #0f2a11;
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #000000;
    color: white;
}

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

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

/* Scroll offset for fixed navbar */
.section {
    scroll-margin-top: 80px;
}

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

.footer-text {
    text-align: center;
    color: #4a4a4a;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* Desktop styles - hide mobile footer navigation and sticky register button */
@media (min-width: 1025px) {
    .mobile-footer-nav {
        display: none;
    }

    .sticky-register-badge {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

/* Tablet specific styles - 60% larger icons, 10% smaller text */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        padding-bottom: 140px;
    }

    .mobile-nav-links {
        gap: 8px;
    }

    .mobile-nav-link {
        font-size: 16px;
        /* 10% smaller than mobile 18px */
        padding: 16px 6px;
    }

    .mobile-nav-link::before {
        width: 38px;
        /* 60% larger than mobile 24px */
        height: 38px;
        font-size: 29px;
        /* 60% larger than mobile 18px */
    }

    /* Position sticky register button above tablet navigation */
    .sticky-register-badge {
        bottom: 160px;
        /* Above the tablet footer navigation */
        right: 20px;
        /* Keep right alignment */
    }

    /* Personal AI chef image remains base size for smaller tablets */
    #features .app-screenshot {
        max-width: 600px;
        /* Keep base size for smaller tablets */
    }
}

/* Larger tablets only - personal AI chef image 30% larger */
@media (min-width: 900px) and (max-width: 1024px) {
    #features .app-screenshot {
        max-width: 780px;
        /* 30% larger than 600px base size */
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        padding-bottom: 140px;
    }

    .mobile-nav-links {
        gap: 6px;
    }

    .mobile-nav-link {
        font-size: 16px;
        padding: 16px 6px;
    }

    /* Position sticky register button above mobile navigation */
    .sticky-register-badge {
        bottom: 160px;
        /* Above the mobile footer navigation */
        right: 20px;
        /* Keep right alignment */
    }
}

/* Smaller desktop adjustments - larger image in first section */
@media (max-width: 1200px) and (min-width: 769px) {
    #features .app-screenshot {
        max-width: 700px;
        /* 40% larger for smaller desktops */
    }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .mobile-nav-link {
        font-size: 15px;
        padding: 12px 4px;
    }

    .mobile-nav-link::before {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .mobile-footer-nav {
        padding: 8px 8px 12px 8px;
    }

    /* All images 30% larger on mobile */
    #features .app-screenshot {
        max-width: 468px;
        /* 30% larger than 360px for mobile consistency */
    }

    .devices-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        transform: none !important;
        transform-origin: center !important;
    }

    .logo {
        height: 58px;
        /* 20% larger than 48px for mobile */
    }

    /* Pricing section mobile adjustments - 50% larger checkmarks and text */
    .feature-icon {
        font-size: 24px;
        /* 50% larger than 16px */
        margin-right: 18px;
        /* 50% larger than 12px */
    }

    .feature-item span:last-child {
        font-size: 17px;
        /* 20% larger than 14px */
    }
}

/* Overall analysis: This code reduces tablet margins by 50% to increase content space as requested by the user.*/