/* ============================================================
   ENVIO BATTERY - MAIN STYLESHEET
   Serum Electrogreen (P) Ltd.
   Theme: #02c339 (Green) | #fdcc03 (Yellow)
   Version: 1.0
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================================ */
:root {
    /* Brand Colors */
    --envio-green:        #02c339;
    --envio-green-dark:   #02a32f;
    --envio-green-darker: #017a22;
    --envio-green-light:  #e6f9eb;
    --envio-green-soft:   #d1f4da;

    --envio-yellow:        #fdcc03;
    --envio-yellow-dark:   #e0b300;
    --envio-yellow-light:  #fff9e0;

    /* Neutrals */
    --envio-dark:    #1a1a1a;
    --envio-dark-2:  #2a2a2a;
    --envio-dark-3:  #3a3a3a;
    --envio-gray:    #6c757d;
    --envio-gray-2:  #8a9199;
    --envio-border:  #e5e7eb;
    --envio-light:   #f8f9fa;
    --envio-white:   #ffffff;

    /* Status */
    --envio-success: #02c339;
    --envio-warning: #fdcc03;
    --envio-danger:  #dc3545;
    --envio-info:    #0dcaf0;

    /* Typography */
    --font-primary:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading:  'Montserrat', 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 90px;
    --container-padding: 15px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 45px rgba(0, 0, 0, 0.20);
    --shadow-green: 0 8px 30px rgba(2, 195, 57, 0.25);
    --shadow-yellow: 0 8px 30px rgba(253, 204, 3, 0.30);

    /* Transitions */
    --transition-fast:   all 0.2s ease;
    --transition:        all 0.3s ease;
    --transition-slow:   all 0.5s ease;

    /* Z-index */
    --z-navbar:  1030;
    --z-dropdown: 1040;
    --z-modal:   1050;
    --z-tooltip: 1060;
    --z-fixed:   1020;
}

/* ============================================================
   2. GLOBAL RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--envio-dark);
    background-color: var(--envio-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--envio-dark);
    margin-top: 0;
    margin-bottom: 0.5em;
}

h1 { font-size: 3rem;    font-weight: 800; }
h2 { font-size: 2.5rem;  font-weight: 800; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem;  }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem;    }

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--envio-dark);
}

a {
    color: var(--envio-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--envio-green-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    padding-left: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--envio-border);
    margin: 2rem 0;
    opacity: 1;
}

::selection {
    background: var(--envio-green);
    color: var(--envio-white);
}

::-moz-selection {
    background: var(--envio-green);
    color: var(--envio-white);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--envio-light); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--envio-green), var(--envio-green-dark));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--envio-green-dark); }

/* ============================================================
   3. TYPOGRAPHY HELPERS
   ============================================================ */
