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

:root {
    --maroon: #8B0000;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --light-gold: #F5E6D3;
    --dark-maroon: #5C0000;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%);
    color: var(--white);
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    position: relative;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1.5rem;
    position: relative;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand .app-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    display: block;
}

.nav-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
    color: var(--gold);
    background-color: rgba(212, 175, 55, 0.2);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px 12px;
    gap: 5px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
    text-align: center;
    padding: 0.5rem 0 1rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Main Content Styles */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--white) 100%);
    padding: 3rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.description {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Download Section */
.download {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

.download-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.play-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #000000;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
}

.play-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-color: #1a1a1a;
}

.play-store-btn svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.play-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.play-store-label {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.play-store-name {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2rem;
    color: var(--maroon);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.feature-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.15);
    border-color: var(--gold);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--maroon);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Home Page Content Sections */
.home-content-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.home-content-section.alt-bg {
    background: linear-gradient(135deg, var(--light-gold) 0%, rgba(255, 255, 255, 0.95) 100%);
}

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

.home-content-section .content-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--maroon);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.home-content-section.alt-bg .content-section {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.home-content-section .content-section:last-child {
    margin-bottom: 0;
}

.home-content-section .content-section h3 {
    font-size: 1.25rem;
    color: var(--maroon);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.home-content-section .content-section p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.home-content-section .btn-inline {
    margin-top: 1rem;
    display: inline-block;
}

/* Screenshots Section */
.screenshots {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--white) 100%);
}

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

.screenshot-placeholder {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.placeholder-content span {
    font-size: 4rem;
}

.placeholder-content p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-email {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--maroon);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--maroon);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: var(--maroon);
    color: var(--white);
}

/* Legal Links Section */
.legal-links {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--white) 100%);
}

.legal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--maroon);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-maroon);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--maroon);
    border-color: var(--maroon);
}

.btn-secondary:hover {
    background-color: var(--maroon);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

/* Content Page Styles (Privacy Policy & Terms) */
.content-page {
    padding: 3rem 0;
    background-color: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-content > h2 {
    font-size: 2.2rem;
    color: var(--maroon);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--maroon);
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 600;
}

.content-section h4 {
    font-size: 1.2rem;
    color: var(--maroon);
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
    font-weight: 600;
}

.content-section h5 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
}

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

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-section a {
    color: var(--maroon);
    text-decoration: none;
    font-weight: 600;
}

.content-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background-color: var(--light-gold);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info strong {
    color: var(--maroon);
}

/* Feedback Form Styles */
.feedback-content {
    max-width: 1000px;
}

.feedback-intro {
    background-color: var(--light-gold);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    border-left: 4px solid var(--maroon);
}

.feedback-intro strong {
    color: var(--maroon);
    font-size: 1.1rem;
}

.form-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.google-form-iframe {
    width: 100%;
    border: none;
    display: block;
    min-height: 1200px;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--maroon) 100%);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.footer-nav a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        flex-wrap: nowrap;
        padding: 0.85rem 0;
    }

    .nav-brand .app-name {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 0.8rem;
        padding: 0.4rem 0 0.75rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0.75rem;
        background: linear-gradient(180deg, var(--dark-maroon) 0%, var(--maroon) 100%);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        padding: 0.9rem 1rem;
        text-align: left;
        border-radius: 6px;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.12);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

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

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

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .legal-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-content > h2 {
        font-size: 1.8rem;
    }

    .content-section h3 {
        font-size: 1.3rem;
    }

    .feedback-intro {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .google-form-iframe {
        min-height: 1000px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 1.5rem 0;
    }

    .app-name {
        font-size: 1.3rem;
    }

    .nav-menu {
        margin-top: 0.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .features,
    .screenshots,
    .contact,
    .download,
    .home-content-section {
        padding: 2rem 0;
    }

    .home-content-section .content-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .home-content-section .content-section h3 {
        font-size: 1.15rem;
    }

    .play-store-btn {
        padding: 0.6rem 1.2rem;
    }

    .play-store-btn svg {
        width: 28px;
        height: 28px;
    }

    .play-store-label {
        font-size: 0.65rem;
    }

    .play-store-name {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .legal-content {
        padding: 1rem;
    }

    .feedback-intro {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .google-form-iframe {
        min-height: 900px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .legal-links {
        display: none;
    }

    .content-page {
        padding: 0;
    }

    .legal-content {
        box-shadow: none;
        padding: 0;
    }
}
