/* Global Styles */
:root {
    --primary-color: #FF9500; /* System Orange approximation */
    --background-color: #FAF7F2; /* Warm Cream from Theme.swift */
    --text-color: #333333;
    --text-secondary: #666666;
    --white: #FFFFFF;
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout */
.container {
    max-width: 1000px; /* Increased width for 3 cards */
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

/* Header & Nav */
header {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.logo-link {
    display: inline-block;
    margin-bottom: 15px;
}

.logo-img {
    height: 120px; /* Adjust size as needed */
    width: auto;
    display: block;
}

nav {
    margin-top: 10px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Typography */
h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.2;
    font-weight: 800;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* Buttons & Store Badges */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.store-btn img {
    height: 50px;
    width: auto;
    transition: transform 0.2s;
}

.store-btn:hover img {
    transform: scale(1.05);
}

/* Cards & Sections */
.hero {
    text-align: center;
    padding: 40px 0 60px;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 30px;
    font-weight: 400;
}

/* Showcase Grid (New Layout) */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 20px;
    margin-top: 20px;
}

.showcase-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.showcase-image {
    height: 250px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-content {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.showcase-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}


/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 800px) { /* Breakpoint for smaller screens */
    h1 {
        font-size: 2.2rem;
    }
    
    .logo-img {
        height: 100px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile/tablet */
    }
}
