/* ==========================================================================
   Carregand Web V2 - Core Design System & Stylesheet
   ========================================================================== */

/* Base Design Tokens & CSS Variables */
:root {
    /* Brand Colors (Vibrant HSL Lime Green) */
    --color-brand: hsl(88, 70%, 50%);       /* Vibrant Lounge Green */
    --color-brand-dark: hsl(88, 70%, 38%);
    --color-brand-light: hsl(88, 85%, 62%);
    --color-brand-glow: hsla(88, 70%, 50%, 0.25);
    
    /* Semantic Colors */
    --color-error: hsl(0, 85%, 60%);
    --color-error-bg: hsla(0, 85%, 60%, 0.1);
    --color-success: hsl(140, 70%, 48%);
    --color-success-bg: hsla(140, 70%, 48%, 0.1);
    
    /* Background Hierarchy (Deep Oceanic Charcoal Dark) */
    --bg-main: hsl(200, 16%, 6%);
    --bg-darker: hsl(200, 20%, 3%);
    --bg-card: hsla(200, 12%, 10%, 0.45);
    --bg-card-hover: hsla(200, 15%, 14%, 0.7);
    --bg-glass: hsla(200, 16%, 6%, 0.75);
    
    /* Typography */
    --text-primary: hsl(0, 0%, 100%);
    --text-secondary: hsl(200, 8%, 70%);
    --text-muted: hsl(200, 6%, 45%);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Borders & Outlines */
    --border-light: hsla(0, 0%, 100%, 0.08);
    --border-brand: hsla(88, 70%, 50%, 0.25);
    --border-hover: hsla(0, 0%, 100%, 0.18);
    
    /* Shadows & Effects */
    --shadow-glow: 0 0 25px var(--color-brand-glow);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-card-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.8), 0 0 20px hsla(88, 70%, 50%, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* Reset and Global Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Custom Selection */
::selection {
    background-color: var(--color-brand);
    color: var(--bg-darker);
}

/* Interactive Cursor Glow Element */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), hsla(88, 70%, 50%, 0.06), transparent 80%);
    transition: background 0.1s ease;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* Base Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Desktop Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease, padding 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 38px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
    transform: scale(1.05);
}

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

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-brand);
    transition: width 0.3s ease;
}

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

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-links a:not(.btn).active {
    color: var(--color-brand);
}

/* Custom Dropdown/Selector Style */
.lang-switcher select {
    background: hsla(0, 0%, 100%, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.lang-switcher select:hover {
    border-color: var(--color-brand);
    background: hsla(0, 0%, 100%, 0.1);
}

.lang-switcher select option {
    background: var(--bg-main);
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
}

/* Mobile Bottom Navigation Bar (Default Hidden) */
.mobile-bottom-nav {
    display: none;
}

/* Interactive Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    outline: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--color-brand);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px -3px hsla(88, 70%, 50%, 0.3);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: hsla(0, 0%, 100%, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: hsla(0, 0%, 100%, 0.12);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-brand);
    color: var(--color-brand) !important;
    background: transparent;
}

.btn-outline:hover {
    background: hsla(88, 70%, 50%, 0.08);
    transform: translateY(-2px);
}

/* Section Management */
.section {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-header {
    margin-bottom: 5rem;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 400;
}

/* Glassmorphic Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-card);
}

.card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-brand);
    box-shadow: var(--shadow-card-hover);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, hsla(88, 70%, 50%, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.125rem;
    background: hsla(88, 70%, 50%, 0.1);
    border: 1px solid var(--border-brand);
    border-radius: var(--radius-full);
    color: var(--color-brand-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Beautiful Interactive Charging Powerbank Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.floating-powerbank {
    width: 280px;
    height: 420px;
    background: linear-gradient(155deg, hsl(200, 15%, 15%) 0%, hsl(200, 20%, 7%) 100%);
    border: 1px solid hsla(0, 0%, 100%, 0.15);
    border-radius: 36px;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    overflow: hidden;
}

/* Dynamic Powerbank Screen UI */
.powerbank-screen {
    width: 100%;
    height: 140px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    border: 1px solid hsla(0, 0%, 100%, 0.05);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.battery-charging-indicator {
    width: 50px;
    height: 25px;
    border: 2px solid var(--text-primary);
    border-radius: 6px;
    position: relative;
    padding: 2px;
}

.battery-charging-indicator::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 10px;
    background: var(--text-primary);
    border-radius: 0 2px 2px 0;
}

.battery-fill {
    height: 100%;
    background: var(--color-brand);
    border-radius: 2px;
    width: 20%;
    animation: charging-fill 3s infinite linear;
}

.charge-bolt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-primary);
    font-size: 1.25rem;
    animation: pulse 1.5s infinite ease-in-out;
}

.battery-percent {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brand-light);
    letter-spacing: -0.02em;
    margin-top: 0.25rem;
}

