:root {
    --primary: #A17461;
    --primary-dark: #8B5D48;
    --secondary: #F9F5F3;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 16px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.nav-brand h1 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover { color: var(--primary); }

.btn-download {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: var(--secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container-luxe {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 40px 0;
    perspective: 1000px;
}

/* AI Background Grid */
.ai-grid-plane {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(rgba(161, 116, 97, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(161, 116, 97, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

.hero-text-left h1, .hero-text-right h1 {
    font-size: 8vw; /* Responsive huge text */
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.hero-center-image {
    position: relative;
    z-index: 10;
    margin: 0 -20px; /* Overlap effect */
}

.luxe-product-card {
    width: 300px;
    height: 400px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
    will-change: transform;
}

.luxe-circle {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #A17461, #8B5D48);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 20px 50px rgba(161, 116, 97, 0.4);
    transform: translateZ(20px);
}

.luxe-main-img {
    width: 176px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    transform: translateZ(60px);
    object-fit: contain;
}

/* AI Effects */
.ai-ring {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translateZ(10px);
}

.ring-1 { width: 320px; height: 320px; animation: spin 20s linear infinite; border-color: rgba(161, 116, 97, 0.3); }
.ring-2 { width: 360px; height: 360px; animation: spin 30s linear infinite reverse; border-style: dotted; }
.ring-3 { width: 400px; height: 400px; animation: spin 40s linear infinite; border: 1px solid rgba(161, 116, 97, 0.1); }

.ai-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateZ(80px);
}

.stat-1 { top: 20%; right: -20px; animation: float 4s ease-in-out infinite; }
.stat-2 { bottom: 20%; left: -20px; animation: float 5s ease-in-out infinite 0.5s; }

.ai-scanner {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    top: 0;
    z-index: 5;
    animation: scan 3s ease-in-out infinite;
    transform: translateZ(65px);
}

@keyframes spin {
    0% { transform: translateZ(10px) rotate(0deg); }
    100% { transform: translateZ(10px) rotate(360deg); }
}

@keyframes scan {
    0%, 100% { top: 10%; opacity: 0; }
    50% { top: 90%; opacity: 1; }
}

.hero-bottom-content {
    text-align: center;
    margin-top: 2rem;
    z-index: 5;
}

.hero-bottom-content p {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    color: rgba(161, 116, 97, 0.15);
    font-size: 4rem;
    z-index: 1;
}

.fe-1 { top: 15%; left: 10%; animation: float 8s ease-in-out infinite; }
.fe-2 { bottom: 20%; right: 15%; animation: float 7s ease-in-out infinite 1s; }
.fe-3 { top: 20%; right: 25%; animation: float 9s ease-in-out infinite 0.5s; font-size: 3rem; }

/* Marquee Section */
.marquee-section {
    background: var(--primary);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    transform: rotate(-1deg);
    margin-top: -40px;
    z-index: 20;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-right: 2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(161, 116, 97, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid #eee;
}

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

/* Products Section */
.products { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-light); }

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

.product-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.product-img-wrapper {
    height: 200px;
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

/* App Showcase */
.app-showcase {
    padding: 100px 0;
    background: var(--text-dark);
    color: white;
    overflow: hidden;
}

.app-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-frame {
    width: 300px;
    height: 600px;
    border: 12px solid #333;
    border-radius: 40px;
    background: white;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.screen-content {
    height: 100%;
    background: url('images/app-image.png') no-repeat center top;
    background-size: cover;
}

.feature-list { margin: 2rem 0; }
.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-list i { color: var(--primary); }

.store-buttons { display: flex; gap: 1rem; }
.store-btn {
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    color: white;
    transition: background 0.3s;
}
.store-btn:hover { background: rgba(255,255,255,0.2); }

/* Features Grid */
.features { padding: 100px 0; background: var(--secondary); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.feature-icon-large {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Team */
.team-section { padding: 100px 0; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.team-card { padding: 1rem; }
.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: var(--shadow);
}

/* CTA */
.cta-section {
    padding: 80px 0;
    background: var(--primary);
    color: white;
    text-align: center;
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.btn-white {
    background: white;
    color: var(--primary);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 2rem;
    display: inline-block;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer h3 { color: var(--primary); margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer a:hover { color: var(--primary); }
.social-links { margin-top: 1rem; display: flex; gap: 1rem; }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-content-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-container-luxe { flex-direction: column; }
    .hero-text-left h1, .hero-text-right h1 { font-size: 4rem; }
    .luxe-product-card { height: 300px; }
    .luxe-circle { width: 200px; height: 200px; }
    .luxe-main-icon { font-size: 6rem; }
    .nav-menu { display: none; }
    .hamburger { display: block; }
    .mobile-frame { margin: 2rem auto; }
}