.text-green      { color: var(--envio-green) !important; }
.text-yellow     { color: var(--envio-yellow) !important; }
.text-dark-envio { color: var(--envio-dark) !important; }
.text-gray       { color: var(--envio-gray) !important; }
.text-highlight  {
    background: linear-gradient(135deg, var(--envio-green), var(--envio-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }

/* ============================================================
   4. LAYOUT HELPERS
   ============================================================ */
.container {
    max-width: 1240px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: var(--section-padding) 0;
}

.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

.bg-light-envio   { background-color: var(--envio-light); }
.bg-green-light   { background-color: var(--envio-green-light); }
.bg-dark-envio    { background-color: var(--envio-dark); color: #fff; }
.bg-gradient-envio {
    background: linear-gradient(135deg, var(--envio-green) 0%, var(--envio-green-dark) 100%);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    user-select: none;
}

.btn:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(2, 195, 57, 0.25);
}

.btn-lg  { padding: 15px 36px; font-size: 16px; }
.btn-sm  { padding: 9px 20px;  font-size: 13px; }

.btn-envio-primary {
    background: var(--envio-green);
    color: var(--envio-white);
    border-color: var(--envio-green);
}
.btn-envio-primary:hover,
.btn-envio-primary:focus {
    background: var(--envio-green-dark);
    border-color: var(--envio-green-dark);
    color: var(--envio-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-envio-yellow {
    background: var(--envio-yellow);
    color: var(--envio-dark);
    border-color: var(--envio-yellow);
}
.btn-envio-yellow:hover,
.btn-envio-yellow:focus {
    background: var(--envio-yellow-dark);
    border-color: var(--envio-yellow-dark);
    color: var(--envio-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-yellow);
}

.btn-outline-envio {
    background: transparent;
    color: var(--envio-green);
    border-color: var(--envio-green);
}
.btn-outline-envio:hover,
.btn-outline-envio:focus {
    background: var(--envio-green);
    color: var(--envio-white);
    transform: translateY(-2px);
}

.btn-outline-yellow {
    background: transparent;
    color: var(--envio-yellow);
    border-color: var(--envio-yellow);
}
.btn-outline-yellow:hover {
    background: var(--envio-yellow);
    color: var(--envio-dark);
}

.btn-outline-light {
    background: transparent;
    color: var(--envio-white);
    border-color: var(--envio-white);
}
.btn-outline-light:hover {
    background: var(--envio-white);
    color: var(--envio-dark);
}

.btn-dark-envio {
    background: var(--envio-dark);
    color: var(--envio-white);
    border-color: var(--envio-dark);
}
.btn-dark-envio:hover {
    background: var(--envio-green);
    border-color: var(--envio-green);
    color: var(--envio-white);
}

.btn-link-envio {
    background: transparent;
    color: var(--envio-green);
    padding: 0;
    border: 0;
    text-decoration: none;
    font-weight: 600;
}
.btn-link-envio:hover {
    color: var(--envio-green-dark);
    text-decoration: underline;
}

/* ============================================================
   6. BADGES & TAGS
   ============================================================ */
.badge-envio {
    display: inline-block;
    background: var(--envio-green);
    color: var(--envio-white);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.badge-yellow {
    background: var(--envio-yellow);
    color: var(--envio-dark);
}

.badge-light-green {
    background: var(--envio-green-light);
    color: var(--envio-green-dark);
}

.section-tag {
    display: inline-block;
    background: var(--envio-green-light);
    color: var(--envio-green-dark);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 15px;
}

.section-tag.light {
    background: rgba(253, 204, 3, 0.15);
    color: var(--envio-yellow);
    border: 1px solid rgba(253, 204, 3, 0.3);
}

/* ============================================================
   7. SECTION HEADINGS
   ============================================================ */
.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--envio-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--envio-gray);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   8. TOP BAR
   ============================================================ */
.top-bar {
    background: var(--envio-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 9px 0;
    font-size: 13px;
    line-height: 1.4;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

.top-bar a:hover {
    color: var(--envio-yellow);
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i,
.top-bar-right i {
    color: var(--envio-green);
}

.top-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-right > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition-fast);
}

.top-social a:hover {
    background: var(--envio-green);
    color: var(--envio-white);
    transform: translateY(-2px);
}

/* ============================================================
   9. NAVBAR
   ============================================================ */
.main-navbar {
    background: var(--envio-white);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: var(--transition);
    z-index: var(--z-navbar);
}

.main-navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin-right: 20px;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    transition: var(--transition);
}

.main-navbar.scrolled .logo-img {
    height: 44px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--envio-green);
    letter-spacing: 1.5px;
    line-height: 1;
}

.brand-tagline {
    font-size: 9px;
    font-weight: 600;
    color: var(--envio-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.navbar-toggler {
    border: 2px solid var(--envio-border);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(2, 195, 57, 0.2);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2302c339' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    gap: 2px;
}

.navbar-nav .nav-link {
    color: var(--envio-dark) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--envio-green) !important;
    background: var(--envio-green-light);
}

.navbar-nav .nav-link.active {
    color: var(--envio-green) !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background: var(--envio-green);
    border-radius: 2px;
}

.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 4px;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    color: var(--envio-gray);
    transition: var(--transition-fast);
}

.navbar-nav .dropdown-toggle:hover::after {
    color: var(--envio-green);
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    margin-top: 12px;
    min-width: 260px;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--envio-dark);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item i {
    width: 18px;
    color: var(--envio-green);
    font-size: 14px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--envio-green-light);
    color: var(--envio-green-dark);
}

.dropdown-item:hover i {
    color: var(--envio-green-dark);
}

.dropdown-divider {
    margin: 6px 0;
    border-top: 1px solid var(--envio-border);
}

/* ============================================================
   10. PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 90px;
    color: var(--envio-white);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 195, 57, 0.85) 0%, rgba(26, 26, 26, 0.80) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--envio-white);
    margin-bottom: 12px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   11. BREADCRUMB
   ============================================================ */
.breadcrumb-section {
    background: var(--envio-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--envio-border);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 10px;
    color: var(--envio-gray);
}

.breadcrumb-item a {
    color: var(--envio-green);
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--envio-green-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--envio-gray);
}

/* ============================================================
   12. CARDS - PRODUCT
   ============================================================ */
.product-card {
    background: var(--envio-white);
    border: 1px solid var(--envio-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--envio-green);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--envio-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--envio-yellow);
    color: var(--envio-dark);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--envio-green);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.35;
}

