/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    line-height: 1.7;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Navigation === */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 100;
    padding: 0 1.5rem;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: #1e293b;
    text-decoration: none;
}

.nav-logo:hover { text-decoration: none; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.nav-links a:hover {
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
}

.nav-links .cta-btn {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.nav-links .cta-btn:hover {
    background: #1d4ed8;
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1e293b;
    padding: 0.5rem;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 1.5rem 0;
    overflow: hidden;
}

.hero-split {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-phone {
    flex-shrink: 0;
    align-self: flex-end;
}

.phone-mockup {
    width: 280px;
    border-radius: 36px 36px 0 0;
    overflow: hidden;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
    border: 6px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    background: #000;
}

.phone-mockup img {
    width: 100%;
    display: block;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
}

.hero-stat-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s;
}

.app-store-badge:hover { transform: scale(1.05); }
.app-store-badge img { height: 54px; }

/* === Content Layout === */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.container-wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* === Article Content === */
.article-header {
    text-align: center;
    padding: 4rem 1.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.article-header .lead {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.3px;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin: 2rem 0 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
    color: #475569;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: #475569;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: #1e293b;
}

/* === Info Box === */
.info-box {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0;
    color: #1e40af;
    font-size: 0.9375rem;
}

.info-box strong {
    color: #1e3a8a;
}

.tip-box {
    background: #fefce8;
    border-left: 4px solid #eab308;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.tip-box p {
    margin-bottom: 0;
    color: #854d0e;
    font-size: 0.9375rem;
}

/* === Feature Grid === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0.5rem 0;
}

.feature-card p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
    padding: 4rem 1.5rem;
    margin: 3rem 0 0;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* === Comparison Table === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.comparison-table th {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.comparison-table tr:hover {
    background: #f8fafc;
}

/* === Sign Categories === */
.sign-category {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.sign-category h3 {
    margin-top: 0;
    color: #1e293b;
}

.sign-shape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.sign-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* === FAQ === */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

.faq-item:first-child {
    border-top: 1px solid #e2e8f0;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: #475569;
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 1rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.breadcrumb a {
    color: #64748b;
}

.breadcrumb span {
    margin: 0 0.375rem;
}

/* === Footer === */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.875rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: #64748b;
}

.footer-bottom a {
    color: #94a3b8;
}

/* === Internal link cards === */
.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.link-card {
    display: block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.link-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    text-decoration: none;
}

.link-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.375rem;
}

.link-card p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* === App Showcase === */
.app-showcase {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border-radius: 16px;
    border: 1px solid #bfdbfe;
}

.app-showcase-text {
    flex: 1;
}

.app-showcase-text h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.app-showcase-text p {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.app-showcase-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.app-showcase-image img {
    width: 100%;
    display: block;
}

.inline-cta {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}

.inline-cta:hover {
    background: #1d4ed8;
    text-decoration: none;
    transform: translateY(-1px);
    color: white;
}

.inline-cta-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.inline-cta-box p {
    color: #166534;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.inline-cta-box strong {
    color: #14532d;
}

.app-cta-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.app-cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.app-cta-banner h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem;
}

.app-cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero { padding: 3rem 1.5rem 0; }
    .hero h1 { font-size: 2.25rem; }
    .hero .subtitle { font-size: 1.0625rem; }
    .article-header h1 { font-size: 1.875rem; }
    .hero-stats { gap: 1.5rem; }

    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-text { text-align: center; }

    .hero-phone {
        width: 220px;
        margin: 0 auto;
    }

    .phone-mockup { width: 100%; border-radius: 30px 30px 0 0; border-width: 5px; }

    .app-showcase {
        flex-direction: column;
        text-align: center;
    }

    .app-cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid #e2e8f0;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.875rem; }
    .hero { padding: 2.5rem 1.25rem 0; }
    .container, .container-wide { padding: 2rem 1.25rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero-phone { width: 200px; }
}
