:root {
    --primary-color: #0071E3; /* Apple Light Mode Blue */
    --primary-hover: #0077ED;
    --secondary-color: #86868B; /* Titanium Gray */
    --accent-color: #1D1D1F;
    --bg-body: #F5F5F7; /* Apple Light Background */
    --bg-card: #FFFFFF; /* Pure White Cards */
    --bg-surface: #F0F0F2; /* Hover state / Filter bar */
    --text-main: #515154; /* Readable Gray */
    --text-heading: #1D1D1F; /* Dark Heading */
    --text-muted: #86868B;
    --border-color: #D2D2D7; /* Light Border */
    --success-color: #34C759;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 70px;
    --glow: 0 4px 14px rgba(0, 0, 0, 0.05); /* Lighter sophisticated shadow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 4rem;
    color: var(--text-heading);
}

h2 {
    font-size: 3rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

p {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--text-heading);
    color: var(--bg-body);
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    font-size: 1rem;
    box-shadow: var(--glow);
}

.btn:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--text-heading);
    background: transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Floating Glass Header */
.header-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    pointer-events: none;
}

header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 1000px;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

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

nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--text-heading);
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* New Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 60px;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #1D1D1F 0%, #515154 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-visual {
    width: 100%;
    max-width: 1100px;
    height: 500px;
    border-radius: 32px;
    background: url('assets/hero_bg.png') center/cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Bento Box Products Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
    margin-top: 40px;
    grid-auto-flow: dense;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-card[style*="grid-column: span 2"] {
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .product-card[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.product-card-img {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 20px;
    background-color: var(--bg-surface);
}

.product-card h4 {
    font-size: 1.2rem;
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 600;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.product-card li {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.product-card li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
}

.bento-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: scale(1.02);
    background: var(--bg-surface);
    border-color: rgba(255, 255, 255, 0.15);
}

.bento-large {
    grid-column: span 2;
}

.bento-full {
    grid-column: span 3;
}

.bento-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.bento-card p {
    font-size: 1.1rem;
    color: var(--text-main);
    position: relative;
    z-index: 2;
    max-width: 70%;
}

.bento-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 80%;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 32px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.bento-card:hover .bento-image {
    opacity: 0.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter Section */
.filter-container {
    padding: 20px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: var(--header-height);
    z-index: 900;
}

.filter-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--glow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.product-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-info {
    padding: 30px;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.product-info ul {
    list-style: none;
    margin-top: 20px;
}

.product-info li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.product-info li:last-child {
    border-bottom: none;
}

.product-info li::before {
    content: "→";
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* About Preview */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
}

.about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding-right: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--text-heading);
    margin-bottom: 5px;
}

.contact-form-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--glow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-heading);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.2);
}

/* Footer */
footer {
    background: #050608; /* Darker footer */
    padding: 80px 0 30px;
    color: #8b949e;
}

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

.footer-col h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid, .about-preview, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual, .about-img {
        height: 300px;
        order: -1;
    }

    h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        margin-top: 20px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
