/* Base Styles */
:root {
    --primary-color: #007AFF;
    --text-color: #333;
    --bg-color: #F5F5F7;
    --white: #FFFFFF;
    --gray: #8E8E93;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

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

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

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

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

.hero-text {
    flex: 1;
}

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

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 10px 0 20px;
    letter-spacing: -0.02em;
}

.label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

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

h2 {
    font-size: 2.2rem;
    margin: 10px 0 20px;
    line-height: 1.3;
}

p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* Visual Elements */
.iphone-mockup {
    width: 280px;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 8px solid #333;
    background-color: #000;
}

.iphone-mockup img {
    width: 100%;
    display: block;
}

.iphone-mockup.small {
    width: 240px;
    border-width: 6px;
}

.rounded-image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.dual-phones {
    display: flex;
    gap: 20px;
    transform: rotate(-5deg);
}

.dual-phones .iphone-mockup:nth-child(2) {
    transform: translateY(40px);
}

.flow-visual {
    display: flex;
    align-items: center;
    gap: 20px;
}

.arrow {
    font-size: 2rem;
    color: var(--gray);
}

/* Feature 2 Specific */
.center-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.feature-2-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.toggle-ui {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.toggle-switch {
    width: 50px;
    height: 30px;
    background-color: #E9E9EA;
    border-radius: 15px;
    position: relative;
}

.toggle-switch.on {
    background-color: #34C759;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.on::after {
    transform: translateX(20px);
}

.alert-box {
    background: #F2F2F7;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.alert-box h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.alert-box p {
    font-size: 0.8rem;
    margin: 0;
}

.center-mockup {
    margin: 0 auto;
}

/* Footer */
.closing {
    background-color: #fff;
    padding: 100px 0 50px;
    text-align: center;
}

.app-icon-large img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 30px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--gray);
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 768px) {

    .hero-content,
    .section-content,
    .section-content.reverse {
        flex-direction: column;
        text-align: center;
    }

    .dual-phones {
        transform: none;
        flex-direction: column;
        align-items: center;
    }

    .dual-phones .iphone-mockup:nth-child(2) {
        transform: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}