/* Wyoming DMV Prep - Main Stylesheet */
/* Color Palette based on Wyoming Flag */

:root {
    --wyoming-navy: #1B2A4A;
    --wyoming-blue: #2C3E6B;
    --wyoming-red: #C4363A;
    --wyoming-gold: #D4A843;
    --wyoming-white: #FFFFFF;
    --wyoming-light-gray: #F5F5F5;
    --wyoming-dark-gray: #333333;
    --wyoming-text: #2C3E6B;
}

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

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--wyoming-navy) 0%, var(--wyoming-blue) 100%);
    color: var(--wyoming-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--wyoming-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: var(--wyoming-gold);
    border-bottom-color: var(--wyoming-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--wyoming-navy) 0%, var(--wyoming-blue) 100%);
    color: var(--wyoming-white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(212,168,67,0.1)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-icon {
    font-size: 6rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0.5rem;
}

.btn-primary {
    background: var(--wyoming-red);
    color: var(--wyoming-white);
    box-shadow: 0 4px 15px rgba(196, 54, 58, 0.3);
}

.btn-primary:hover {
    background: #a82d30;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 54, 58, 0.4);
}

.btn-secondary {
    background: var(--wyoming-gold);
    color: var(--wyoming-navy);
}

.btn-secondary:hover {
    background: #c49a35;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--wyoming-white);
    border: 2px solid var(--wyoming-white);
}

.btn-outline:hover {
    background: var(--wyoming-white);
    color: var(--wyoming-navy);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--wyoming-navy);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--wyoming-red);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--wyoming-blue);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--wyoming-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--wyoming-gold);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.feature-card h3 {
    color: var(--wyoming-navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

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

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

.license-card {
    background: linear-gradient(135deg, var(--wyoming-navy) 0%, var(--wyoming-blue) 100%);
    color: var(--wyoming-white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.license-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(27, 42, 74, 0.3);
}

.license-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.license-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Pricing Section */
.pricing-section {
    background: var(--wyoming-light-gray);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--wyoming-white);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--wyoming-gold);
}

.pricing-title {
    font-size: 2rem;
    color: var(--wyoming-navy);
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 3rem;
    color: var(--wyoming-red);
    font-weight: bold;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--wyoming-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Screenshots */
.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.screenshot {
    width: 200px;
    height: 400px;
    background: linear-gradient(135deg, var(--wyoming-navy) 0%, var(--wyoming-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wyoming-white);
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--wyoming-gold);
}

/* Footer */
footer {
    background: var(--wyoming-navy);
    color: var(--wyoming-white);
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

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

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

.footer-section h4 {
    color: var(--wyoming-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--wyoming-white);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h1 {
    color: var(--wyoming-navy);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--wyoming-red);
}

.legal-content h2 {
    color: var(--wyoming-blue);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--wyoming-text);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--wyoming-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--wyoming-gold);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .features-grid,
    .license-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-container {
        flex-direction: column;
        align-items: center;
    }

    .screenshot {
        width: 250px;
        height: 500px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.highlight {
    color: var(--wyoming-red);
    font-weight: bold;
}

.gold-text {
    color: var(--wyoming-gold);
}
