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

:root {
    /* Main colors - Blue and pink theme (different from previous purple theme) */
    --primary-color: #00a0e4;
    --secondary-color: #ff4081;
    --accent-color: #7e57c2;
    --text-color: #333333;
    --light-text: #ffffff;
    --background: #f5f5f5;
    --card-background: #ffffff;
    --dark-background: #1a1a2e;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    
    /* Fonts */
    --heading-font: 'Noto Sans JP', sans-serif;
    --body-font: 'Noto Sans JP', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: var(--primary-color);
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Header Styles - Horizontal layout with logo on left (different from previous) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background-color: var(--card-background);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    margin-right: 10px;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2rem;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
}

/* Hero Section - Side by side layout */
.hero {
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 160, 228, 0.1) 0%, rgba(255, 64, 129, 0.1) 100%);
    border-radius: 10px;
    margin: 2rem 0;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    text-align: left;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.hero-content h2:after {
    left: 0;
    transform: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.tech-graphic {
    width: 100%;
    max-width: 300px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(0, 160, 228, 0.3);
}

.primary-btn:hover {
    background-color: #0090d0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 160, 228, 0.4);
    color: var(--light-text);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

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

.feature {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.feature h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Process Section */
.process {
    padding: 4rem 0;
    background-color: #f0f7fa;
    border-radius: 10px;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 3rem 0;
    gap: 1.5rem;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.cta {
    text-align: center;
    margin-top: 3rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

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

.faq-item {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-background);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    margin-right: 3rem;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .hero-content h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    
    .hero-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        width: 100%;
    }
    
    .footer-column {
        flex-basis: 45%;
        text-align: center;
        margin-right: 0;
        padding: 0 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        justify-content: center;
    }
    
    .step {
        flex-basis: 45%;
    }
}
