/* Fluent Design 2 - 2026 Ready */
:root {
    --primary: #60a5fa;
    --primary-light: #93c5fd;
    --accent: #f97316;
    --success: #10b981;
    --text: #f8fafc;
    --text-light: #cbd5e1;
    --text-muted: #94a3b8;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-glass: rgba(15, 23, 42, 0.8);
    --border: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --backdrop-blur: blur(20px);
    --input-bg: rgba(255, 255, 255, 0.04);
    --input-border: rgba(255, 255, 255, 0.08);
    --input-placeholder: rgba(203, 213, 225, 0.6);
    /* expose safe-area inset for JS to read (fallback 0) */
    --safe-area-top: env(safe-area-inset-top, 0px);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Glass Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.glass-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.brand-icon {
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(249, 115, 22, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 6rem;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 58, 138, 0.9) 50%,
        rgba(15, 23, 42, 0.95) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(249, 115, 22, 0.15) 0%, transparent 70%),
                radial-gradient(circle at 70% 60%, rgba(96, 165, 250, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: linear-gradient(135deg,
        #1e293b 0%,
        #334155 25%,
        #0f172a 50%,
        #1e293b 75%,
        #0f172a 100%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(249, 115, 22, 0.1) 0%,
        rgba(96, 165, 250, 0.08) 50%,
        rgba(249, 115, 22, 0.1) 100%);
    animation: heroGradientShift 8s ease-in-out infinite;
}

@keyframes heroGradientShift {
    0%, 100% {
        background: linear-gradient(135deg,
            rgba(249, 115, 22, 0.1) 0%,
            rgba(96, 165, 250, 0.08) 50%,
            rgba(249, 115, 22, 0.1) 100%);
    }
    50% {
        background: linear-gradient(135deg,
            rgba(96, 165, 250, 0.1) 0%,
            rgba(249, 115, 22, 0.08) 50%,
            rgba(96, 165, 250, 0.1) 100%);
    }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 60% 10%, rgba(249, 115, 22, 0.08) 0%, transparent 30%);
    animation: patternFloat 12s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(25px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    margin-top: 1rem;
    padding: 5rem 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3rem;
    border: 1px solid var(--accent);
    box-shadow: var(--shadow), 0 0 20px rgba(249, 115, 22, 0.2);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: var(--shadow), 0 0 20px rgba(249, 115, 22, 0.2);
    }
    to {
        box-shadow: var(--shadow), 0 0 30px rgba(249, 115, 22, 0.4);
    }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: var(--text);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-product {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--bg);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.3);
}

.btn-product {
    background: var(--gradient-accent);
    color: white;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.4);
}

.btn-product:hover::before {
    left: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Products Section */
.products-section {
    padding: 6rem 0;
    background: var(--bg);
}

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

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(249, 115, 22, 0.3);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.product-badge.bestseller {
    background: var(--gradient-accent);
    color: white;
}

.product-badge.popular {
    background: var(--gradient);
    color: white;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-specs span {
    background: var(--bg-light);
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
}

.unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.products-cta {
    text-align: center;
}

/* Categories Section */
.categories-section {
    padding: 2rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

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

.category-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--border);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover,
.category-card.active {
    border-color: var(--accent);
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.3);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    text-align: center;
    margin-top: 1rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.separator {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Catalog */
.products-catalog {
    padding: 4rem 0;
    background: var(--bg);
}

/* Offer Section */
.offer-section {
    padding: 6rem 0;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.offer-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.offer-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.offer-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.offer-form input,
.offer-form select,
.offer-form textarea {
    padding: 1rem 1.5rem;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--input-bg);
    backdrop-filter: var(--backdrop-blur);
    color: var(--text);
    transition: var(--transition);
    font-family: inherit;
}

.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}
.offer-form input::placeholder,
.offer-form textarea::placeholder,
.offer-form select::placeholder {
    color: var(--input-placeholder);
    opacity: 1;
}

/* Stronger contrast for the offer-section (orange gradient background) */
.offer-section .offer-form input,
.offer-section .offer-form select,
.offer-section .offer-form textarea {
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: white !important;
}

.offer-section .offer-form input::placeholder,
.offer-section .offer-form textarea::placeholder,
.offer-section .offer-form select::placeholder {
    color: rgba(255,255,255,0.75) !important;
}

/* Ensure autofill uses the same dark background and white text in the offer section */
.offer-section input:-webkit-autofill,
.offer-section textarea:-webkit-autofill,
.offer-section select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px rgba(0,0,0,0.28) inset !important;
    box-shadow: 0 0 0px 1000px rgba(0,0,0,0.28) inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Prevent browsers from switching to white background when the field is focused/typed */
.offer-section .offer-form input:focus,
.offer-section .offer-form textarea:focus,
.offer-section .offer-form select:focus,
.offer-section .offer-form input:active,
.offer-section .offer-form textarea:active,
.offer-section .offer-form select:active {
    background: rgba(0,0,0,0.28) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
}

/* Explicitly target telephone input which some mobile browsers style differently */
.offer-section .offer-form input[type="tel"] {
    background: rgba(0,0,0,0.28) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
}

/* Ensure select shows readable text and options on open */
.offer-form select {
    color: var(--text);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.25rem; /* room for native arrow */
}

.offer-form select option {
    background: var(--bg-light);
    color: var(--text);
}

/* Fallback for older browsers where option bg may still be white */
select:focus, select:active {
    color: var(--text);
}

/* Site-wide select styling and custom arrow */
select {
    color: var(--text);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), var(--input-bg));
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    transition: var(--transition);
}

