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

:root {
    --landing-bg: #0f0f1a;
    --landing-surface: #1a1a2e;
    --landing-text: #ffffff;
    --landing-text-muted: #a0a0b8;
    --landing-primary: #6366f1;
    --landing-primary-light: #818cf8;
    --landing-primary-dark: #4f46e5;
    --landing-accent: #22d3ee;
    --landing-success: #22c55e;
    --landing-gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --landing-card-bg: rgba(255, 255, 255, 0.05);
    --landing-card-border: rgba(255, 255, 255, 0.1);
    --landing-radius: 16px;
    --landing-radius-sm: 8px;
    --landing-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--landing-bg);
    color: var(--landing-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--landing-card-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--landing-text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--landing-radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--landing-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: var(--landing-card-bg);
    color: var(--landing-text);
    border: 1px solid var(--landing-card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--landing-text-muted);
}

.btn-ghost:hover {
    color: var(--landing-text);
}

.btn-white {
    background: white;
    color: var(--landing-primary-dark);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100px);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--landing-card-bg);
    border: 1px solid var(--landing-card-border);
    border-radius: 999px;
    font-size: 14px;
    color: var(--landing-text-muted);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--landing-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--landing-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero Visual (App Mockup) */
.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
    padding: 0 24px;
}

.app-mockup {
    background: var(--landing-surface);
    border-radius: var(--landing-radius);
    border: 1px solid var(--landing-card-border);
    box-shadow: var(--landing-shadow);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--landing-card-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:nth-child(1) {
    background: #ff5f57;
}

.mockup-dots span:nth-child(2) {
    background: #febc2e;
}

.mockup-dots span:nth-child(3) {
    background: #28c840;
}

.mockup-title {
    font-size: 13px;
    color: var(--landing-text-muted);
}

.mockup-content {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 180px;
    padding: 16px;
    border-right: 1px solid var(--landing-card-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-nav-item {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--landing-text-muted);
    transition: all 0.2s ease;
}

.mockup-nav-item.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--landing-primary-light);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--landing-card-bg);
    border-radius: 10px;
    border: 1px solid var(--landing-card-border);
}

.task-check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--landing-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.mockup-task.pending .task-check {
    background: transparent;
    border: 2px solid var(--landing-card-border);
}

.task-text {
    flex: 1;
    font-size: 14px;
}

.mockup-task.pending .task-text {
    color: var(--landing-text-muted);
}

.task-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--landing-primary-light);
}

.task-badge.urgent {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Mockup Main Header */
.mockup-main-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mockup-main-icon {
    font-size: 18px;
}

.mockup-main-title {
    font-size: 16px;
    font-weight: 700;
}

.mockup-main-count {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--landing-primary-light);
}

/* Mockup Filters */
.mockup-filters {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.mockup-filter {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--landing-text-muted);
}

.mockup-filter.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--landing-text);
}

/* Mockup Task List */
.mockup-task-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.mockup-task-list::-webkit-scrollbar {
    width: 4px;
}

.mockup-task-list::-webkit-scrollbar-track {
    background: transparent;
}

.mockup-task-list::-webkit-scrollbar-thumb {
    background: var(--landing-card-border);
    border-radius: 2px;
}

.mockup-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--landing-card-bg);
    border-radius: 10px;
    border: 1px solid var(--landing-card-border);
    transition: all 0.2s ease;
}

.mockup-task:hover {
    background: rgba(255, 255, 255, 0.08);
}

.task-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--landing-card-border);
    flex-shrink: 0;
}

.mockup-task.completed .task-checkbox {
    background: var(--landing-success);
    border-color: var(--landing-success);
    position: relative;
}

.mockup-task.completed .task-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: white;
}

.mockup-task.completed .task-title {
    text-decoration: line-through;
    opacity: 0.6;
}

.task-content {
    flex: 1;
    min-width: 0;
}

.task-title {
    font-size: 13px;
    color: var(--landing-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-meta {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.task-type {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--landing-primary-light);
}

.task-deadline {
    font-size: 10px;
    color: var(--landing-text-muted);
}

.task-deadline.urgent {
    color: #f87171;
}

/* Section Common Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--landing-primary-light);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--landing-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--landing-surface);
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--landing-primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

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

.feature-card p {
    font-size: 15px;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 32px;
    background: var(--landing-card-bg);
    border: 1px solid var(--landing-card-border);
    border-radius: var(--landing-radius);
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--landing-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--landing-card-bg) 100%);
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--landing-gradient);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--landing-card-border);
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 40px;
    font-weight: 800;
}

.price-period {
    font-size: 16px;
    color: var(--landing-text-muted);
}

.plan-description {
    font-size: 14px;
    color: var(--landing-text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--landing-text-muted);
}

.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--landing-success);
}

.plan-features strong {
    color: var(--landing-text);
}

/* Ultimate Plan */
.pricing-card.ultimate {
    border-color: #f59e0b;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, var(--landing-card-bg) 100%);
}

.ultimate-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
}

.btn-ultimate {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1a1a2e;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-ultimate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45);
}

.plan-features li.highlight {
    color: var(--landing-text);
    background: rgba(245, 158, 11, 0.1);
    margin: 0 -10px;
    padding: 10px;
    border-radius: 8px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--landing-gradient);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

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

/* Footer */
.landing-footer {
    padding: 40px 24px;
    background: var(--landing-surface);
    border-top: 1px solid var(--landing-card-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--landing-text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.05);
}

.footer-link-icon {
    font-size: 16px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--landing-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .mockup-sidebar {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .nav-actions .btn-ghost {
        display: none;
    }

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

    .hero-subtitle br {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
}