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

body {
    font-family: 'Nunito', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    color: #5A3E36;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Background Decoration */
.bg-decoration {
    display: none;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.app-logo img {
    max-width: 400px;
    height: auto;
}

.subtitle {
    font-size: 1.3rem;
    color: #5e514a;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Social Links in Header */
.header .social-links {
    margin-top: 0;
    margin-bottom: 20px;
}

.header .social-links a {
    color: #ff7a42;
    font-size: 1.5rem;
    margin: 0 12px;
    transition: all 0.3s ease;
}

.header .social-links a:hover {
    color: #5A3E36;
    transform: translateY(-3px);
}

/* Promotional App Screenshots Section */
.promo-section {
    margin: 80px 0;
    padding: 0 20px;
}

/* Feature Block - Alternating Layout */
.promo-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding: 0 40px;
}

.promo-block-reverse {
    direction: rtl;
}

.promo-block-reverse > * {
    direction: ltr;
}

/* Content Side */
.promo-content {
    max-width: 550px;
    text-align: left;
}

.promo-title {
    font-size: 2.5rem;
    color: #ff7a42;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: 1.3rem;
    color: #8B4513;
    margin-bottom: 35px;
    line-height: 1.6;
}

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

.promo-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #5A3E36;
    font-size: 1.1rem;
    line-height: 1.6;
}

.promo-features i {
    color: #ff7a42;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.promo-features strong {
    color: #FF6B35;
    font-weight: 700;
}

/* Phone Mockup Side */
.promo-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 390 / 844;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: none;
    overflow: visible;
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px) scale(1.02);
}

/* No Border Phone Mockup - for images with built-in border */
.phone-mockup-no-border {
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.phone-mockup-no-border:hover {
    box-shadow: none;
}

.phone-mockup-no-border .promo-placeholder {
    background: transparent;
    border-radius: 0;
}

.phone-mockup-no-border .promo-placeholder:hover {
    background: transparent;
}

.phone-mockup-no-border .promo-image {
    border-radius: 0;
}

/* Placeholder Styling */
.promo-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0;
    color: #FF6B35;
    transition: all 0.3s ease;
}

.promo-placeholder:hover {
    background: transparent;
}

/* Screenshot Image Styling (when replaced) */
.promo-placeholder img,
.promo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

/* Light/Dark Theme Image Toggle */
.promo-placeholder .dark-theme-image {
    display: none !important;
}

.promo-placeholder .light-theme-image {
    display: block !important;
}

body.dark-theme .promo-placeholder .dark-theme-image {
    display: block !important;
}

body.dark-theme .promo-placeholder .light-theme-image {
    display: none !important;
}

/* App Store Buttons */
.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Mobile Web Version Button */
.web-version-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.web-version-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #5A3E36;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.web-version-btn:hover {
    transform: translateY(-2px);
    background: #6d4d43;
}

.web-version-btn i {
    font-size: 1.3rem;
}

.web-version-btn .fa-arrow-right {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.web-version-btn:hover .fa-arrow-right {
    transform: translateX(5px);
}

/* About Us Section */
.about-us-section {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 30px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
}

.about-us-title {
    font-size: 2.5rem;
    color: #ff7a42;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.about-us-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5A3E36;
    text-align: center;
    font-weight: 500;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ff7a42;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 180px;
}

.store-btn:hover {
    transform: translateY(-3px);
    background: #ff8c5a;
}

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

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
}

.store-title {
    font-size: 1.2rem;
    font-weight: 700;
}

/* User Reviews Section */
.reviews-section {
    margin: 100px 0 60px;
    padding: 60px 20px;
}

.reviews-title {
    font-size: 2.5rem;
    color: #ff7a42;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 800;
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: #5A3E36;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 122, 66, 0.2);
    border-color: rgba(255, 122, 66, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a42, #ff9966);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1.1rem;
    color: #5A3E36;
    font-weight: 700;
    margin: 0;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    color: #FFD700;
    font-size: 1.1rem;
}

.review-stars .fa-star,
.review-stars .fa-star-half-alt {
    color: #FFD700;
}

.review-stars .far.fa-star {
    color: #ddd;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5A3E36;
    margin: 0;
}

/* Coming Soon Alert */
.coming-soon-alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #5a3e36;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(90, 62, 54, 0.4);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
}

.coming-soon-alert.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.coming-soon-alert i {
    font-size: 1.3rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff7a42;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 122, 66, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #ff8c5a;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 122, 66, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 0;
    color: #5e514a;
    font-weight: 600;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(90, 62, 54, 0.2);
    color: #5e514a;
    font-size: 0.95rem;
}