.product-title a {
    color: var(--envio-dark);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--envio-green);
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--envio-gray);
    font-weight: 500;
}

.product-specs li i {
    color: var(--envio-green);
    font-size: 13px;
    width: 16px;
}

.product-footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--envio-border);
    flex-wrap: wrap;
}

.product-footer .btn {
    flex: 1;
    min-width: 0;
    padding: 9px 14px;
    font-size: 13px;
}

/* ============================================================
   13. CARDS - BLOG
   ============================================================ */
.blog-card {
    background: var(--envio-white);
    border: 1px solid var(--envio-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--envio-green);
}

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--envio-light);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--envio-green);
    color: var(--envio-white);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--envio-gray);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--envio-green);
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--envio-dark);
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--envio-green);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--envio-gray);
    line-height: 1.65;
    margin-bottom: 18px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--envio-green);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--envio-green-dark);
    gap: 12px;
}

/* ============================================================
   14. STATS SECTION
   ============================================================ */
.stats-section {
    background: linear-gradient(135deg, var(--envio-green) 0%, var(--envio-green-dark) 100%);
    padding: 70px 0;
    color: var(--envio-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 204, 3, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stat-card {
    text-align: center;
    padding: 25px 15px;
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: 38px;
    color: var(--envio-yellow);
    margin-bottom: 15px;
    display: inline-block;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(-5deg);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--envio-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   15. CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--envio-dark) 0%, #0a0a0a 100%);
    padding: 90px 0;
    color: var(--envio-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::before {
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(2, 195, 57, 0.2), transparent 70%);
}

.cta-section::after {
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 204, 3, 0.15), transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 54px;
    color: var(--envio-yellow);
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--envio-white);
    margin-bottom: 18px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   16. NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    background: var(--envio-yellow);
    padding: 55px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(2, 195, 57, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--envio-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-content h3 i {
    color: var(--envio-green);
}

.newsletter-content p {
    color: var(--envio-dark);
    margin: 0;
    font-size: 15px;
}

.newsletter-form {
    position: relative;
    z-index: 2;
}

.newsletter-form .input-group {
    display: flex;
    background: var(--envio-white);
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    border-radius: 0;
    flex: 1;
    background: transparent;
    color: var(--envio-dark);
    box-shadow: none;
    outline: none;
}

.newsletter-form .form-control::placeholder {
    color: var(--envio-gray-2);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

.newsletter-form .btn {
    border-radius: 0;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.6px;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.main-footer {
    background: var(--envio-dark);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.footer-top {
    padding: 70px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 55px;
    width: auto;
}

.footer-brand {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--envio-green);
    letter-spacing: 1.2px;
    line-height: 1;
}

.footer-tagline {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: var(--envio-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--envio-green);
    color: var(--envio-white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--envio-white);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 14px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--envio-yellow);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a i {
    color: var(--envio-green);
    font-size: 11px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--envio-yellow);
    padding-left: 4px;
}

.footer-links a:hover i {
    color: var(--envio-yellow);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-contact li > i {
    color: var(--envio-green);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-contact strong {
    display: block;
    color: var(--envio-white);
    font-size: 13px;
    margin-bottom: 3px;
    font-weight: 600;
}

.footer-contact span,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: var(--envio-yellow);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 22px 0;
    font-size: 13px;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.made-in-india {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--envio-green);
    color: var(--envio-white);
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--envio-yellow);
}

/* ============================================================
   18. BACK TO TOP + WHATSAPP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--envio-green);
    color: var(--envio-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--envio-green-dark);
    color: var(--envio-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-green);
}

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--envio-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: var(--z-fixed);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: var(--envio-white);
    transform: scale(1.1);
}

@keyframes whatsappPulse {
    0%   { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   19. FORMS
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--envio-dark);
    margin-bottom: 8px;
    display: block;
}

.form-label .required {
    color: var(--envio-danger);
    margin-left: 3px;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--envio-dark);
    background: var(--envio-white);
    border: 2px solid var(--envio-border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    line-height: 1.5;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--envio-green);
    box-shadow: 0 0 0 4px rgba(2, 195, 57, 0.12);
    outline: none;
}

.form-control::placeholder {
    color: var(--envio-gray-2);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--envio-danger);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-text {
    font-size: 13px;
    color: var(--envio-gray);
    margin-top: 6px;
}

.invalid-feedback {
    display: block;
    color: var(--envio-danger);
    font-size: 13px;
    margin-top: 6px;
}

/* ============================================================
   20. ALERTS
   ============================================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
}

.alert-success {
    background: var(--envio-green-light);
    color: var(--envio-green-dark);
    border-left: 4px solid var(--envio-green);
}

.alert-danger {
    background: #fde8ea;
    color: #842029;
    border-left: 4px solid var(--envio-danger);
}

.alert-warning {
    background: var(--envio-yellow-light);
    color: #664d03;
    border-left: 4px solid var(--envio-yellow);
}

.alert-info {
    background: #e7f6fd;
    color: #055160;
    border-left: 4px solid var(--envio-info);
}

/* ============================================================
   21. TABLE
   ============================================================ */
.comparison-table-wrapper {
    background: var(--envio-white);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-md);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    min-width: 900px;
}

.comparison-table thead th {
    background: var(--envio-dark);
    color: var(--envio-white);
    font-weight: 600;
    font-size: 14px;
    padding: 16px 12px;
    text-align: center;
    white-space: nowrap;
    border: none;
    vertical-align: middle;
}

.comparison-table thead th:first-child {
    text-align: left;
    border-radius: var(--radius-md) 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table thead th.envio-col {
    background: linear-gradient(135deg, var(--envio-green), var(--envio-green-dark));
    color: var(--envio-white);
    position: relative;
}

.comparison-table tbody td {
    padding: 14px 12px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid var(--envio-border);
    vertical-align: middle;
    background: var(--envio-white);
}

.comparison-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 var(--radius-md);
}

.comparison-table tbody tr:last-child td:last-child {
    border-radius: 0 0 var(--radius-md) 0;
}

.comparison-table tbody td:first-child {
    text-align: left;
    color: var(--envio-dark);
    font-weight: 500;
}

.comparison-table tbody td.envio-col {
    background: var(--envio-green-light);
    font-weight: 600;
    color: var(--envio-green-dark);
}

.comparison-table tbody tr:hover td {
    background: var(--envio-light);
}

.comparison-table tbody tr:hover td.envio-col {
    background: var(--envio-green-soft);
}

/* ============================================================
   22. SIDEBAR
   ============================================================ */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--envio-white);
    border: 1px solid var(--envio-border);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.widget:hover {
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--envio-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--envio-green);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--envio-yellow);
    border-radius: 2px;
}

