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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFBEB;
}

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

/* Header */
.header {
    background-color: rgba(255, 251, 235, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.logo svg {
    display: block;
}

.brand-name h1 {
    font-size: 28px;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.brand-name .tagline {
    font-size: 14px;
    color: #6B7280;
    font-weight: 400;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-feature .feature-icon {
    flex-shrink: 0;
}

.hero-feature span {
    font-size: 16px;
    font-weight: 500;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.centered-content {
    text-align: center;
}

.centered-content .content-grid,
.centered-content .products-grid,
.centered-content .features-grid,
.centered-content .sustainability-stats,
.centered-content .subscription-content {
    text-align: left;
}

section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #4F46E5;
    text-align: center;
    margin-bottom: 48px;
}

/* What is Furoshiki */
.what-is-furoshiki {
    background-color: #F9FAFB;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

.text-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 16px;
}

.text-content ul {
    list-style: none;
    padding-left: 0;
}

.text-content li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.text-content li::before {
    content: '•';
    color: #D97706;
    font-size: 20px;
    position: absolute;
    left: 0;
}

.content-image {
    position: relative;
}

.content-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* SVG Illustrations */
.svg-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #F9FAFB;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    width: 100%;
}

.svg-illustration svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image .svg-illustration {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 2px solid rgba(79, 70, 229, 0.2);
}

/* Products Section */
.products {
    background-color: white;
}

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

.product-item {
    background-color: #FFFBEB;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
}

.product-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.product-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 12px;
}

.product-item p {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #D97706;
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 120px;
}

.btn-primary {
    background-color: #4F46E5;
    color: white;
}

.btn-primary:hover {
    background-color: #3730A3;
}

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

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

/* Learning Section */
.learning {
    background-color: #F9FAFB;
}

.highlight {
    background-color: #FEF3C7;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #D97706;
    margin-top: 20px;
}

/* Custom Printing */
.custom-printing {
    background-color: white;
}

.features-list {
    margin-top: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

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

/* Subscription */
.subscription {
    background-color: #F0F9FF;
}

.subscription-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Sustainability */
.sustainability {
    background-color: #F9FAFB;
}

.sustainability-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #4F46E5;
    margin-bottom: 8px;
}

.stat span {
    font-size: 14px;
    color: #6B7280;
}

/* Why Choose Us */
.why-choose-us {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background-color: #FFFBEB;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card .feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 16px;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* Contact */
.contact {
    background-color: #F9FAFB;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    flex-shrink: 0;
    padding: 8px;
    background-color: #EEF2FF;
    border-radius: 8px;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 8px;
}

.contact-item p {
    color: #6B7280;
    line-height: 1.5;
}

.contact-item a {
    color: #4F46E5;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: white;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-description {
    font-size: 14px;
    color: #D1D5DB;
    line-height: 1.5;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FFFBEB;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FFFBEB;
}

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

.contact-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .brand-name h1 {
        font-size: 24px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .svg-illustration {
        min-height: 200px;
        padding: 15px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-features {
        align-items: center;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-image img {
        height: 200px;
    }
    
    .subscription-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sustainability-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-section .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        flex: none;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(79, 70, 229, 0.3);
}

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

.cookie-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFFBEB;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.5;
    color: #D1D5DB;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-accept {
    background-color: #4F46E5;
    color: white;
}

.cookie-accept:hover {
    background-color: #3730A3;
}

.cookie-reject {
    background-color: transparent;
    color: #EF4444;
    border: 2px solid #EF4444;
}

.cookie-reject:hover {
    background-color: #EF4444;
    color: white;
}

.cookie-customize {
    background-color: transparent;
    color: #D97706;
    border: 2px solid #D97706;
}

.cookie-customize:hover {
    background-color: #D97706;
    color: white;
}

.cookie-link {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
    margin-left: 8px;
}

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

/* Cookie Preferences Panel */
.cookie-preferences {
    display: none;
    background-color: #1F2937;
    border-top: 1px solid #374151;
    padding: 24px;
}

.cookie-preferences.show {
    display: block;
}

.preferences-content {
    max-width: 1200px;
    margin: 0 auto;
}

.preferences-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFFBEB;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.cookie-category {
    background-color: rgba(55, 65, 81, 0.5);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #374151;
}

.category-header {
    margin-bottom: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #6B7280;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background-color: #4F46E5;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background-color: #4F46E5;
    opacity: 0.6;
}

.category-name {
    font-size: 16px;
    color: #FFFBEB;
}

.category-description {
    font-size: 13px;
    color: #D1D5DB;
    line-height: 1.4;
    margin: 0;
}

.preferences-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: none;
        min-width: 80px;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .preferences-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}