@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

:root {
    --bg-color: #F4F5F0; /* Cloud Dancer */
    --text-color: #2B2B2B; /* Deep Charcoal */
    --accent-color: #C8B8A6; /* Soft Clay */
    --glass-bg: rgba(244, 245, 240, 0.4);
    --glass-border: rgba(200, 184, 166, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(43, 43, 43, 0.05);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(43, 43, 43, 0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    transition-timing-function: ease-out;
}

.cursor.hover-magnetic {
    width: 60px;
    height: 60px;
    background-color: rgba(200, 184, 166, 0.3); /* Soft Clay tint */
}
.cursor-follower.hover-magnetic {
    opacity: 0;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* Navigation - Glassmorphic */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1000px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 15px 40px;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Main Layout */
main {
    padding-top: 100px;
}

section {
    min-height: 100vh;
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
#hero {
    position: relative;
    align-items: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background-image: url('../assets/bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.kinetic-text {
    font-size: clamp(4rem, 15vw, 12rem);
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 20px;
}

.kinetic-text span {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), font-weight 0.4s, color 0.4s;
    transform-origin: bottom center;
}

.kinetic-text:hover span {
    transform: translateY(-10px) scaleY(1.05);
    font-variation-settings: 'wght' 900;
    color: var(--accent-color);
}
.kinetic-text span:nth-child(1) { transition-delay: 0.0s; }
.kinetic-text span:nth-child(2) { transition-delay: 0.05s; }
.kinetic-text span:nth-child(3) { transition-delay: 0.1s; }
.kinetic-text span:nth-child(4) { transition-delay: 0.15s; }
.kinetic-text span:nth-child(5) { transition-delay: 0.2s; }
.kinetic-text span:nth-child(6) { transition-delay: 0.25s; }
.kinetic-text span:nth-child(7) { transition-delay: 0.3s; }

.subtitle {
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 300;
    color: rgba(43, 43, 43, 0.7);
}

.cta-button {
    margin-top: 40px;
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

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

.about-text h2 {
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(43, 43, 43, 0.8);
}

.about-image {
    position: relative;
    padding-bottom: 120%; /* Asymmetrical aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), rgba(244, 245, 240, 0.1));
}

.image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    box-shadow: var(--glass-shadow);
}

/* Products Showcase */
#products {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

#products h2 {
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: 60px;
    text-align: center;
}

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

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(43, 43, 43, 0.08);
}

.product-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: var(--bg-color);
}

.product-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(244, 245, 240, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(43, 43, 43, 0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.product-info p {
    color: rgba(43, 43, 43, 0.75);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.magnetic-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    margin-top: 0; /* Override cta-button */
}

.magnetic-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

#contact h2 {
    font-size: clamp(3rem, 6vw, 4rem);
    margin-bottom: 40px;
    text-align: center;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(43, 43, 43, 0.3);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--text-color);
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(43, 43, 43, 0.5);
    font-size: 1rem;
    transition: 0.3s ease all;
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.submit-btn {
    padding: 15px;
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.social-links {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer {
    text-align: center;
    padding: 20px;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: var(--delay, 0s);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .masonry-grid {
        column-count: 1;
    }
    .kinetic-text span {
        display: inline; /* Keep on one line but maybe smaller */
    }
    .nav-links {
        display: none;
    }
    /* Touch devices disable custom cursor */
    .cursor, .cursor-follower {
        display: none;
    }
    * {
        cursor: auto;
    }
}
