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

:root {
    --primary-color: #007AFF;
    --primary-dark: #0056b3;
    --text-color: #1a1a1a;
    --text-secondary: #666;
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f7;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-color);
    text-decoration: none;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.download-btn {
    display: inline-block;
}

.download-btn img {
    height: 50px;
}

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

.phone-mockup {
    max-width: 300px;
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
}

.features h2,
.use-cases h2,
.download h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

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

/* Use Cases Section */
.use-cases {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.use-case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
}

.use-case-list li {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Download Section */
.download {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.download h2 {
    color: white;
}

.download p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 2rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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

.copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Page Content (Privacy, Contact) */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.policy h1,
.contact h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.policy section {
    margin-bottom: 2rem;
}

.policy h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.policy h3 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem;
}

.policy p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.policy ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
}

.policy li {
    margin-bottom: 0.5rem;
}

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

/* Contact Page */
.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-container {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1rem;
    min-height: 800px;
}

.form-container iframe {
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        max-width: 250px;
    }

    .features,
    .use-cases,
    .download {
        padding: 3rem 1rem;
    }

    .page-content {
        padding: 2rem 1rem;
    }
}
