/* CSS Variables & Roots */
:root {
    --primary: #c26e38;      /* Brown / Orange */
    --primary-hover: #a1582a;
    --primary-light: #fbece3;
    
    --secondary: #3e5a42;    /* Forest green */
    
    --dark: #1f2421;
    --dark-light: #333934;
    
    --text-main: #333333;
    --text-muted: #666666;
    
    --bg-main: #faf9f7;
    --bg-card: #ffffff;
    
    --border: #eaebec;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(194, 110, 56, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: white !important; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

.bg-light { background-color: var(--bg-card); }
.bg-dark { background-color: var(--dark); color: white; }

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-small {
    padding: 10px 24px;
    background: var(--dark);
    color: white;
    font-size: 0.9rem;
}

.btn-small:hover {
    background: var(--primary);
}

.btn-full {
    width: 100%;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(194, 110, 56, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(194, 110, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 110, 56, 0); }
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.glassmorphism-dark {
    background: rgba(31, 36, 33, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: #ffebe6;
    color: #e53e3e;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

.menu-toggle .feather {
    width: 28px;
    height: 28px;
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 24px;
        gap: 12px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-links a {
        display: block;
        text-align: center;
        background: var(--bg-main);
        padding: 14px 20px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        font-weight: 600;
        width: 100%;
    }

    .nav-links a:hover {
        background: var(--primary-light);
        border-color: var(--primary);
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(31,36,33,0.7) 0%, rgba(31,36,33,0.2) 100%);
}

.hero-container {
    display: flex;
    justify-content: flex-start;
}

.hero-card {
    max-width: 550px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.old-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.new-price {
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
}

.triggers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--dark);
}

.trigger .feather {
    color: var(--secondary);
    width: 20px;
    height: 20px;
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-up { animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.visible { opacity: 1; transform: translate(0) !important; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grids */
.section-title {
    text-align: center;
}

.grid {
    display: grid;
    gap: 30px;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 3rem;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrap .feather {
    width: 30px;
    height: 30px;
}

.advantage-card p {
    color: var(--text-muted);
}

/* Split Section */
.container-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.demo-image, .specs-image {
    flex: 1;
}

.demo-content, .specs-content {
    flex: 1;
}

.rounded-image {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.shadow-large {
    box-shadow: var(--shadow-xl);
}

.border-image {
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 900px) {
    .container-flex, .container-flex.reverse {
        flex-direction: column;
    }
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 20px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-info h4 {
    margin-bottom: 4px;
}

.step-info p {
    color: var(--text-muted);
}

/* Labels Section */
.labels-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 3rem;
}

.label-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.label-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.label-chip .feather {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Specs */
.specs-list {
    list-style: none;
    margin-top: 2rem;
}

.specs-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.specs-list li span {
    color: rgba(255,255,255,0.7);
}

.specs-list li b {
    color: white;
}

/* Reviews */
.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 3rem;
}

.stars {
    color: #F59E0B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.review-author strong {
    display: block;
    color: var(--dark);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Order Section */
.order-section {
    background: url('assets/images/hero.png') no-repeat center center / cover;
    position: relative;
}

.order-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.order-container {
    position: relative;
    z-index: 1;
    color: white;
    padding: 0;
    overflow: hidden;
}

.order-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.order-info {
    padding: 4rem;
}

.order-info h2 {
    color: white;
}

.scarcity-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-weight: 500;
    margin-bottom: 3rem;
}

.guarantees {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.guarantee-item .feather {
    width: 28px;
    height: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.guarantee-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.guarantee-item span {
    color: rgba(255,255,255,0.7);
}

.order-form-container {
    border-radius: 0;
    background: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-huge {
    text-align: center;
    margin-bottom: 2rem;
}

.price-huge .old-price {
    font-size: 2rem;
}

.price-huge .new-price {
    font-size: 4rem;
    display: block;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(194, 110, 56, 0.2);
}

.timer-block {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    font-variant-numeric: tabular-nums;
}

.timer span {
    background: var(--bg-main);
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 60px;
    border: 1px solid var(--border);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    border-top: 1px solid #333;
}

.footer p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

/* Responsive Overrides */
@media (max-width: 900px) {
    .order-grid {
        grid-template-columns: 1fr;
    }
    .order-info {
        padding: 3rem 2rem;
    }
    .order-form-container {
        padding: 3rem 2rem;
    }
}

@media (max-width: 600px) {
    .hero-card {
        padding: 2rem;
    }
    .glassmorphism {
        border-radius: var(--radius-md);
    }
    .price-huge .new-price {
        font-size: 3rem;
    }
}
