:root {
    --primary-gold: #C5A028;
    --secondary-gold: #E5C76B;
    --light-bg: #FFFFFF;
    --off-white: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --gold-gradient: linear-gradient(135deg, #C5A028 0%, #F1D279 50%, #C5A028 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 30px rgba(197, 160, 40, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 10%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 160, 40, 0.1);
    box-shadow: var(--shadow-soft);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.logo-container span {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 40, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 900px;
}

.hero-content img.main-logo {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 40px rgba(197, 160, 40, 0.15);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 3.5rem;
    background: var(--gold-gradient);
    color: #FFF;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-gold);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(197, 160, 40, 0.3);
}

/* Section Styling */
section {
    padding: 100px 10%;
}

.content-guide {
    background-color: var(--off-white);
    border-radius: 30px;
    padding: 80px 10%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.content-guide h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #000;
    margin-bottom: 3rem;
}

.content-guide h3 {
    margin-top: 3.5rem;
    font-size: 1.6rem;
    color: var(--primary-gold);
    border-bottom: 2px solid var(--secondary-gold);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 1.5rem;
}

.content-guide p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Variations Grid */
.variations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.variation-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.variation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.variation-card h3 {
    margin-top: 0;
    border-bottom: none;
    font-size: 1.4rem;
}

/* Recommended Apps Section */
.recommended-apps {
    padding: 80px 10%;
    background: var(--off-white);
}

.recommended-apps h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #000;
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.app-card {
    display: flex;
    align-items: center;
    background: #FFF;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ccc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-card.card-red {
    border-left-color: #EF4444;
}

.app-card.card-blue {
    border-left-color: #3B82F6;
}

.app-card.card-green {
    border-left-color: #10B981;
}

.app-icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.app-icon img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.app-details {
    flex-grow: 1;
    margin-right: 1.5rem;
}

.app-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--text-main);
}

