@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
    --bg-primary: #0a0d0b;
    --bg-secondary: #111512;
    --color-primary: #c5a880;     /* Muga Silk Gold */
    --color-primary-light: #e5ccaa;
    --color-tea: #36593b;         /* Assam Tea Green */
    --color-tea-light: #4c7752;
    --color-accent: #dca75b;      /* Warm Bronze Accent */
    --text-main: #f3f5f3;         /* Off-white */
    --text-muted: #9ba49c;        /* Muted Green-Grey */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --glass-bg: rgba(17, 21, 18, 0.7);
    --glass-border: rgba(197, 168, 128, 0.12);
    --glass-glow: rgba(197, 168, 128, 0.04);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-tea);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --- BACKGROUND DECORATIONS --- */
.bg-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(54, 89, 59, 0.12) 0%, transparent 70%);
    filter: blur(80px);
}

.glow-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
    filter: blur(100px);
}

.glow-3 {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(76, 119, 82, 0.05) 0%, transparent 60%);
    filter: blur(90px);
}

/* --- REUSABLE UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

.heading-lg {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.heading-md {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.heading-sm {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.gold-text {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

.text-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.text-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.text-mobile-only {
    display: none;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #121513;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.2);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(197, 168, 128, 0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(197, 168, 128, 0.05);
    color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

/* --- HEADER --- */
header {
    padding: 30px 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

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

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

.logo-img {
    height: 72px;
    width: auto;
    background: #FAF9F6; /* Alabaster heritage paper background to blend logo beautifully */
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.25);
    border-color: var(--color-primary);
}

.footer-logo-img {
    height: 60px;
}

