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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

/* Navigation Auth Buttons */
.nav-auth {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #f5f7fa;
    color: #667eea;
}

.btn-signup {
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* DAW Interface Visual */
.daw-interface {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.interface-header {
    background: #2a2a2a;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.interface-title {
    color: #fff;
    font-weight: 600;
}

.interface-content {
    padding: 20px;
}

.track-area {
    margin-bottom: 20px;
}

.track {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
}

.track-name {
    color: #fff;
    width: 80px;
    font-size: 14px;
}

.track-notes {
    display: flex;
    gap: 5px;
    flex: 1;
}

.note {
    width: 40px;
    height: 20px;
    background: #667eea;
    border-radius: 4px;
    position: relative;
}

.note.ghost {
    background: rgba(102, 126, 234, 0.4);
    border: 1px dashed #667eea;
}

.ai-suggestion {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid #667eea;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-text {
    color: #667eea;
    font-size: 14px;
}

.suggestion-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* Value Propositions */
.value-props {
    padding: 80px 0;
    background: #f8f9fa;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature.reverse {
    direction: rtl;
}

.feature.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight {
    background: #f0f4ff;
    color: #667eea;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Feature Visuals */
.ghost-note-demo {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.piano-roll {
    margin-bottom: 20px;
}

.note-grid {
    display: flex;
    gap: 8px;
    align-items: center;
}

.note-grid .note {
    width: 60px;
    height: 30px;
    background: #667eea;
    border-radius: 6px;
}

.note-grid .ghost-note {
    background: rgba(102, 126, 234, 0.3);
    border: 2px dashed #667eea;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.ai-indicator {
    color: #667eea;
    font-size: 14px;
    text-align: center;
}

.ai-chat-demo {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
}

.chat-message {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 12px;
    max-width: 80%;
}

.chat-message.user {
    background: #667eea;
    color: white;
    margin-left: auto;
}

.chat-message.ai {
    background: white;
    border: 1px solid #e0e0e0;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 15px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* Vocal Synthesis Demo */
.vocal-demo {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.lyrics-input {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.lyrics-line {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-style: italic;
}

.waveform {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 4px;
    height: 60px;
    margin-bottom: 15px;
}

.wave-bar {
    width: 6px;
    background: #667eea;
    border-radius: 3px;
    animation: wave 1s infinite ease-in-out;
}

.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 40px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 60px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 25px; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}

.vocal-indicator {
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
}

.interface-demo {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.simple-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.control-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.simple-timeline {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.track {
    background: #f0f4ff;
    border: 1px solid #667eea;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #667eea;
}

.track:last-child {
    margin-bottom: 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 60%; }
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background: #f8f9fa;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.use-case {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.use-case h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.use-case-challenge, .use-case-solution {
    margin-bottom: 20px;
}

.use-case-challenge h4, .use-case-solution h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #667eea;
}

.use-case-challenge p, .use-case-solution p {
    color: #666;
    line-height: 1.6;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.12);
}

.pricing-card.featured {
    border-color: #667eea;
    transform: none;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 30px;
    line-height: 1.2;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

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

.features-list li {
    padding: 10px 0;
    color: #555;
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.features-list li::before {
    content: "✓";
    color: #667eea;
    font-weight: 500;
    margin-right: 8px;
    font-size: 14px;
}

.features-list li:last-child {
    border-bottom: none;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.2px;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

/* 料金プラン専用のプライマリボタン */
.pricing-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.pricing-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* About */
.about {
    padding: 80px 0;
}

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

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.contact-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-auth {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature.reverse {
        direction: ltr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    /* Mobile Menu Styles */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 15px;
    }
    
    .nav-auth.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 200px); /* メニューの下に表示 */
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 15px;
        border-top: 1px solid #eee;
    }
    
    .nav-auth.active .btn-login,
    .nav-auth.active .btn-signup {
        text-align: center;
        display: block;
    }
}

/* Mobile Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