.app-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.app-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.app-withdrawal {
    font-size: 0.9rem;
    color: #10B981;
    /* Green text */
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.app-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.app-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.download-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #2563EB;
    /* Blue shade */
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.download-btn:hover {
    background: #1D4ED8;
}

.app-rating {
    color: #F59E0B;
    /* Amber/Gold */
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Mobile Responsive for Apps */
@media (max-width: 768px) {
    .app-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .app-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .app-details {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .app-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .app-action {
        width: 100%;
    }

    .download-btn {
        width: 100%;
        text-align: center;
    }
}

/* Screenshots Section */
.screenshots-section {
    text-align: center;
    background: var(--light-bg);
    padding: 100px 10%;
}

.screenshots-section h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.screenshots-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(197, 160, 40, 0.2);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.screenshot-card:hover img {
    transform: scale(1.03);
}

.screenshots-cta {
    margin-top: 3.5rem;
}

/* Footer */
footer {
    padding: 80px 10% 40px 10%;
    text-align: center;
    background: #FFF;
}

.footer-links {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    font-size: 0.9rem;
    color: #999;
}

/* Inner Pages */
.page-header {
    padding: 140px 10% 60px 10%;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(197, 160, 40, 0.06) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 2.8rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 5%;
}

.page-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    color: var(--primary-gold);
    border-bottom: 2px solid var(--secondary-gold);
    display: inline-block;
    padding-bottom: 4px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p,
.page-content li {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 40, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gold-gradient);
    color: #FFF;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-gold);
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(197, 160, 40, 0.3);
}

/* App Store Page Styles */
.app-store-container {
    max-width: 800px;
    margin: 100px auto 60px auto;
    padding: 0 5%;
}

.app-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.app-main-icon {
    width: 118px;
    height: 118px;
    border-radius: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.app-header-info {
    flex: 1;
}

.app-header-info h1 {
    font-size: 1.8rem;
    margin: 0 0 0.2rem 0;
    color: #000;
}

.developer-name {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.app-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: #F3F4F6;
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.get-button {
    display: inline-block;
    background: #007AFF;
    /* standard app store blue */
    color: white;
    padding: 0.4rem 1.8rem;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    margin-bottom: 2rem;
    overflow-x: auto;
    /* for very small screens */
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
    border-right: 1px solid #EEE;
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    display: block;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #999;
}

.app-screenshots {
    margin-bottom: 2.5rem;
}

.app-screenshots h2,
.app-description h2,
.app-reviews h2 {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

/* Reuse screenshot gallery styles but adjust margin */
.app-store-container .screenshots-gallery {
    margin: 0;
    padding-bottom: 1rem;
}

.app-description {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #EEE;
    padding-bottom: 1.5rem;
}

.app-reviews {
    margin-bottom: 3rem;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviews-header a {
    color: #007AFF;
    text-decoration: none;
    font-size: 0.95rem;
}

.review-card {
    background: #F9FAFB;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.review-stars {
    color: #F59E0B;
}

.review-date {
    color: #BBB;
}

.review-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #000;
}

.reviewer {
    text-align: right;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Mobile App Store */
@media (max-width: 600px) {
    .app-header {
        flex-direction: row;
        /* Keep icon side-by-side on mobile */
    }

    .app-main-icon {
        width: 100px;
        height: 100px;
    }

    .app-header-info h1 {
        font-size: 1.5rem;
    }

    .stats-bar {
        padding: 1rem 0;
    }

    .stat-value {
        font-size: 1rem;
    }
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--primary-gold);
    text-decoration: none;
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.blog-card-banner {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card-banner.banner-gold {
    background: linear-gradient(135deg, #C5A028 0%, #F1D279 50%, #E5C76B 100%);
}

.blog-card-banner.banner-teal {
    background: linear-gradient(135deg, #0D9488 0%, #5EEAD4 50%, #14B8A6 100%);
}

.blog-card-banner.banner-violet {
    background: linear-gradient(135deg, #7C3AED 0%, #C4B5FD 50%, #8B5CF6 100%);
}

.blog-card-banner.banner-rose {
    background: linear-gradient(135deg, #E11D48 0%, #FDA4AF 50%, #F43F5E 100%);
}

.blog-card-banner.banner-amber {
    background: linear-gradient(135deg, #D97706 0%, #FCD34D 50%, #F59E0B 100%);
}

.blog-card-banner.banner-sky {
    background: linear-gradient(135deg, #0369A1 0%, #7DD3FC 50%, #0EA5E9 100%);
}

.blog-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body .blog-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(197, 160, 40, 0.1);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.blog-card-body h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    border-bottom: none;
    margin-top: 0;
    line-height: 1.3;
}

.blog-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-body .read-more {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.blog-card-body .read-more:hover {
    color: var(--secondary-gold);
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.8rem;
    color: #999;
}

@media (max-width: 768px) {

    /* Navigation - stack logo and button vertically */
    nav {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 5%;
    }

    .logo-container img {
        width: 36px;
        height: 36px;
    }

    .logo-container span {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.75rem 2rem;
        font-size: 0.85rem;
        width: auto;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 5% 60px 5%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content img.main-logo {
        width: 110px;
        height: 110px;
        border-radius: 28px;
        margin-bottom: 1.5rem;
    }

    /* Sections */
    section {
        padding: 60px 5%;
    }

    .content-guide {
        padding: 40px 5%;
        border-radius: 20px;
    }

    .content-guide h2 {
        font-size: 1.8rem;
    }

    .content-guide h3 {
        font-size: 1.3rem;
    }

    .content-guide p {
        font-size: 1rem;
    }

    /* Variations Grid */
    .variations-grid {
        grid-template-columns: 1fr;
    }

    /* Inner Pages */
    .page-header {
        padding: 110px 5% 40px 5%;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .page-content {
        padding: 40px 5%;
    }

    .page-content h2 {
        font-size: 1.4rem;
    }

    .app-store-container {
        margin-top: 160px;
    }

    /* Contact */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-banner {
        height: 150px;
        font-size: 3rem;
    }

    .blog-card-body {
        padding: 1.25rem;
    }

    .blog-card-meta {
        padding: 0.75rem 1.25rem;
    }

    /* Screenshots */
    .screenshots-section {
        padding: 60px 5%;
    }

    .screenshots-section h2 {
        font-size: 1.8rem;
    }

    .screenshots-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .screenshots-gallery {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .screenshots-gallery::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .screenshot-card {
        flex: 0 0 50vw;
        width: 50vw;
        scroll-snap-align: center;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .screenshots-cta {
        margin-top: 2rem;
    }

    /* Footer */
    footer {
        padding: 50px 5% 30px 5%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.8rem;
    }
}