.category-list,
.recent-posts,
.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 6px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--envio-dark);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

.category-list a i {
    color: var(--envio-green);
    font-size: 12px;
}

.category-list a:hover {
    background: var(--envio-green-light);
    color: var(--envio-green-dark);
    padding-left: 18px;
}

.recent-posts li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--envio-border);
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: var(--envio-dark);
}

.recent-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.recent-info h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    color: var(--envio-dark);
    transition: var(--transition-fast);
}

.recent-posts a:hover .recent-info h6 {
    color: var(--envio-green);
}

.recent-info span {
    font-size: 12px;
    color: var(--envio-gray);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.recent-info span i {
    color: var(--envio-green);
}

.widget-cta .cta-box {
    background: linear-gradient(135deg, var(--envio-green) 0%, var(--envio-green-dark) 100%);
    padding: 30px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--envio-white);
}

.widget-cta .cta-box i {
    font-size: 38px;
    color: var(--envio-yellow);
    margin-bottom: 15px;
    display: block;
}

.widget-cta .cta-box h4 {
    font-size: 20px;
    color: var(--envio-white);
    margin-bottom: 10px;
}

.widget-cta .cta-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-list li {
    margin-bottom: 8px;
}

.download-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--envio-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

.download-list a i {
    color: var(--envio-danger);
    font-size: 16px;
}

