/* 
 * Pics Picker Website Styles
 * Extracted from app/src/main/java/io/picspicker/app/ui/theme/Color.kt & Type.kt
 */

 :root {
    --brand-blue: #2563EB;
    --brand-blue-dark: #60A5FA;
    --brand-blue-container: #DBEAFE;

    --slate-primary: #F8FAFC;
    --slate-surface: #FFFFFF;
    --slate-text-primary: #0F172A;
    --slate-text-secondary: #475569;
    --slate-scrim: rgba(0, 0, 0, 0.6);

    --action-keep: #059669;    /* KeepGreenLight */
    --action-reject: #DC2626;  /* RejectRedLight */
    --action-favorite: #D97706;/* GoldLight */
    --action-undo: #4F46E5;    /* UndoIndigoLight */

    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--slate-primary);
    color: var(--slate-text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: bold;
    color: var(--slate-text-primary);
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-blue-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* Header */
header {
    background-color: var(--slate-surface);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--slate-text-primary);
}

.brand img {
    height: 48px;
    width: 48px;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-blue-container) 0%, var(--slate-primary) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero p.tagline {
    font-size: 1.5rem;
    color: var(--slate-text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--brand-blue);
    color: #FFF !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s ease, background-color 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--brand-blue-dark);
}

/* Screenshots Gallery */
.gallery-section {
    padding: 5rem 0;
    background-color: var(--slate-surface);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.screenshot-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-grid::-webkit-scrollbar {
    height: 8px;
}

.screenshot-grid::-webkit-scrollbar-thumb {
    background-color: var(--slate-text-secondary);
    border-radius: 4px;
}

.screenshot-card {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features */
.features-section {
    padding: 5rem 0;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-item {
    background-color: var(--slate-surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--brand-blue);
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--slate-text-secondary);
}

/* Specific Feature Colors */
.feature-item.keep { border-top-color: var(--action-keep); }
.feature-item.reject { border-top-color: var(--action-reject); }
.feature-item.favorite { border-top-color: var(--action-favorite); }

/* Privacy Wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 4rem auto;
    background: var(--slate-surface);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.content-wrapper h1 {
    font-size: 2.5rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.content-wrapper h2 {
    margin-top: 2rem;
    color: var(--slate-text-primary);
}

.content-wrapper p, .content-wrapper ul {
    color: var(--slate-text-secondary);
    font-size: 1.125rem;
}

/* Footer */
footer {
    background-color: var(--slate-text-primary);
    color: #F8FAFC;
    padding: 3rem 0;
    text-align: center;
}

footer a {
    color: var(--brand-blue-dark);
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p.tagline { font-size: 1.25rem; }
    .nav-links { display: none; }
    .screenshot-card { width: 240px; }
    .content-wrapper { margin: 2rem auto; padding: 2rem; border-radius: 0; }
}
