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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    font-size: 3.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-illustration {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 3s infinite ease-in-out;
}

.hero-illustration i {
    font-size: 150px;
    opacity: 0.9;
}

.miyuki-character {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Target Section
   ======================================== */
.target-section {
    background: var(--bg-light);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.target-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.target-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.target-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.target-icon i {
    font-size: 2.5rem;
    color: white;
}

.icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.target-image {
    width: 200px;
    height: auto;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 10px;
}

.target-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.target-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.15;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tech-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   How to Use Section
   ======================================== */
.how-to-use-section {
    background: var(--bg-light);
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.demo-chat {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.chat-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.chat-message.user {
    flex-direction: row;
    justify-content: flex-start;
}

.chat-message.assistant {
    flex-direction: row;
    justify-content: flex-start;
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.message-avatar i {
    color: white;
    font-size: 1.5rem;
}

.message-avatar.ai {
    background: white;
    border: 2px solid var(--primary-color);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-bubble {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    max-width: 70%;
}

.chat-message.user .message-bubble {
    background: var(--primary-color);
    color: white;
    border-radius: 5px 20px 20px 20px;
}

.chat-message.assistant .message-bubble {
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 5px 20px 20px 20px;
}

.message-bubble p {
    margin-bottom: 0.5rem;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.invoice-preview {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.invoice-preview i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.demo-description h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-description h3 i.fa-line {
    color: #06c755;
    font-size: 2.5rem;
}

.demo-description h3 i.fa-phone {
    color: var(--primary-color);
    font-size: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* ========================================
   Photo Upload Section
   ======================================== */
.photo-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.photo-section .section-title {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.photo-demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.photo-chat {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}



.image-upload {
    background: rgba(99, 102, 241, 0.1);
    border: 2px dashed var(--primary-color);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-upload i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.upload-info {
    display: flex;
    flex-direction: column;
}

.upload-filename {
    font-weight: 600;
    color: white;
}

.upload-size {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.data-result {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.data-item {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.data-item:last-child {
    border-bottom: none;
}

.data-label {
    font-weight: 600;
    color: var(--text-light);
    min-width: 100px;
}

.data-value {
    color: var(--text-dark);
    font-weight: 500;
}

.success-message {
    color: var(--success-color);
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message i {
    font-size: 1.25rem;
}

.photo-description {
    color: var(--text-dark);
}

.photo-description h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.photo-description h3 i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.photo-description .feature-list {
    list-style: none;
}

.photo-description .feature-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.photo-description .feature-list i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* ========================================
   Summary Section
   ======================================== */
.summary-section {
    background: white;
    padding: 6rem 0;
}

.summary-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.summary-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
}

.summary-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.summary-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.summary-icon i {
    font-size: 3rem;
    color: white;
}

.summary-item p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.summary-plus {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.summary-message {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.summary-lead {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.summary-lead .bold {
    color: var(--primary-color);
}

.summary-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

.summary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.miyuki-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.miyuki-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-tagline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    line-height: 1.5;
}

.brand-name {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s;
}

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

.benefit-icon i {
    font-size: 3rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 1.25rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    opacity: 0.6;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-illustration {
        width: 200px;
        height: 200px;
    }

    .hero-illustration i {
        font-size: 100px;
    }

    .miyuki-character {
        max-width: 300px;
    }

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

    .demo-container {
        grid-template-columns: 1fr;
    }

    .message-bubble {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .photo-demo-container {
        grid-template-columns: 1fr;
    }

    .summary-title {
        font-size: 1.75rem;
    }

    .highlight-text {
        font-size: 2rem;
    }

    .summary-features {
        gap: 1rem;
    }

    .summary-plus {
        font-size: 2rem;
    }

    .summary-cta {
        flex-direction: column;
    }

    .summary-tagline {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0 5rem;
    }

    section {
        padding: 3rem 0;
    }

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

    .btn-primary,
    .btn-secondary,
    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .data-label {
        min-width: 80px;
        font-size: 0.875rem;
    }

    .data-value {
        font-size: 0.875rem;
    }

    .summary-icon {
        width: 80px;
        height: 80px;
    }

    .summary-icon i {
        font-size: 2rem;
    }

    .summary-item p {
        font-size: 1rem;
    }

    .summary-message {
        padding: 2rem;
    }

    .summary-lead {
        font-size: 1.25rem;
    }

    .summary-description {
        font-size: 1rem;
    }
}