.header-badge {
    background: rgba(54, 89, 59, 0.2);
    border: 1px solid rgba(76, 119, 82, 0.3);
    color: var(--color-tea-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #46d160;
    border-radius: 50%;
    box-shadow: 0 0 8px #46d160;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(70, 209, 96, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(70, 209, 96, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(70, 209, 96, 0); }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(40%) contrast(110%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, rgba(10, 13, 11, 0.4) 40%, rgba(10, 13, 11, 0.9) 85%, var(--bg-primary) 100%);
}

.hero-content {
    text-align: center;
    max-width: 880px;
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--color-primary);
    display: inline-block;
    animation: tracking-in 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes tracking-in {
    0% { letter-spacing: -0.5em; opacity: 0; }
    40% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero-content h1 {
    margin-bottom: 28px;
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-content .subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 50px auto;
    font-weight: 300;
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Countdown timer styles removed */

/* --- THE REASONS SECTION (ABOUT) --- */
.about-section {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(197, 168, 128, 0.05);
    border-bottom: 1px solid rgba(197, 168, 128, 0.05);
    position: relative;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px auto;
}

.section-intro .category {
    font-size: 0.8rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.section-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 20px;
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 168, 128, 0.25);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-tea) 0%, var(--color-primary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: rgba(197, 168, 128, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-size: 1.35rem;
    border: 1px solid rgba(197, 168, 128, 0.15);
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* --- PRODUCTS GRID SECTION --- */
.showcase-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

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

.showcase-content {
    flex: 1;
}

.showcase-content .category {
    color: var(--color-tea-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.showcase-content h2 {
    margin-bottom: 24px;
}

.showcase-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 1.05rem;
}

.showcase-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.meta-item-bullet {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.meta-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.meta-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.showcase-media {
    flex: 1.1;
    position: relative;
}

.media-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.media-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 13, 11, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-wrapper:hover .showcase-img {
    transform: scale(1.05);
}

/* Image Grid for Silk Showcase */
.showcase-grid-media {
    flex: 1.1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.grid-img-large {
    grid-row: 1 / span 2;
    grid-column: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-img-small-1, .grid-img-small-2 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-grid-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-grid-media .grid-img-large img {
    height: 480px;
}

.showcase-grid-media .grid-img-small-1 img, 
.showcase-grid-media .grid-img-small-2 img {
    height: 230px;
}

.showcase-grid-media div:hover img {
    transform: scale(1.06);
}

/* --- NEWSLETTER/SIGNUP SECTION --- */
.signup-section {
    background: radial-gradient(circle at center, rgba(54, 89, 59, 0.15) 0%, var(--bg-primary) 70%);
    position: relative;
    border-top: 1px solid rgba(197, 168, 128, 0.05);
}

.signup-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
}

.signup-content h2 {
    margin-bottom: 16px;
}

.signup-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.signup-form {
    display: flex;
    gap: 12px;
    position: relative;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.signup-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.form-message {
    margin-top: 15px;
    font-size: 0.85rem;
    text-align: left;
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.form-message.success {
    color: #46d160;
    display: block;
}

.form-message.error {
    color: #ff4a4a;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FOOTER --- */
footer {
    background: #060807;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

.footer-brand .logo {
    font-size: 1.4rem;
}

.footer-brand p {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--color-primary);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 300;
}

/* --- UI SNEAK PEEK SECTION --- */
.sneak-peek-section {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(197, 168, 128, 0.05);
    border-bottom: 1px solid rgba(197, 168, 128, 0.05);
    position: relative;
    overflow: hidden;
}

.sneak-peek-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-content: center;
    perspective: 1200px; /* 3D perspective */
    padding-top: 20px;
}

.ui-mockup-card {
    background: rgba(17, 21, 18, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

/* Default 3D tilt alignments */
#mockup-home {
    transform: rotateY(10deg) rotateX(4deg) translateZ(0) translateY(15px);
}

#mockup-product {
    transform: rotateY(0deg) rotateX(4deg) translateZ(30px) scale(1.03);
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: 0 25px 60px rgba(197, 168, 128, 0.06), 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

#mockup-checkout {
    transform: rotateY(-10deg) rotateX(4deg) translateZ(0) translateY(15px);
}

/* Hover effects */
.ui-mockup-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateZ(50px) scale(1.06) !important;
    border-color: var(--color-primary);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(197, 168, 128, 0.15);
    z-index: 10 !important;
}

/* Mockup Device Shell */
.mockup-header {
    height: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup-notch {
    width: 110px;
    height: 15px;
    background: #000;
    border-radius: 0 0 10px 10px;
}

.mockup-body {
    height: 440px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-body img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    transition: transform 7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ui-mockup-card:hover .mockup-body img {
    transform: translateY(calc(-100% + 440px));
}

.mockup-details {
    padding: 24px 15px 15px 15px;
    text-align: center;
}

.mockup-details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-main);
}

.mockup-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 300;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .showcase-media, .showcase-grid-media {
        width: 100%;
    }
    
    .showcase-grid-media .grid-img-large img {
        height: 380px;
    }
    
    .showcase-grid-media .grid-img-small-1 img, 
    .showcase-grid-media .grid-img-small-2 img {
        height: 180px;
    }
    
    /* Sneak Peek Responsive tablet */
    .sneak-peek-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        perspective: none;
    }
    
    .ui-mockup-card {
        transform: none !important;
        max-width: 290px;
    }
    
    .ui-mockup-card:hover {
        transform: translateY(-8px) scale(1.03) !important;
    }

    /* Continuous auto scroll on mobile/tablet viewports since hover is unavailable */
    .ui-mockup-card .mockup-body img {
        animation: auto-scroll-mobile 16s ease-in-out infinite;
    }

    .ui-mockup-card:active .mockup-body img {
        animation-play-state: paused;
    }

    @keyframes auto-scroll-mobile {
        0%, 10% { transform: translateY(0); }
        50%, 60% { transform: translateY(calc(-100% + 440px)); }
        100% { transform: translateY(0); }
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 180px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero-content .subtitle {
        margin-bottom: 30px;
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    /* Mobile font scale reductions */
    body {
        font-size: 0.85rem;
    }

    .heading-lg {
        font-size: 2.0rem !important;
        line-height: 1.2;
    }

    .heading-md {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    .heading-sm {
        font-size: 1.15rem !important;
    }

    .showcase-content p {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

    .signup-content p {
        font-size: 0.85rem !important;
    }

    /* Toggle visibility of long texts on mobile */
    .text-extra {
        display: none !important;
    }

    .text-mobile-only {
        display: inline !important;
    }

    .signup-content {
        padding: 40px 24px;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .signup-form button {
        width: 100%;
        padding: 16px;
    }
    
    footer .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Sneak Peek Responsive mobile */
    .sneak-peek-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ui-mockup-card {
        max-width: 300px;
    }
}