select:focus {
    box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
    border-color: var(--accent);
    outline: none;
    color: var(--text);
}

/* Options styling (best-effort; some browsers ignore option backgrounds) */
select option {
    background: var(--bg-light);
    color: var(--text);
}

/* Autofill fixes for Chrome */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px var(--input-bg) inset;
    box-shadow: 0 0 0px 1000px var(--input-bg) inset;
    -webkit-text-fill-color: var(--text) !important;
}

.offer-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-actions {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-actions h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Recent Orders Social Proof */
.recent-orders {
    margin-bottom: 4rem;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.order-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.order-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.order-avatar {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.order-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.order-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.order-content small {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Live Stats Counter */
.live-stats {
    margin-bottom: 4rem;
}

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

.live-stats .stat-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.live-stats .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.live-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.live-stats .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 4rem;
}

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

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info strong {
    color: var(--text);
    display: block;
}

.author-info small {
    color: var(--text-muted);
}

/* Price Calculator Section */
.price-calculator-section {
    margin-top: 4rem;
}

/* Price Calculator Card */
.price-calculator {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.price-calculator:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.price-calculator h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Calculator Form Controls */
.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calc-input {
    text-align: left;
}

.calc-input label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.calc-input input,
.calc-input select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--input-bg);
    backdrop-filter: var(--backdrop-blur);
    color: var(--text);
    transition: var(--transition);
    font-family: inherit;
}

.calc-input input:focus,
.calc-input select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

.calc-input input::placeholder,
.calc-input select::placeholder {
    color: var(--input-placeholder);
    opacity: 1;
}

/* Calculator Result */
.calc-result {
    margin-bottom: 2rem;
}

.result-display {
    margin-bottom: 0.5rem;
}

.result-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.result-unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.result-breakdown {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.calc-actions {
    margin-top: 2rem;
}

.calc-cta {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.calc-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.calc-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.calc-cta:hover::before {
    left: 100%;
}

/* Delivery Tracking Section */
.delivery-tracking-section {
    margin-top: 4rem;
}

.delivery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.delivery-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.delivery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.delivery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.delivery-icon {
    font-size: 2rem;
}

.delivery-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.status-in-transit .status-dot {
    background: var(--primary);
    animation: pulse 2s infinite;
}

.status-delivered .status-dot {
    background: var(--success);
}

.status-loading .status-dot {
    background: var(--text-light);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.delivery-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.delivery-content p {
    margin: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.delivery-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Product Page Styles */
.product-hero {
    padding: 8rem 0 2rem;
    background: var(--bg-light);
    margin-top: 1rem;
}

.product-details {
    padding: 4rem 0;
    background: var(--bg);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: relative;
}

.main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.badge.bestseller {
    background: var(--gradient-accent);
}

.badge.popular {
    background: var(--gradient);
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.product-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-specs-section {
    margin-bottom: 2rem;
}

.product-specs-section h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.specs-grid {
    display: grid;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
}

.spec-label {
    font-weight: 600;
    color: var(--text);
}

.spec-value {
    color: var(--text-light);
}

.product-pricing {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.price-unit {
    font-size: 1.2rem;
    color: var(--text-light);
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.product-actions .btn-product {
    flex: 1;
    margin: 0;
}

.btn-large {
    flex: 1;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
}

.feature-icon {
    font-size: 1.2rem;
}

.product-description-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-content h2 {
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.detailed-desc {
    color: var(--text-light);
    line-height: 1.8;
}

.detailed-desc h3 {
    color: var(--text);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.detailed-desc ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.detailed-desc li {
    margin-bottom: 0.5rem;
}

.related-products {
    padding: 4rem 0;
    background: var(--bg);
}

.related-products h2 {
    color: var(--text);
    margin-bottom: 3rem;
    font-size: 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .price-main {
        font-size: 2rem;
    }
}

/* Glass Footer */
.glass-footer {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact {
    text-align: right;
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* RNZ maintainer styles */
.footer-maintainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.rnz-logo {
    height: 28px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: none;
}

.maintained-by {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.maintained-by a {
    color: var(--text-light);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-actions {
        padding-top: 7.5rem;
        align-items: center;
    }

    /* Make header and nav more compact on tablet/mobile */
    .glass-header {
        backdrop-filter: var(--backdrop-blur);
        border-bottom-width: 1px;
    }


/* Extra padding for small phones (e.g. iPhone 12/13/14 series) to account for fixed header + notch */
@media (max-width: 420px) {
    .hero-section {
        /* Use safe-area-inset-top when available to avoid overlap with the notch/status bar */
        padding-top: calc(9rem + env(safe-area-inset-top, 0px));
    }
}
    .navbar {
        min-height: 56px;
        align-items: center;
    }

    .nav-brand {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .brand-icon {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.95rem;
    }

    .btn-call {
        padding: 0.5rem 0.9rem;
        font-size: 0.95rem;
    }

    /* reduce top offset for hero so content isn't pushed too far down on mobile */
    .hero-section {
        padding-top: 7.5rem;
    }
    

/* Ensure tablet-sized screens (iPad) push hero content below fixed header */
@media (max-width: 1024px) {
    .hero-section {
        padding-top: 7rem;
    }
}
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid,
    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile: turn category grid into a compact horizontal pill scroller */
    .categories-section {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .categories-grid {
        display: flex;
        gap: 0.4rem;
        overflow-x: auto;
        padding: 0.4rem 0.6rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        align-items: center;
        /* allow a little peek of next item */
        padding-left: 0.75rem;
    }

    .category-card {
        flex: 0 0 auto;
        min-width: 88px;
        padding: 0.45rem 0.75rem;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.03);
        text-align: center;
        scroll-snap-align: start;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        font-size: 0.95rem;
    }

    .category-card h3 { font-size: 0.95rem; margin: 0; }

    .category-card.active {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg), 0 0 12px rgba(249,115,22,0.15);
        background: var(--gradient-accent);
        color: white;
    }

    /* hide large category icons on mobile to save space */
    .category-card .category-icon { display: none; }

    /* make products grid more visible immediately below the categories */
    .products-catalog { padding-top: 1.5rem; }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 4rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .features-section,
    .products-section,
    .offer-section,
    .contact-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    .feature-card,
    .product-content,
    .contact-actions {
        padding: 2rem 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
}

/* Force categories to stack full-width on tablet and mobile
   This overrides the horizontal pill scroller for <=1024px so categories
   appear one per row and are fully visible without horizontal scroll. */
@media (max-width: 1024px) {
    .categories-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        overflow: visible !important;
        padding: 0.5rem 0.75rem !important;
        scroll-snap-type: none !important;
        align-items: stretch;
    }

    .category-card {
        flex: none !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 1rem 1rem !important;
        border-radius: var(--border-radius-sm) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.75rem !important;
        text-align: left !important;
        font-size: 1rem !important;
    }

    /* show icons again when stacked to help scanability */
    .category-card .category-icon { display: block !important; font-size: 1.4rem; }
}