/* SquishPic Website - Minimal Technical Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Colors - Dark theme with cyan accent */
    --primary: #0ea5e9;
    --primary-glow: rgba(14, 165, 233, 0.4);
    --accent: #22d3ee;
    --success: #10b981;

    --bg-dark: #0a0a0b;
    --bg-surface: #18181b;
    --bg-card: #1f1f23;
    --bg-hover: #27272a;

    --text: #fafafa;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;

    --border: #27272a;
    --border-light: #3f3f46;

    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.15), transparent),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    min-height: 100vh;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.8);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.logo img {
    border-radius: 10px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.8rem;
    background: transparent;
    transition: all 0.2s ease;
}

.lang-switch:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-switch::after {
    display: none;
}

/* Main Content */
main {
    padding-top: 80px;
}

section {
    padding: 5rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta {
    margin: 2.5rem 0;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-badge:hover {
    transform: translateY(-2px);
}

.app-store-badge img {
    height: 54px;
    border-radius: 12px;
}

.requirements {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Features Section */
.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.features-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    padding: 12px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

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

/* Pro Section */
.pro {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
    border-radius: 24px;
    text-align: center;
    margin: 2rem auto;
    padding: 4rem;
    max-width: calc(var(--max-width) - 4rem);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.pro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.pro-tagline {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 100px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    box-shadow: 0 0 30px var(--primary-glow);
    animation: glow 3s ease-in-out infinite;
}

.price-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    margin-left: 0.5rem;
}

.pro-features {
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
}

.pro-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.2s ease;
}

.pro-feature:hover {
    padding-left: 0.5rem;
}

.pro-feature:last-child {
    border-bottom: none;
}

.check {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check svg {
    width: 14px;
    height: 14px;
    stroke: var(--success);
    stroke-width: 2.5;
}

.pro-feature span:last-child {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Screenshot Section */
.screenshot {
    text-align: center;
    padding: 4rem 2rem;
}

.screenshot h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.screenshot-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.screenshot-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.screenshot-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, var(--primary-glow), transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.screenshot-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* Support Section */
.support {
    text-align: center;
    padding: 5rem 2rem;
}

.support h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.support > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 2rem;
}

.email-link:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.support-links {
    margin-top: 2rem;
}

.support-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.support-links a:hover {
    color: var(--primary);
}

/* Privacy Policy Page */
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.privacy-policy section {
    padding: 0;
    margin-bottom: 2rem;
}

.privacy-policy h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    color: var(--text);
}

.privacy-policy p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.privacy-policy ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-policy li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.privacy-policy strong {
    color: var(--text);
}

.privacy-policy a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-policy a:hover {
    color: var(--accent);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .pro {
        margin: 1rem;
        padding: 2.5rem 1.5rem;
    }

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

    .feature-card {
        padding: 1.5rem;
    }
}
