/* ReadLater Landing Page - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --teal-50: #F0FDFA;
    --teal-100: #CCFBF1;
    --teal-200: #99F6E4;
    --teal-300: #5EEAD4;
    --teal-400: #2DD4BF;
    --teal-500: #14B8A6;
    --teal-600: #0D9488;
    --teal-700: #0F766E;
    --teal-800: #115E59;
    --teal-900: #134E4A;
    --gray-50: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #A1A1AA;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;
    --white: #FFFFFF;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--gray-600); }

a { color: var(--teal-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-700); }

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

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    text-decoration: none;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-600); }

/* Language Switcher */
.lang-switch {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}
.lang-switch:hover {
    background: var(--teal-50);
    border-color: var(--teal-300);
    color: var(--teal-700);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1;
}
.btn-primary {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: white;
    box-shadow: 0 2px 8px rgba(13,148,136,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,148,136,0.4);
    color: white;
}
.nav-links .btn-primary {
    color: white;
}
.nav-links .btn-primary:hover {
    color: white;
}
.btn-secondary {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}
.btn-secondary:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
    transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 1.25rem 2.5rem; font-size: 1.125rem; border-radius: var(--radius-xl); }

/* ===== Footer ===== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 2rem 2rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand p { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--gray-400); }
.footer-col h4 {
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13,148,136,0.4); }
    50% { box-shadow: 0 0 0 20px rgba(13,148,136,0); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== Hero ===== */
.hero-section {
    padding: 160px 2rem 120px;
    background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 50%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.hero-bg-shape-1 {
    width: 500px; height: 500px;
    background: var(--teal-200);
    top: -150px; right: -100px;
    animation: float 8s ease-in-out infinite;
}
.hero-bg-shape-2 {
    width: 400px; height: 400px;
    background: #E0F2FE;
    bottom: -100px; left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}
.hero-bg-shape-3 {
    width: 300px; height: 300px;
    background: var(--teal-100);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal-500);
    animation: pulse-glow 2s infinite;
}

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

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--gray-500);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-mockup {
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}
.hero-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ===== Section Base ===== */
.section {
    padding: 6rem 2rem;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.section-label {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--gray-500); }

/* ===== Feature Cards ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-50), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-200);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
    width: 48px; height: 48px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.6; }

/* ===== How It Works ===== */
.how-section { background: var(--gray-50); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
}
.step-number {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9375rem; color: var(--gray-500); }
.step-connector {
    position: absolute;
    top: 28px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--gray-200);
}
.steps-grid .step-card:last-child .step-connector { display: none; }

/* ===== Pricing ===== */
.pricing-section { background: var(--white); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
    position: relative;
}
.pricing-card.pro {
    border-color: var(--teal-600);
    background: white;
    box-shadow: var(--shadow-xl);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1.25rem;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}
.pricing-price span { font-size: 1.125rem; font-weight: 500; color: var(--gray-500); }
.pricing-subtitle { color: var(--gray-500); margin-bottom: 2rem; }
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}
.pricing-features li {
    padding: 0.625rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}
.pricing-features .check { color: var(--teal-600); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { display: flex; justify-content: center; }

/* ===== Feature Comparison Table ===== */
.compare-table-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.compare-table th, .compare-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}
.compare-table thead th {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    background: var(--gray-50);
    position: sticky;
    top: 0;
}
.compare-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.compare-table tbody td:first-child { font-weight: 500; color: var(--gray-700); }
.compare-table .check-icon { color: var(--teal-600); font-size: 1.1rem; }
.compare-table .dash { color: var(--gray-300); }
.compare-table tbody tr:hover td { background: var(--teal-50); }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p { color: var(--teal-100); font-size: 1.125rem; margin-bottom: 2rem; }
.btn-white {
    background: white;
    color: var(--teal-700);
    font-weight: 700;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--teal-700);
}

/* ===== Legal Pages ===== */
.legal-section {
    padding: 120px 2rem 6rem;
    max-width: 800px;
    margin: 0 auto;
}
.legal-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.legal-section .last-updated {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 3rem;
}
.legal-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}
.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.legal-section p, .legal-section li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-section ul, .legal-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .hero-section { padding: 120px 1.5rem 80px; }
    .section { padding: 4rem 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .compare-table th, .compare-table td { padding: 0.75rem 1rem; font-size: 0.875rem; }
    .legal-section { padding: 100px 1.5rem 4rem; }
    .legal-section h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray-700);
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        padding: 1.5rem 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }
}

/* ===== Hero Extension Mockup SVG ===== */
.mockup-wrapper {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}
.mockup-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.mockup-header {
    background: var(--gray-50);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); }
.mockup-search {
    margin: 1.5rem;
    padding: 0.875rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--gray-400);
    font-size: 0.9375rem;
}
.mockup-results { padding: 0 1.5rem 1.5rem; }
.mockup-result {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}
.mockup-result:last-child { margin-bottom: 0; }
.mockup-result.featured {
    background: var(--teal-50);
    border-color: var(--teal-200);
}
.mockup-result-title { font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.25rem; }

/* ===== Stat Cards ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.stat-card {
    text-align: center;
    padding: 2rem;
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--teal-600);
    letter-spacing: -0.03em;
}
.stat-label { color: var(--gray-500); font-size: 0.9375rem; margin-top: 0.25rem; }

/* ===== Trust Banner ===== */
.trust-section {
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.trust-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
}
.trust-icon { color: var(--teal-600); font-size: 1.25rem; }
