/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #22c55e;
    --green-dark: #16a34a;
    --green-light: #bbf7d0;
    --blue-dark: #0f172a;
    --blue: #1e293b;
    --blue-light: #334155;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --white: #ffffff;
    --red: #ef4444;
    --orange: #f97316;
    --yellow: #eab308;
    --purple: #8b5cf6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--blue-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--blue-dark);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-dark);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
}

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

.btn-nav {
    background: var(--green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.btn-nav:hover {
    background: var(--green-dark) !important;
    transform: translateY(-1px);
}

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

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

.hero-content {
    flex: 1;
    min-width: 0;
    animation: heroSlideIn 0.8s ease-out;
}

.hero-visual {
    animation: heroSlideIn 0.8s ease-out 0.2s both;
}

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

.hero-badge {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--blue-dark);
}

.highlight {
    color: var(--green);
    background: linear-gradient(135deg, var(--green), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.dashboard-preview {
    background: var(--blue-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 460px;
    animation: float 6s ease-in-out infinite;
}

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

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--blue);
    font-size: 0.8rem;
    color: var(--gray-400);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: var(--red); }
.preview-dots span:nth-child(2) { background: var(--yellow); }
.preview-dots span:nth-child(3) { background: var(--green); }

.preview-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preview-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--blue);
    padding: 14px 18px;
    border-radius: 12px;
}

.preview-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-icon.green { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.preview-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.preview-label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.preview-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.preview-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding: 10px 0;
}

.bar {
    flex: 1;
    background: var(--green);
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    transition: height 0.5s;
}

.bar.active {
    background: #3b82f6;
}

.bar.dim {
    background: var(--blue-light);
}

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

.section-dark {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--blue-dark);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== PROBLEM ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.problem-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon.red { background: #fef2f2; color: var(--red); }
.problem-icon.orange { background: #fff7ed; color: var(--orange); }
.problem-icon.yellow { background: #fefce8; color: var(--yellow); }

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--blue-dark);
}

.problem-card p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== SOLUTION ===== */
.solution-steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--blue-dark);
}

.step-content p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--green);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-dark);
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: var(--green);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-400);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 28px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px 32px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.team-card:hover::before {
    opacity: 1;
}

.team-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--white);
}

.avatar-status.online {
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.team-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 14px;
}

.team-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.team-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 18px;
}

.team-contrib {
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.contrib-bar {
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.contrib-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease;
}

.contrib-label {
    font-size: 0.7rem;
    color: var(--gray-400);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--blue-dark);
}

.contact-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green);
    display: block;
    margin-bottom: 4px;
}

a.contact-link:hover {
    color: var(--green-dark);
}

.contact-detail {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--blue-dark);
    background: var(--gray-50);
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-submit {
    align-self: flex-start;
}

/* Success state */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* ===== DETECTION EXPLAINER ===== */
.detection-explainer {
    margin-bottom: 48px;
    padding: 36px;
    background: var(--gray-50);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
}

.detection-explainer h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
    color: var(--blue-dark);
}

.detection-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.detection-step {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.3s;
}

.detection-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.detection-num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detection-icon {
    margin: 12px auto 16px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(34,197,94,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detection-step:nth-child(2) .detection-num { background: var(--blue); }
.detection-step:nth-child(2) .detection-icon { background: rgba(59,130,246,0.08); }
.detection-step:nth-child(3) .detection-num { background: var(--purple); }
.detection-step:nth-child(3) .detection-icon { background: rgba(139,92,246,0.08); }

.detection-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--blue-dark);
}

.detection-step p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 12px;
}

.detection-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(34,197,94,0.1);
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detection-tag.blue { background: rgba(59,130,246,0.1); color: #2563eb; }
.detection-tag.purple { background: rgba(139,92,246,0.1); color: #7c3aed; }

/* ===== SHOP GRID ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.product-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.product-card.featured-product {
    border-color: var(--green);
    box-shadow: 0 8px 30px rgba(34,197,94,0.12);
}

.product-badge {
    position: absolute;
    top: -11px;
    left: 24px;
    background: var(--gray-500);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.blue { background: var(--blue); }
.product-badge.green { background: var(--green); }

.product-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.product-icon-big {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(34,197,94,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.product-features span {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.product-detection {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gray-500);
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 16px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-dark);
}

.product-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-400);
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-stock.in-stock { color: var(--green-dark); }
.product-stock.out-of-stock { color: var(--red); }

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.product-stock.out-of-stock .stock-dot { background: var(--red); }

.product-savings {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(34,197,94,0.08);
    padding: 8px 14px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 12px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.qty-value {
    font-size: 1.2rem;
    font-weight: 800;
    min-width: 30px;
    text-align: center;
}

.product-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.add-to-cart.added {
    background: var(--gray-500);
    border-color: var(--gray-500);
    pointer-events: none;
}

/* ===== CART ===== */
.cart-panel {
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 20px;
    padding: 28px;
    margin-top: 24px;
    box-shadow: 0 8px 30px rgba(34,197,94,0.1);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.cart-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
}

.cart-count {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 600;
}

.cart-items { display: flex; flex-direction: column; gap: 12px; }

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: 12px;
}

.cart-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-item-detail {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.cart-item-price {
    font-weight: 800;
    font-size: 1rem;
    color: var(--blue-dark);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 12px;
}

.cart-item-remove:hover { text-decoration: underline; }

.cart-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid var(--gray-100);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-total {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green);
}

.cart-checkout {
    width: 100%;
    justify-content: center;
}

.cart-success {
    text-align: center;
    padding: 24px;
}

.cart-success h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 8px;
}

.cart-success p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== LIVE COUNTER ===== */
.live-counter-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--white);
}

.live-counter-section .section-tag {
    background: rgba(34,197,94,0.2);
    color: #86efac;
}

.live-counter-section .section-header h2 {
    color: var(--white);
}

.live-counter-section .section-header p {
    color: var(--gray-400);
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.live-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}

.live-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.live-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.live-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
    transition: color 0.3s;
}

.live-card-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.live-card-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.live-card-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
    width: 0%;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.testimonial-stars {
    color: #eab308;
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blue-dark);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 80px 0;
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--gray-400);
    max-width: 500px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
}

.cta-section .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-text {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue-dark);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-chevron {
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    padding: 0 20px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

.faq-answer p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== PRODUCT SPECS ===== */
.product-specs {
    margin: 12px 0;
    border-top: 1px solid var(--gray-200);
    padding-top: 10px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.82rem;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-100);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row span:last-child {
    font-weight: 600;
    color: var(--blue-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 24px;
    }

    .dashboard-preview {
        max-width: 360px;
    }

    .section {
        padding: 60px 0;
    }

    .pricing-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .detection-steps {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cart-panel {
        margin: 16px 0;
    }
}