.download-list a:hover {
    background: var(--envio-light);
    color: var(--envio-green);
}

/* ============================================================
   23. UTILITIES
   ============================================================ */
.min-vh-100 { min-height: 100vh; }
.min-vh-75 { min-height: 75vh; }
.min-vh-50 { min-height: 50vh; }

.rounded-envio    { border-radius: var(--radius-lg); }
.rounded-envio-sm { border-radius: var(--radius-md); }
.rounded-pill-envio { border-radius: var(--radius-pill); }

.shadow-envio     { box-shadow: var(--shadow-md); }
.shadow-envio-lg  { box-shadow: var(--shadow-lg); }
.shadow-green     { box-shadow: var(--shadow-green); }
.shadow-yellow    { box-shadow: var(--shadow-yellow); }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.z-2 { z-index: 2; }

.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

.mt-6 { margin-top: 6px; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }

.opacity-75 { opacity: 0.75; }
.opacity-85 { opacity: 0.85; }

/* Fade-up entrance for AOS fallback */
[data-aos] { transition-property: transform, opacity; }

/* ============================================================
   24. RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    h1, .page-hero-title { font-size: 2.5rem; }
    h2, .section-title   { font-size: 2.125rem; }
    .cta-content h2      { font-size: 2.125rem; }
    .stat-value          { font-size: 38px; }
}

@media (max-width: 991px) {
    :root { --section-padding: 65px; }

    h1, .page-hero-title { font-size: 2.125rem; }
    h2, .section-title   { font-size: 1.875rem; }
    .cta-content h2      { font-size: 1.875rem; }

    .navbar-collapse {
        background: var(--envio-white);
        margin-top: 12px;
        padding: 15px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid var(--envio-border);
        border-radius: 0;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .navbar-nav .nav-link.active {
        background: var(--envio-green-light);
        border-radius: var(--radius-sm);
    }

    .navbar-nav .dropdown-menu {
        box-shadow: none;
        padding: 5px 0 5px 20px;
        margin: 0;
        background: var(--envio-light);
        border-radius: 0;
    }

    .navbar-nav .dropdown-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .navbar-nav .btn-envio-primary {
        width: 100%;
        margin-top: 12px;
        justify-content: center;
    }

    .page-hero {
        padding: 80px 0 60px;
    }

    .top-bar-left {
        text-align: center;
        margin-bottom: 8px;
    }

    .top-bar-right {
        justify-content: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright {
        justify-content: center;
        text-align: center;
    }

    .sidebar {
        position: static;
        margin-top: 40px;
    }

    .newsletter-content {
        text-align: center;
        margin-bottom: 25px;
    }

    .newsletter-content h3 {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
        --radius-lg: 12px;
    }

    body { font-size: 15px; }

    h1, .page-hero-title { font-size: 1.75rem; }
    h2, .section-title   { font-size: 1.5rem; }
    h3                   { font-size: 1.35rem; }
    .cta-content h2      { font-size: 1.5rem; }
    .stat-value          { font-size: 32px; }
    .stat-icon           { font-size: 30px; }
    .page-hero-subtitle  { font-size: 15px; }
    .section-subtitle    { font-size: 14px; }

    .btn        { padding: 11px 22px; font-size: 14px; }
    .btn-lg     { padding: 13px 28px; font-size: 15px; }
    .btn-sm     { padding: 8px 16px;  font-size: 12px; }

    .brand-name { font-size: 22px; }
    .logo-img   { height: 42px; }

    .product-footer {
        flex-direction: column;
    }

    .product-footer .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .whatsapp-float {
        bottom: 75px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .footer-contact li {
        margin-bottom: 16px;
    }

    .widget {
        padding: 20px;
    }

    .stat-card {
        padding: 15px 10px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-hero {
        padding: 60px 0 45px;
        min-height: 240px;
    }

    .cta-content h2 { font-size: 1.35rem; }
    .cta-content p  { font-size: 14px; }

    .product-specs { grid-template-columns: 1fr; }

    .footer-logo img { height: 45px; }

    .top-social a {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

/* ============================================================
   25. PRINT
   ============================================================ */