.status-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.powerbank-logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    color: hsla(0, 0%, 100%, 0.1);
    align-self: center;
    margin-bottom: 1rem;
}

.floating-powerbank .glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color-brand);
    filter: blur(100px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes charging-fill {
    0% { width: 10%; background: hsl(0, 85%, 60%); }
    20% { width: 30%; background: hsl(35, 85%, 55%); }
    60% { width: 70%; background: var(--color-brand); }
    90% { width: 95%; background: var(--color-brand-light); }
    100% { width: 10%; background: hsl(0, 85%, 60%); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Problem-Solution Clean Block */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.problem-card .card-icon {
    background: var(--color-error-bg);
    color: var(--color-error);
}

.solution-card .card-icon {
    background: rgba(88, 70, 50, 0.1);
    color: var(--color-brand);
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.card ul {
    list-style: none;
}

.card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.card ul li i {
    margin-top: 3px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.problem-card ul li i {
    color: var(--color-error);
}

.solution-card ul li i {
    color: var(--color-brand);
}

/* How It Works Steps Grid (V2 Optimized) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--border-brand);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card-hover);
}

.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    color: hsla(0, 0%, 100%, 0.02);
    line-height: 1;
    user-select: none;
    transition: color 0.3s ease;
}

.step:hover .step-number {
    color: hsla(88, 70%, 50%, 0.05);
}

.step i {
    font-size: 3rem;
    color: var(--color-brand);
    margin-bottom: 2rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step:hover i {
    transform: scale(1.15) rotate(5deg);
}

.step h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Product Feature Section */
.product-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.product-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--color-brand);
    filter: blur(120px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.product-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: hsla(0, 0%, 100%, 0.04);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-brand-light);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-list li:hover .feature-icon {
    background: var(--color-brand-glow);
    border-color: var(--border-brand);
    color: var(--color-brand-light);
    transform: scale(1.08);
}

.feature-list h5 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.feature-list p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 0;
}

/* Pricing Grid (V2 Cleaned and Highly Visual) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.price-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-card);
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-brand);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}

.price-card h4 {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.price-card .price {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.price-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.price-card.popular {
    background: linear-gradient(180deg, hsla(88, 70%, 50%, 0.08) 0%, var(--bg-card) 100%);
    border-color: var(--color-brand);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-brand);
    color: var(--bg-darker);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px hsla(88, 70%, 50%, 0.3);
}

.pricing-note {
    max-width: 600px;
    margin: 0 auto;
    background: hsla(0, 0%, 100%, 0.03);
    border: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-note i {
    color: var(--color-brand-light);
    font-size: 1.15rem;
}

/* Map Section (Leaflet Styling Override) */
.map-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 480px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--color-brand);
    filter: blur(120px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

/* Leaflet Dark Customization */
.leaflet-container {
    background: var(--bg-darker) !important;
}

.leaflet-bar {
    border: 1px solid var(--border-light) !important;
    box-shadow: none !important;
}

.leaflet-bar a {
    background-color: var(--bg-main) !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-light) !important;
    transition: all 0.2s ease;
}

.leaflet-bar a:hover {
    background-color: var(--bg-card-hover) !important;
    color: var(--color-brand) !important;
}

.leaflet-popup-content-wrapper {
    background: var(--bg-main) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md) !important;
    padding: 0.25rem !important;
    box-shadow: var(--shadow-card-hover) !important;
}

.leaflet-popup-tip {
    background: var(--bg-main) !important;
    border: 1px solid var(--border-light);
}

/* Unified Partner & Feedback Contact Section */
.partner-container {
    background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.04) 0%, hsla(0, 0%, 100%, 0.01) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 4.5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.partner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-brand), transparent);
}

