/* ===== VARIABLES ===== */
:root {
    --primary: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FF8A65;
    --primary-pale: #FFF3E0;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --bg: #fafafa;
    --bg-alt: #f5f5f5;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 30px rgba(255, 87, 34, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 87, 34, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-pale) 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 50%;
    left: 40%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Banner */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner {
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    text-align: center;
    max-width: 280px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.step:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 35px;
    color: var(--primary);
    font-size: 1.5rem;
}

/* ===== CATALOGUE ===== */
.catalogue-section {
    padding: 100px 0;
    background: var(--white);
}

.catalogue-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-pale), #ffe0d6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    position: relative;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-badge.new {
    background: #4CAF50;
}

.product-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-fav:hover,
.product-fav.active {
    color: #e74c3c;
}

.product-info {
    padding: 16px;
}

.product-shop {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.product-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: #FFC107;
}

.product-rating span {
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.price-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 4px;
}

.product-price .btn-sm {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== ARTISANS SECTION ===== */
.artisans-section {
    padding: 100px 0;
    background: var(--bg);
}

.artisans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.artisan-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

.artisan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.artisan-card-header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    padding: 24px 16px 16px;
    position: relative;
}

.artisan-avatar {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: var(--white);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.artisan-verified {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--white);
    font-size: 1rem;
}

.artisan-card-body {
    padding: 20px 16px;
}

.artisan-card-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.artisan-specialty {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.artisan-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.artisan-location i {
    color: var(--primary);
    font-size: 0.75rem;
}

.artisan-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.82rem;
}

.artisan-rating {
    color: #FFC107;
    font-weight: 600;
}

.artisan-rating span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

.artisan-exp {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.artisan-card-body .btn {
    width: 100%;
    justify-content: center;
}

/* ===== VENDOR SECTION ===== */
.vendor-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.vendor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vendor-section .section-tag {
    background: rgba(255, 87, 34, 0.15);
}

.vendor-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.vendor-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.vendor-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vendor-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vendor-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 87, 34, 0.15);
    color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.vendor-features h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.vendor-features p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Store Mockup */
.store-mockup {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.store-info i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 1.2rem;
}

.store-status {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.store-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.store-tab {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
}

.store-tab.active {
    color: var(--primary);
    font-weight: 600;
}

.store-tab.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.store-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-product {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition);
}

.store-product:hover {
    background: rgba(255, 255, 255, 0.06);
}

.sp-img {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.sp-details {
    flex: 1;
}

.sp-name {
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.sp-price {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
}

.sp-actions {
    display: flex;
    gap: 12px;
}

.sp-edit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    cursor: pointer;
}

.sp-edit:hover {
    color: var(--white);
}

.sp-delete {
    color: rgba(231, 76, 60, 0.7);
    font-size: 0.8rem;
    cursor: pointer;
}

.sp-delete:hover {
    color: #e74c3c;
}

/* ===== CHAT SECTION ===== */
.chat-section {
    padding: 100px 0;
    background: var(--bg);
}

.chat-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.chat-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 380px;
}

.chat-mock-header {
    background: var(--primary);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-online {
    font-size: 0.7rem;
    opacity: 0.8;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.chat-msg.received {
    background: var(--bg-alt);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-msg.sent {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-bubble-offer {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 16px;
    max-width: 85%;
}

.chat-bubble-offer.received {
    align-self: flex-start;
}

.bubble-offer-header {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.bubble-offer-product {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.bubble-offer-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.bubble-offer-actions {
    display: flex;
    gap: 8px;
}

.btn-accept,
.btn-counter {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.btn-accept {
    background: #4CAF50;
    color: var(--white);
}

.btn-counter {
    background: var(--bg-alt);
    color: var(--text);
}

.chat-bubble-order {
    background: var(--primary-pale);
    border-radius: 16px;
    padding: 14px 16px;
    align-self: flex-start;
    max-width: 85%;
}

.bubble-order-header {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.bubble-order-product {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.bubble-order-status {
    font-size: 0.8rem;
    color: #2196F3;
    font-weight: 500;
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    gap: 8px;
}

.chat-input input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-content .section-tag {
    margin-bottom: 16px;
}

.chat-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.chat-content > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.chat-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.chat-feature i {
    width: 40px;
    height: 40px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SECURITY SECTION ===== */
.security-section {
    padding: 100px 0;
    background: var(--white);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.security-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.security-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.security-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.security-card:hover .security-icon {
    background: var(--primary);
    color: var(--white);
}

.security-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.security-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== NOTIFICATIONS ===== */
.notifications-section {
    padding: 100px 0;
    background: var(--bg);
}

.notif-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.notif-content .section-tag {
    margin-bottom: 16px;
}

.notif-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.notif-content > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notif-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.notif-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.notif-icon.push {
    background: var(--primary-pale);
    color: var(--primary);
}

.notif-icon.inapp {
    background: #E3F2FD;
    color: #2196F3;
}

.notif-icon.email {
    background: #E8F5E9;
    color: #4CAF50;
}

.notif-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.notif-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Notification Mockup */
.notif-mockup {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif-mock-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: slideInRight 0.5s ease forwards;
    opacity: 0;
}

.notif-mock-item:nth-child(1) { animation-delay: 0.1s; }
.notif-mock-item:nth-child(2) { animation-delay: 0.3s; }
.notif-mock-item:nth-child(3) { animation-delay: 0.5s; }
.notif-mock-item:nth-child(4) { animation-delay: 0.7s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notif-mock-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
}

.notif-mock-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.notif-mock-icon.paid {
    background: #E8F5E9;
    color: #4CAF50;
}

.notif-mock-icon.shipped {
    background: #E3F2FD;
    color: #2196F3;
}

.notif-mock-icon.delivered {
    background: var(--primary-pale);
    color: var(--primary);
}

.notif-mock-icon.offer {
    background: #FFF3E0;
    color: #FF9800;
}

.notif-mock-text {
    flex: 1;
}

.notif-mock-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.notif-mock-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.notif-mock-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ===== DOWNLOAD ===== */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.download-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-content .highlight {
    color: var(--white);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 6px;
}

.download-content > p {
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: left;
}

.download-btn:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.download-btn i {
    font-size: 2rem;
}

.download-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.download-store {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.download-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    height: 36px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .hero-banner {
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalogue-grid,
    .artisans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vendor-layout,
    .chat-layout,
    .notif-layout {
        grid-template-columns: 1fr;
    }

    .vendor-visual {
        order: -1;
    }

    .chat-visual {
        display: flex;
        justify-content: center;
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 40px 40px;
        gap: 24px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .vendor-content h2,
    .chat-content h2,
    .notif-content h2,
    .download-content h2 {
        font-size: 1.8rem;
    }

    .features-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .catalogue-grid,
    .artisans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .catalogue-grid {
        grid-template-columns: 1fr;
    }

    .catalogue-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .cat-btn {
        white-space: nowrap;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
    background: var(--bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-info-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary);
}

/* Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
    background: var(--white);
}

.form-alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.form-alert.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-alert.error {
    display: block;
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.contact-submit {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}