/* Footer Download Section */
.footer-download-section {
    margin: 30px 0;
    padding: 40px 20px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

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

.footer-download-text {
    font-size: 1.2rem;
    color: #5A3E36;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-download-section .store-buttons {
    margin-top: 20px;
}

.footer-download-section .web-version-container {
    margin-top: 20px;
}

/* Footer Links */
.footer-links {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #5A3E36;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.footer-links .separator {
    color: #5A3E36;
    opacity: 0.5;
    margin: 0 5px;
}

/* Theme Switcher */
.theme-switcher {
    position: relative;
    display: inline-block;
    margin: 20px 0;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #5A3E36;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #ff7a42;
}

.theme-toggle i:first-child {
    font-size: 1.2rem;
    color: #ff7a42;
}

.theme-toggle .fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.theme-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.theme-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.theme-menu.show {
    opacity: 1;
    visibility: visible;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #5A3E36;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: 'Nunito', sans-serif;
}

.theme-option:hover {
    background: #fff5f0;
}

.theme-option.active {
    background: #ffe8dc;
    color: #ff7a42;
}

.theme-option i {
    font-size: 1.1rem;
    color: #ff7a42;
    width: 20px;
    text-align: center;
}

/* Dark Theme Styles */
body.dark-theme {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-theme .header,
body.dark-theme .promo-content,
body.dark-theme .footer {
    color: #e0e0e0;
}

body.dark-theme .subtitle,
body.dark-theme .promo-subtitle {
    color: #b0b0b0;
}

body.dark-theme .promo-features li {
    color: #d0d0d0;
}

body.dark-theme .phone-mockup {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.dark-theme .promo-placeholder {
    background: transparent;
}

body.dark-theme .theme-toggle,
body.dark-theme .theme-menu {
    background: #2a2a2a;
    border-color: #404040;
    color: #e0e0e0;
}

body.dark-theme .theme-option {
    color: #e0e0e0;
}

body.dark-theme .theme-option:hover {
    background: #3a3a3a;
}

body.dark-theme .theme-option.active {
    background: #4a3a32;
}

body.dark-theme .footer-links a {
    color: #e0e0e0;
}

body.dark-theme .footer-links a:hover {
    color: #ff7a42;
}

body.dark-theme .footer-links .separator {
    color: #e0e0e0;
}

body.dark-theme .header .social-links a {
    color: #ff7a42;
}

body.dark-theme .header .social-links a:hover {
    color: #ffaa88;
}

body.dark-theme .reviews-subtitle {
    color: #b0b0b0;
}

body.dark-theme .review-card {
    background: #2a2a2a;
    border: 2px solid #505050;
}

body.dark-theme .review-card:hover {
    border-color: rgba(255, 122, 66, 0.5);
    box-shadow: 0 10px 30px rgba(255, 122, 66, 0.3);
}

body.dark-theme .reviewer-name {
    color: #e0e0e0;
}

body.dark-theme .review-text {
    color: #d0d0d0;
}

body.dark-theme .footer-download-text {
    color: #e0e0e0;
}

body.dark-theme .footer-copyright {
    color: #b0b0b0;
    border-top-color: rgba(224, 224, 224, 0.2);
}

body.dark-theme .back-to-top {
    background: #ff7a42;
    box-shadow: 0 4px 15px rgba(255, 122, 66, 0.6);
}

body.dark-theme .back-to-top:hover {
    background: #ff8c5a;
    box-shadow: 0 6px 20px rgba(255, 122, 66, 0.7);
}

body.dark-theme .coming-soon-alert {
    background: #5a3e36;
    box-shadow: 0 8px 25px rgba(90, 62, 54, 0.6);
}

body.dark-theme .about-us-section {
    background: transparent;
    border: none;
}

body.dark-theme .about-us-text {
    color: #d0d0d0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .app-logo img {
        max-width: 300px;
    }
    
    .promo-block {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
        margin-bottom: 80px;
    }
    
    .promo-block-reverse {
        direction: ltr;
    }
    
    .promo-content {
        max-width: 100%;
    }
    
    .promo-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        min-width: 200px;
        justify-content: center;
    }
    
    .web-version-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .about-us-section {
        margin: 40px auto 0;
        padding: 25px 20px;
    }
    
    .about-us-title {
        font-size: 1.8rem;
    }
    
    .about-us-text {
        font-size: 1rem;
    }
    
    .theme-toggle {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .theme-menu {
        min-width: 180px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links .separator {
        display: none;
    }
    
    .reviews-section {
        padding: 40px 15px;
        margin: 60px 0 40px;
    }
    
    .reviews-title {
        font-size: 2rem;
    }
    
    .reviews-subtitle {
        font-size: 1rem;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-download-section {
        padding: 30px 15px;
    }
    
    .footer-logo img {
        max-width: 250px;
    }
    
    .footer-download-text {
        font-size: 1.1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .coming-soon-alert {
        top: 80px;
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .app-logo img {
        max-width: 250px;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .footer-logo img {
        max-width: 200px;
    }
    
    .about-us-section {
        margin: 35px auto 0;
        padding: 20px 15px;
    }
    
    .about-us-title {
        font-size: 1.6rem;
    }
    
    .about-us-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .promo-block {
        padding: 0 15px;
        margin-bottom: 60px;
        gap: 30px;
    }
    
    .promo-title {
        font-size: 1.8rem;
    }
    
    .promo-subtitle {
        font-size: 1rem;
    }
    
    .promo-features li {
        font-size: 0.95rem;
    }
    
    .phone-mockup {
        max-width: 220px;
    }
}