.partner-content {
    max-width: 650px;
    margin: 0 auto;
}

.partner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partner-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.partner-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.benefit {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-light);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.benefit:hover {
    border-color: var(--border-brand);
    transform: translateY(-2px);
}

.benefit i {
    color: var(--color-brand-light);
    font-size: 1.1rem;
}

/* Feedback Form (Compact & Direct) */
.feedback-container {
    max-width: 600px;
    margin: 4rem auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.feedback-container .section-header {
    margin-bottom: 2.5rem;
}

.feedback-container .section-header h2 {
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-brand);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 12px hsla(88, 70%, 50%, 0.15);
}

.form-success {
    background: var(--color-success-bg);
    border: 1px solid var(--color-success);
    color: var(--color-success);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Footer styling */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 6rem 0 2rem;
    background: var(--bg-darker);
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 38px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Responsive Desktop Navbar Spacing to prevent button wrapping/overflow */
@media (max-width: 1200px) {
    .nav-links {
        gap: 1.25rem;
    }
    .nav-links .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.88rem;
    }
}
@media (max-width: 992px) {
    .nav-links {
        gap: 0.85rem;
    }
    .nav-links a:not(.btn) {
        font-size: 0.88rem;
    }
    .nav-links .btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   Responsive Design & Device Optimizations (V2)
   ========================================================================== */

/* Medium Devices (Tablets, Landsacpes) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-powerbank {
        margin-top: 2rem;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Small Devices (Mobile Phones) */
@media (max-width: 768px) {
    html, body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        margin: 0;
    }
    
    body {
        display: block;
        padding-top: 64px;
        padding-bottom: 76px;
    }
    
    .main-content-scroll {
        display: block;
        height: auto;
        overflow: visible;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    /* Top Navbar Modification: Remove regular links & hamburger button */
    .nav-links,
    .mobile-menu-btn,
    .mobile-menu {
        display: none !important;
    }
    
    .nav-container {
        height: 64px;
        justify-content: space-between;
    }
    
    /* Top bar only displays Logo and Language Selector on mobile */
    .navbar {
        height: 64px;
        background: var(--bg-glass);
        backdrop-filter: blur(16px);
    }
    
    /* Inject and style inline lang selector inside nav for mobile */
    .lang-switcher-mobile-v2 {
        display: block !important;
    }
    
    /* Bottom Navigation Bar implementation */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 76px;
        background: hsla(200, 20%, 4%, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-light);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        padding: 0;
    }
    
    .mobile-bottom-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        text-decoration: none;
        color: var(--text-secondary);
        width: 25%;
        height: 100%;
        transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-tap-highlight-color: transparent;
        flex-shrink: 0;
    }
    
    .mobile-bottom-link i {
        font-size: 1.55rem;
        transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: block;
    }
    
    .mobile-bottom-link span {
        font-size: 0.68rem;
        font-weight: 500;
        white-space: nowrap;
        text-align: center;
        display: block;
    }
    
    .mobile-bottom-link:hover,
    .mobile-bottom-link.active {
        color: var(--color-brand-light);
    }
    
    .mobile-bottom-link.active i {
        transform: scale(1.1) translateY(-2px);
        color: var(--color-brand);
    }
    
    /* Typography adjustments */
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    
    /* Card layouts stack */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .price-card {
        padding: 2rem 1.5rem;
    }
    
    .price-card .price {
        font-size: 2.8rem;
    }
    
    .partner-container {
        padding: 3rem 1.5rem;
    }
    
    .partner-content h2 {
        font-size: 2rem;
    }
    
    .benefit {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .feedback-container {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .map-container {
        height: 380px;
    }
}

/* Extra Mobile Width Guard (Fix Android / Safari overflows) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .price-card .price {
        font-size: 2.5rem;
    }
    
    .benefit {
        width: 100%;
        justify-content: center;
    }
}