@media print {
    .top-bar,
    .main-navbar,
    .newsletter-section,
    .back-to-top,
    .whatsapp-float,
    .cta-section,
    .footer-social { display: none !important; }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .main-footer {
        background: #fff !important;
        color: #000 !important;
        border-top: 1px solid #ddd;
    }

    a { color: #000; text-decoration: underline; }
}

/* ============================================================
   26. ACCESSIBILITY
   ============================================================ */
.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible {
    outline: 3px solid var(--envio-yellow);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   BRAND STORY / LOGO IDENTITY SECTION
   ============================================================ */
.brand-story-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--envio-light) 100%);
    position: relative;
    overflow: hidden;
}

.brand-story-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(2, 195, 57, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.brand-story-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(253, 204, 3, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.brand-story-section .container {
    position: relative;
    z-index: 2;
}

/* ---------- Logo Showcase ---------- */
.brand-logo-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    background: var(--envio-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--envio-border);
    overflow: hidden;
}

.brand-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(2, 195, 57, 0.18), transparent 65%);
    border-radius: 50%;
    animation: brandGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes brandGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.7; }
    50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

.brand-logo-large {
    max-width: 260px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: brandFloat 5s ease-in-out infinite;
}

@keyframes brandFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.brand-logo-tagline {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--envio-green), var(--envio-green-dark));
    color: var(--envio-white);
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-green);
}

.brand-logo-tagline i {
    color: var(--envio-yellow);
    font-size: 16px;
}

/* ---------- Significance Cards ---------- */
.brand-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--envio-dark);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--envio-green-light);
}

.brand-subtitle i {
    color: var(--envio-green);
    font-size: 1.1rem;
}

.brand-significance {
    margin-bottom: 35px;
}

.significance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.significance-card {
    background: var(--envio-white);
    border: 2px solid var(--envio-border);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.significance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--envio-green), var(--envio-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.significance-card:hover::before {
    transform: scaleX(1);
}

.significance-card:hover {
    border-color: var(--envio-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.sig-letter {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--envio-green);
    line-height: 1;
    margin-bottom: 10px;
    display: inline-block;
    padding: 8px 14px;
    background: var(--envio-green-light);
    border-radius: var(--radius-sm);
}

.significance-card:nth-child(2) .sig-letter {
    color: var(--envio-yellow-dark);
    background: var(--envio-yellow-light);
}

.significance-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--envio-dark);
    margin-bottom: 8px;
}

.significance-card p {
    font-size: 13px;
    color: var(--envio-gray);
    line-height: 1.55;
    margin: 0;
}

/* ---------- Design Principles List ---------- */
.brand-principles {
    margin-bottom: 30px;
}

.principles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.principle-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--envio-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--envio-border);
    transition: var(--transition);
}

