/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1A1A2E;
    background-color: #FFFFFF;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 160px;
}

/* Header */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #1A4FAD 0%, #3BB8C3 50%, #D4A033 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav a {
    text-decoration: none;
    color: #1A1A2E;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #1A4FAD;
}

.btn-download {
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-download:hover {
    transform: translateY(-2px);
}

.appstore-badge {
    height: 40px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 79, 173, 0.02) 0%, rgba(59, 184, 195, 0.03) 50%, rgba(212, 160, 51, 0.02) 100%);
    padding: 120px 0;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #1A4FAD 0%, #3BB8C3 50%, #D4A033 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #1A1A2E;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
    font-size: 18px;
    color: #64748B;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-appstore {
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn-appstore:hover {
    transform: translateY(-3px);
}

.appstore-badge-large {
    height: 60px;
    width: auto;
    display: block;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 48px;
    padding: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background-color: #0f172a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    object-fit: cover;
    display: block;
}

/* Features Section */
.features {
    padding: 140px 0;
    background-color: #FAFBFC;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.6s ease-out both;
}

.section-label {
    display: inline-block;
    background-color: #E3EDFA;
    color: #1A4FAD;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 20px;
    color: #64748B;
}

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

.feature-card {
    background-color: #FFFFFF;
    padding: 48px 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #E2E8F0;
    animation: fadeInUp 0.6s ease-out both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: #1A4FAD;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1A4FAD 0%, #3BB8C3 50%, #D4A033 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A2E;
}

.feature-card p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 140px 0;
    background-color: #FFFFFF;
}

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

.step {
    text-align: center;
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
}

.step:nth-child(1) {
    animation-delay: 0.1s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.3s;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #D4A033 0%, #3BB8C3 50%, #1A4FAD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(212, 160, 51, 0.3);
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: translateX(-50%) scale(1.1);
}

.step-icon {
    width: 120px;
    height: 120px;
    background-color: #F0F7FD;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 32px;
    color: #1A4FAD;
}

.step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A2E;
}

.step p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.7;
}

/* Use Cases Section */
.use-cases {
    padding: 140px 0;
    background-color: #FAFBFC;
}

.use-cases h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 80px;
}

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

.case-card {
    background-color: #FFFFFF;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #E2E8F0;
    animation: scaleIn 0.5s ease-out both;
}

.case-card:nth-child(1) {
    animation-delay: 0.1s;
}

.case-card:nth-child(2) {
    animation-delay: 0.2s;
}

.case-card:nth-child(3) {
    animation-delay: 0.3s;
}

.case-card:nth-child(4) {
    animation-delay: 0.4s;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3BB8C3 0%, #D4A033 50%, #1A4FAD 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    transition: transform 0.3s ease;
}

.case-card:hover .case-icon {
    transform: scale(1.1) rotate(-5deg);
}

.case-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A2E;
}

.case-card p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 140px 0;
    background-color: #FFFFFF;
}

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

.pricing-card {
    background-color: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    padding: 48px 40px;
    transition: all 0.3s;
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #1A4FAD;
    box-shadow: 0 8px 32px rgba(26, 79, 173, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1A4FAD 0%, #3BB8C3 50%, #D4A033 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E2E8F0;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 16px;
}

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

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #1A4FAD;
}

.price-period {
    font-size: 18px;
    color: #64748B;
}

.pricing-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #1A1A2E;
    font-size: 16px;
}

.feature-item svg {
    flex-shrink: 0;
    color: #3BB8C3;
}

.feature-item strong {
    color: #1A4FAD;
    font-weight: 600;
}

.btn-pricing {
    width: 100%;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid #1A4FAD;
    background-color: #FFFFFF;
    color: #1A4FAD;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background-color: #F0F7FD;
    transform: translateY(-2px);
}

.btn-pricing.primary {
    background: linear-gradient(135deg, #1A4FAD 0%, #3BB8C3 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 24px rgba(26, 79, 173, 0.3);
}

.btn-pricing.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 79, 173, 0.4);
}

/* CTA Section */
.cta {
    padding: 140px 0;
    background: linear-gradient(135deg, #1A4FAD 0%, #3BB8C3 50%, #D4A033 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 79, 173, 0.8) 0%, rgba(59, 184, 195, 0.8) 50%, rgba(212, 160, 51, 0.8) 100%);
    animation: fadeIn 1s ease-out;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out both;
}

.cta p {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.btn-cta {
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.btn-cta:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: #1A1A2E;
    color: #94A3B8;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 1;
}

.footer-brand .logo {
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
}

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

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    font-size: 14px;
    color: #64748B;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 80px;
    }

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header {
        height: 80px;
    }

    .logo {
        font-size: 24px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 48px;
    }

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

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

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

    .features,
    .how-it-works,
    .pricing,
    .use-cases,
    .cta {
        padding: 80px 0;
    }

    .features-grid,
    .steps,
    .pricing-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

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

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

    .btn-appstore,
    .btn-cta {
        width: 100%;
    }
}

/* Policy Pages */
.policy-section {
    padding: 120px 0 100px;
    background-color: #FAFBFC;
    min-height: 60vh;
}

.policy-title {
    font-size: 48px;
    font-weight: 700;
    color: #1A1A2E;
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.policy-content {
    background-color: #FFFFFF;
    padding: 60px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.policy-intro {
    font-size: 18px;
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A2E;
    margin-top: 48px;
    margin-bottom: 24px;
}

.policy-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1A1A2E;
    margin-top: 32px;
    margin-bottom: 16px;
}

.policy-content p {
    font-size: 16px;
    color: #1A1A2E;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-content ul,
.policy-content ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.policy-content li {
    font-size: 16px;
    color: #1A1A2E;
    line-height: 1.8;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .policy-section {
        padding: 80px 0 60px;
    }

    .policy-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .policy-content {
        padding: 40px 32px;
    }

    .policy-content h2 {
        font-size: 24px;
    }

    .policy-content h3 {
        font-size: 20px;
    }
}
