/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1B7340;
    --primary-dark: #145830;
    --primary-light: #E8F5E9;
    --background: #FFFFFF;
    --background-alt: #F5F5F7;
    --text: #1D1D1F;
    --text-secondary: #86868B;
    --accent: #1B7340;
    --border: #E5E5E7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
}

/* Lucide Icon Styles */
.logo-icon-svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 2;
}

.logo-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.feature-icon-svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    stroke-width: 1.5;
    margin-bottom: 16px;
}

.problem-icon-svg {
    width: 48px;
    height: 48px;
    stroke: var(--text-secondary);
    stroke-width: 1.5;
    margin-bottom: 16px;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    stroke: var(--text-secondary);
    stroke-width: 1;
    margin-bottom: 16px;
}

.icon-inline {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    vertical-align: middle;
    margin-right: 4px;
}

.icon-check {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    stroke-width: 2.5;
    vertical-align: middle;
    margin-right: 8px;
}

.icon-x {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    stroke-width: 2;
    vertical-align: middle;
    margin-right: 8px;
}

.icon-heart {
    width: 14px;
    height: 14px;
    stroke: #ff6b6b;
    fill: #ff6b6b;
    stroke-width: 2;
    vertical-align: middle;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.02em;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

/* Language Selector */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

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

.lang-selector:focus {
    outline: none;
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-description {
    margin-bottom: 32px;
}

.hero-lead {
    font-size: 1.4rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-body {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: 24px;
}

.hero-cta-text {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 24px;
}

.hero-annotation {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: -8px;
    margin-bottom: 16px;
}

/* RSS Explainer Box */
.rss-explainer {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.rss-explainer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.rss-explainer-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
}

.app-store-badge img {
    height: 54px;
    transition: transform 0.2s ease;
}

.app-store-badge:hover img {
    transform: scale(1.05);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    /* Increased height to fit iPhone 15 aspect ratio */
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background-alt);
    border-radius: 32px;
    overflow: hidden;
}

.placeholder-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
}

.placeholder-screen span {
    font-size: 4rem;
    margin-bottom: 16px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: var(--background-alt);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.problem-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.problem-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.problem-card p {
    font-size: 1.1rem;
    color: var(--text);
}

.problem-text-bold {
    font-weight: 700;
    font-size: 1.2rem !important;
    margin-bottom: 12px;
}

.problem-text-desc {
    font-size: 0.95rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: -40px;
    margin-bottom: 60px;
}

/* App Showcase Section */
.app-showcase {
    padding: 80px 0;
    background: var(--background);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.showcase-item {
    text-align: center;
}

.showcase-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.showcase-placeholder {
    width: 100%;
    aspect-ratio: 9/19.5;
    /* iPhone aspect ratio */
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.showcase-placeholder:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.showcase-image {
    width: 90%;
    /* 10% smaller */
    height: auto;
    border-radius: 40px;
    /* Increased radius for bezel */
    border: 12px solid #1c1c1e;
    /* Thick black bezel (device frame) */
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
    /* Center alignment */
}

.showcase-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.showcase-icon {
    width: 48px;
    height: 48px;
    stroke: var(--text-secondary);
    opacity: 0.5;
}

.showcase-caption {
    font-weight: 500;
    color: var(--text);
    font-size: 1rem;
}

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

@media (max-width: 600px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-placeholder {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Detailed Features Section */
.detailed-features {
    padding: 100px 0;
    background: var(--background-alt);
}

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

.feature-category {
    background: var(--background);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.feature-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.category-icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 2;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

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

.feature-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #e3eb7b 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Hero enhancements */
.hero-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Pricing enhancements */
.pricing-guarantee {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

/* CTA enhancements */
.cta-devices {
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--background-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.price-note {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    display: block;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-features li.included {
    color: var(--text);
}

.pricing-features li.excluded {
    color: var(--text-secondary);
}

.pricing-cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pricing-cta.primary {
    background: var(--primary);
    color: white;
}

.pricing-cta.primary:hover {
    background: var(--primary-dark);
}

.pricing-cta.secondary {
    background: var(--background-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.pricing-cta.secondary:hover {
    background: var(--border);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 20px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #e3eb7b 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.app-store-badge.large img {
    height: 64px;
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--text);
    color: white;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

    /* ... existing responsive styles ... */
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

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

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

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

    .pricing-card.featured {
        transform: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}