.principle-item:hover {
    border-color: var(--envio-green);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.principle-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.principle-green {
    background: var(--envio-green-light);
    color: var(--envio-green-dark);
}

.principle-yellow {
    background: var(--envio-yellow-light);
    color: var(--envio-yellow-dark);
}

.principle-dark {
    background: rgba(26, 26, 26, 0.08);
    color: var(--envio-dark);
}

.principle-item:hover .principle-icon {
    transform: rotate(-8deg) scale(1.08);
}

.principle-item h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--envio-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.principle-item p {
    font-size: 12.5px;
    color: var(--envio-gray);
    line-height: 1.5;
    margin: 0;
}

/* ---------- Tagline Highlight ---------- */
.brand-tagline-highlight {
    position: relative;
    background: linear-gradient(135deg, var(--envio-green-light), var(--envio-yellow-light));
    border-left: 4px solid var(--envio-green);
    border-radius: var(--radius-md);
    padding: 22px 26px 22px 60px;
    margin-bottom: 22px;
}

.brand-tagline-highlight i {
    position: absolute;
    top: 22px;
    left: 22px;
    font-size: 24px;
    color: var(--envio-green);
    opacity: 0.5;
}

.brand-tagline-highlight p {
    font-size: 15px;
    color: var(--envio-dark);
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}

.brand-tagline-highlight strong {
    color: var(--envio-green-dark);
    font-style: normal;
    font-weight: 700;
}

/* ---------- Vision Statement ---------- */
.brand-vision {
    font-size: 15px;
    color: var(--envio-dark);
    line-height: 1.7;
    margin: 0;
    padding-left: 18px;
    border-left: 3px solid var(--envio-yellow);
}

.brand-vision strong {
    color: var(--envio-green-dark);
    font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .brand-story-section {
        padding: 65px 0;
    }

    .significance-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .significance-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 18px 20px;
    }

    .sig-letter {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .significance-card h4 {
        margin-bottom: 4px;
    }

    .principles-list {
        grid-template-columns: 1fr;
    }

    .brand-logo-large {
        max-width: 200px;
    }
}

@media (max-width: 575px) {
    .brand-story-section {
        padding: 50px 0;
    }

    .brand-logo-showcase {
        padding: 35px 20px;
    }

    .brand-logo-large {
        max-width: 170px;
    }

    .brand-tagline-highlight {
        padding: 60px 20px 20px 20px;
    }

    .brand-tagline-highlight i {
        top: 20px;
        left: 20px;
    }

    .brand-subtitle {
        font-size: 1.1rem;
    }

    .principle-item {
        padding: 14px;
    }

    .principle-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

.brand-logo-video {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height:600px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    animation: brandFloat 5s ease-in-out infinite;
    background: transparent;
    display: block;
}

/* ============================================
   ABOUT SERUM ELECTROGREEN SECTION
   ============================================ */
.about-serum-section {
    padding: 90px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-serum-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(2, 195, 57, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-serum-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 204, 3, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-serum-section .container {
    position: relative;
    z-index: 2;
}

/* ---------- Overview Card ---------- */
.serum-overview-card {
    background: linear-gradient(135deg, #f8fdf9 0%, #ffffff 100%);
    border: 1px solid var(--envio-border);
    border-left: 4px solid var(--envio-green);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.serum-overview-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--envio-green), var(--envio-green-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-green);
}

.serum-overview-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--envio-dark);
    margin-bottom: 16px;
}

.serum-overview-card p {
    font-size: 15px;
    color: var(--envio-gray);
    line-height: 1.75;
    margin-bottom: 16px;
}

.serum-overview-card p:last-of-type {
    margin-bottom: 24px;
}

.serum-overview-card strong {
    color: var(--envio-dark);
    font-weight: 700;
}

.serum-stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid var(--envio-border);
}

.serum-stat {
    flex: 1;
    min-width: 110px;
    text-align: center;
    padding: 14px 10px;
    background: #fff;
    border: 1px solid var(--envio-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.serum-stat:hover {
    border-color: var(--envio-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.serum-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--envio-green);
    line-height: 1.1;
    margin-bottom: 4px;
}

.serum-stat span {
    font-size: 12px;
    color: var(--envio-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ---------- Dual Product Visual ---------- */
.serum-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.serum-visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--envio-dark), #0a0a0a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 3;
    box-shadow: 0 15px 45px rgba(26, 26, 26, 0.3);
    border: 4px solid var(--envio-yellow);
}

.serum-visual-center i {
    font-size: 26px;
    color: var(--envio-yellow);
}

.serum-visual-center span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.serum-visual-card {
    position: absolute;
    width: 210px;
    padding: 26px 22px;
    background: #fff;
    border: 2px solid var(--envio-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.serum-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.serum-visual-card i {
    font-size: 34px;
    margin-bottom: 14px;
    display: block;
}

.serum-visual-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--envio-dark);
    margin-bottom: 5px;
}

.serum-visual-card p {
    font-size: 12.5px;
    color: var(--envio-gray);
    margin: 0;
}

.serum-visual-solar {
    top: 3%;
    left: 0;
    border-color: var(--envio-yellow);
}
.serum-visual-solar i { color: var(--envio-yellow-dark); }

.serum-visual-battery {
    bottom: 3%;
    right: 0;
    border-color: var(--envio-green);
}
.serum-visual-battery i { color: var(--envio-green); }

/* Decorative connector lines */
.serum-visual::before,
.serum-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 65%;
    background: linear-gradient(180deg, transparent, var(--envio-border), transparent);
    transform-origin: center;
    z-index: 1;
}
.serum-visual::before { transform: translate(-50%, -50%) rotate(35deg); }
.serum-visual::after  { transform: translate(-50%, -50%) rotate(-35deg); }

/* ---------- Product Vertical Cards ---------- */
.vertical-card {
    background: #fff;
    border: 2px solid var(--envio-border);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vertical-card:hover::before { transform: scaleX(1); }

.vertical-solar::before {
    background: linear-gradient(90deg, var(--envio-yellow), var(--envio-yellow-dark));
}
.vertical-battery::before {
    background: linear-gradient(90deg, var(--envio-green), var(--envio-green-dark));
}

.vertical-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.vertical-solar:hover   { border-color: var(--envio-yellow); }
.vertical-battery:hover { border-color: var(--envio-green); }

.vertical-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.vertical-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}

.vertical-solar .vertical-icon {
    background: var(--envio-yellow-light);
    color: var(--envio-yellow-dark);
}
.vertical-battery .vertical-icon {
    background: var(--envio-green-light);
    color: var(--envio-green-dark);
}

.vertical-card:hover .vertical-icon {
    transform: rotate(-8deg) scale(1.08);
}

.vertical-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--envio-gray);
    margin-bottom: 4px;
}

