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

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #2D3A8C;
    margin-bottom: 3rem;
}

/* Buttons */
.cta-button, .product-button {
    background: linear-gradient(135deg, #2D3A8C, #4A5BA6);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.cta-button:hover, .product-button:hover {
    background: linear-gradient(135deg, #1E2B73, #3A4B93);
    transform: translateY(-2px);
}

.product-button {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Header/Hero Section */
.hero {
    background: linear-gradient(135deg, #2D3A8C, #4A5BA6);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

/* Centered sections */
.centered-section {
    text-align: center;
}

.centered-section .content-flex {
    text-align: left;
}

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

.step {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: #f8f9ff;
    border: 2px solid transparent;
}

.step:hover {
    border-color: #D4AF37;
}

.step-icon {
    margin-bottom: 20px;
}

.step h3 {
    color: #2D3A8C;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Featured Categories */
.featured-categories {
    padding: 80px 0;
    background: #f8f9ff;
}

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

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(45, 58, 140, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45, 58, 140, 0.15);
}

.category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #2D3A8C;
    margin-bottom: 10px;
}

/* Product Showcase */
.product-showcase {
    padding: 80px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(45, 58, 140, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45, 58, 140, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: #2D3A8C;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 15px;
}

/* Age Smart Section */
.age-smart {
    padding: 80px 0;
    background: #f8f9ff;
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(45, 58, 140, 0.1);
}

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

.feature-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

/* Local Artisan Section */
.local-artisan {
    padding: 80px 0;
    background: white;
}

/* Budget Tiers */
.budget-tiers {
    padding: 80px 0;
    background: #f8f9ff;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tier-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(45, 58, 140, 0.1);
    border: 2px solid transparent;
}

.tier-card.featured {
    border-color: #D4AF37;
    transform: scale(1.05);
    background: linear-gradient(135deg, #2D3A8C, #4A5BA6);
    color: white;
}

.tier-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2D3A8C;
}

.tier-card.featured h3 {
    color: #D4AF37;
}

.tier-price {
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 25px;
}

.tier-card ul {
    list-style: none;
    padding: 0;
}

.tier-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.tier-card.featured li {
    border-bottom-color: rgba(255,255,255,0.2);
}

/* Corporate Gifting */
.corporate-gifting {
    padding: 80px 0;
    background: white;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9ff;
}

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

.reason-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(45, 58, 140, 0.1);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45, 58, 140, 0.15);
}

.reason-icon {
    margin-bottom: 20px;
}

.reason-card h3 {
    color: #2D3A8C;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 12px;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-item h3 {
    color: #2D3A8C;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background: #2D3A8C;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo-section {
    margin-bottom: 20px;
    justify-content: center;
}

.footer-brand .brand-name {
    font-size: 1.2rem;
    color: #D4AF37;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    color: white;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 500;
    color: #2D3A8C;
}

/* About page illustrations */
.about-illustration {
    width: 100%;
    height: auto;
    max-width: 400px;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 58, 140, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text h4 {
    color: #D4AF37;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: #D4AF37;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #D4AF37;
    color: #2D3A8C;
}

.cookie-btn.accept:hover {
    background: #E6C558;
    transform: translateY(-1px);
}

.cookie-btn.reject {
    background: #ff4757;
    color: white;
}

.cookie-btn.reject:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

.cookie-btn.customize {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.customize:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-header h3 {
    color: #2D3A8C;
    margin: 0;
    font-size: 1.3rem;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: #2D3A8C;
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h4 {
    color: #2D3A8C;
    margin: 0;
    font-size: 1.1rem;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #D4AF37;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: #D4AF37;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-policy-link {
    color: #2D3A8C;
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .content-flex, .content-flex.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .tiers-grid, .products-grid, .categories-grid, .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .page-header .container {
        padding: 0 15px;
    }
    
    .value-item {
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-illustration {
        max-width: 300px;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
        gap: 15px;
    }
}

/* Additional spacing and polish */
section {
    overflow-x: hidden;
}

.cta-button, .product-button {
    transition: all 0.3s ease;
}

.product-card, .category-card, .reason-card, .tier-card, .step {
    transition: all 0.3s ease;
}