/* ═══════════════════════════════════
   Pin Snap — Landing Page Styles
   ═══════════════════════════════════ */

:root {
    --primary: #1B6B4A;
    --primary-light: #2E8B63;
    --primary-dark: #0D4A30;
    --accent: #FF6B35;
    --gold: #FFD54F;
    --bg: #FAFBFC;
    --bg-dark: #0B1A12;
    --card: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #6B7280;
    --border: #E5E7EB;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ─── Navigation ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

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

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(27, 107, 74, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 107, 74, 0.4);
}

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

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

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 10px;
    background: var(--primary);
    color: white !important;
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 14px;
}

/* ─── Badge ─── */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(27, 107, 74, 0.1);
    color: var(--primary);
    margin-bottom: 16px;
}

/* ─── Hero ─── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F0FFF4 0%, #FAFBFC 50%, #EDF7F0 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.stat span {
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Phone Mockup */
.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #111;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 26px;
    overflow: hidden;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Screenshots ─── */
.screenshots {
    padding: 80px 0 100px;
    background: #F5F7F5;
    overflow: hidden;
}

.screenshot-scroll {
    margin-top: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
    padding-bottom: 16px;
}

.screenshot-scroll::-webkit-scrollbar {
    height: 6px;
}

.screenshot-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.screenshot-track {
    display: flex;
    gap: 20px;
    padding: 0 24px;
    width: max-content;
}

.screenshot-item {
    flex-shrink: 0;
    width: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 3px solid white;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
}

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

@media (max-width: 768px) {
    .screenshot-item {
        width: 180px;
        border-radius: 16px;
    }
}

/* ─── Features ─── */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(27, 107, 74, 0.2);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── How It Works ─── */
.how-it-works {
    padding: 100px 0;
    background: var(--primary-dark);
    color: white;
}

.how-it-works .badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold);
}

.how-it-works h2 {
    color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 16px;
}

.step {
    text-align: center;
    padding: 32px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(46, 139, 99, 0.4);
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ─── Use Cases ─── */
.use-cases {
    padding: 100px 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.use-case {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}

.use-case:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.use-case-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.use-case h4 {
    font-weight: 700;
    margin-bottom: 6px;
}

.use-case p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ─── Download ─── */
.download {
    padding: 60px 0 100px;
}

.download-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(27, 107, 74, 0.3);
}

.download-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.download-card p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

.download-card .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.download-card .btn-primary:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.download-note {
    font-size: 13px !important;
    color: rgba(255,255,255,0.5) !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

/* ─── Footer ─── */
.footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 0 32px;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    vertical-align: middle;
    margin-right: 8px;
}

.footer-brand span {
    font-size: 18px;
    font-weight: 700;
    color: white;
    vertical-align: middle;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
}

.footer-links {
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    margin: 0 16px;
    transition: color 0.2s;
}

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

.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        margin: 0 auto 28px;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-phone {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .features-grid,
    .steps,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .download-card {
        padding: 40px 24px;
    }

    .download-card h2 {
        font-size: 26px;
    }

    .nav-links a:not(.btn) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}