.vertical-card-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--envio-dark);
    margin: 0;
    line-height: 1.3;
}

.vertical-desc {
    font-size: 14px;
    color: var(--envio-gray);
    line-height: 1.7;
    margin-bottom: 22px;
}

.vertical-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.vertical-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--envio-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition);
}

.vertical-list li:last-child { margin-bottom: 0; }

.vertical-list li:hover {
    background: var(--envio-green-light);
    transform: translateX(4px);
}

.vertical-solar .vertical-list li:hover {
    background: var(--envio-yellow-light);
}

.vertical-list-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--envio-green);
    box-shadow: var(--shadow-xs);
}

.vertical-solar .vertical-list-icon {
    color: var(--envio-yellow-dark);
}

.vertical-list h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--envio-dark);
    margin-bottom: 3px;
    line-height: 1.3;
}

.vertical-list p {
    font-size: 13px;
    color: var(--envio-gray);
    line-height: 1.55;
    margin: 0;
}

.vertical-card .btn {
    align-self: flex-start;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .about-serum-section {
        padding: 65px 0;
    }

    .serum-overview-card {
        padding: 30px 25px;
    }

    .serum-visual {
        min-height: 360px;
        margin-top: 30px;
    }

    .serum-visual-card {
        width: 175px;
        padding: 20px 16px;
    }

    .serum-visual-center {
        width: 100px;
        height: 100px;
    }

    .serum-visual-center i { font-size: 22px; }
    .serum-visual-center span { font-size: 10px; }
}

@media (max-width: 767px) {
    .about-serum-section { padding: 50px 0; }

    .serum-overview-card { padding: 25px 20px; }
    .serum-overview-card h3 { font-size: 1.25rem; }

    .serum-stats-row { gap: 10px; }
    .serum-stat { min-width: 90px; padding: 12px 8px; }
    .serum-stat strong { font-size: 18px; }
    .serum-stat span { font-size: 10px; }

    .serum-visual { min-height: 320px; }

    .serum-visual-card {
        width: 150px;
        padding: 16px 12px;
    }

    .serum-visual-card i { font-size: 26px; margin-bottom: 10px; }
    .serum-visual-card h4 { font-size: 13.5px; }
    .serum-visual-card p { font-size: 11px; }

    .serum-visual-center {
        width: 85px;
        height: 85px;
        border-width: 3px;
    }
    .serum-visual-center i { font-size: 18px; }
    .serum-visual-center span { font-size: 9px; }

    .vertical-card { padding: 28px 22px; }
    .vertical-card-header { gap: 14px; }
    .vertical-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .vertical-card-header h3 { font-size: 1.15rem; }
}

@media (max-width: 575px) {
    .serum-visual { min-height: 280px; }

    .serum-visual-card {
        width: 130px;
        padding: 14px 10px;
    }

    .serum-visual-card i { font-size: 22px; margin-bottom: 8px; }
    .serum-visual-card h4 { font-size: 12px; }
    .serum-visual-card p { font-size: 10px; }

    .serum-visual-center {
        width: 75px;
        height: 75px;
    }

    .serum-visual-center i { font-size: 16px; }
    .serum-visual-center span { font-size: 8px; }
}