/* WeBattery - Optimized CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #65a30d;
    --secondary-color: #4d7c0f;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f7fee7 0%, #ecfccb 25%, #d9f99d 50%, #bef264 75%, #a3e635 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(190, 242, 100, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(163, 230, 53, 0.15) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.03) 35px, rgba(255, 255, 255, 0.03) 70px);
    z-index: -1;
    pointer-events: none;
}


/* Header */
header {
    background: linear-gradient(
        120deg,
        rgba(232, 245, 233, 0.95) 0%,
        rgba(200, 230, 201, 0.95) 25%,
        rgba(165, 214, 167, 0.95) 50%,
        rgba(200, 230, 201, 0.95) 75%,
        rgba(232, 245, 233, 0.95) 100%
    );
    background-size: 300% 300%;
    animation: headerGradient 15s ease infinite;
    backdrop-filter: blur(20px);
    box-shadow:
        0 4px 30px rgba(76, 175, 80, 0.2),
        0 2px 10px rgba(0, 212, 170, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
}

@keyframes headerGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


nav {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(101, 163, 13, 0.15));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 15px rgba(101, 163, 13, 0.3));
    animation: logoShake 0.5s ease-in-out;
}

@keyframes logoShake {
    0%, 100% {
        transform: scale(1.05) rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: scale(1.05) rotate(-2deg);
    }
    20%, 40%, 60%, 80% {
        transform: scale(1.05) rotate(2deg);
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2e7d32;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.3rem;
    border-radius: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 241, 0.9));
    display: inline-block;
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow:
        0 2px 8px rgba(76, 175, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 168, 204, 0.25));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 23px;
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: white;
    background: linear-gradient(135deg, #65a30d, #4d7c0f);
    border-color: rgba(101, 163, 13, 0.8);
    box-shadow:
        0 6px 20px rgba(101, 163, 13, 0.35),
        0 3px 10px rgba(77, 124, 15, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.nav-links a:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 3px 12px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: transparent !important;
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    min-height: 30vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    backdrop-filter: none !important;
    max-width: none !important;
}

.hero::before {
    display: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    background-size: 100% 100%;
    opacity: 0.4;
}

/* Animated Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particles span {
    position: absolute;
    display: block;
    width: calc(20px + (var(--i) * 5px));
    height: calc(20px + (var(--i) * 5px));
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    animation: floatParticles calc(10s + (var(--i) * 2s)) linear infinite;
    top: calc(-10% - (var(--i) * 5%));
    left: calc((var(--i) * 6%) + 5%);
    opacity: 0.6;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.3),
        0 0 60px rgba(255, 0, 255, 0.2);
}

@keyframes floatParticles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(120vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4d7c0f, #3f6212);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -2px;
    text-align: center;
    width: 100%;
}

/* Removed textGlow animation - not needed for dark text */

.hero-content p {
    font-size: 1.2rem;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #4d7c0f, #3f6212);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    max-width: 900px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #2e7d32, #388e3c, #43a047);
    background-size: 200% 200%;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(46, 125, 50, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}


.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.cta-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #388e3c);
    box-shadow:
        0 6px 20px rgba(46, 125, 50, 0.5),
        0 3px 12px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 3rem 2rem;
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #4d7c0f, #65a30d, #84cc16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
    display: block;
    width: 100%;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #84cc16, #bef264, #65a30d);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.5);
}

.section-alternate {
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(25px);
    position: relative;
}

.section-alternate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 128, 0.5), rgba(255, 140, 0, 0.5), rgba(64, 224, 208, 0.5), transparent);
    border-radius: 30px 30px 0 0;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Battery Section */
.battery-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.battery-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
}

.battery-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.3);
}

.battery-specs {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.battery-specs:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 212, 170, 0.2);
    border-color: rgba(0, 212, 170, 0.3);
}

.battery-specs h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.battery-specs > p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

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

.specs-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

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

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

/* Inverter Dropdown Inline in Specs List */
.spec-with-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0 !important;
}

.inverter-dropdown-inline {
    width: auto;
    min-width: 260px;
    padding: 0.7rem 2.5rem 0.7rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.92rem;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%2300a8cc' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #333;
    font-weight: 500;
}

.inverter-dropdown-inline:hover {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, #ffffff, #f5fcfb);
    box-shadow: 0 2px 6px rgba(0, 212, 170, 0.15);
    transform: translateY(-1px);
}

.inverter-dropdown-inline:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.12), 0 2px 8px rgba(0, 212, 170, 0.2);
    background: white;
}

.inverter-dropdown-inline option {
    padding: 0.6rem;
    background: white;
    color: #333;
}

.inverter-dropdown-inline option[value="all"] {
    font-weight: 700;
    color: var(--primary-color);
    background: #f0fdf9;
}

/* Modal table styling for dropdown */
.specs-table td .inverter-dropdown-inline {
    width: 100%;
    min-width: 200px;
    max-width: 100%;
}

.specs-table td {
    vertical-align: middle;
}

.price-box {
    background: linear-gradient(135deg, #65a30d, #4d7c0f);
    color: var(--white);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 8px 30px rgba(101, 163, 13, 0.4);
    position: relative;
    overflow: hidden;
}

.price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.price-box .price {
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin: 0.5rem 0;
}

.price-box .currency {
    font-size: 1.2rem;
    font-weight: 600;
}

.price-box small {
    font-size: 0.9rem;
}

.price-box > div:first-child {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

/* Order Form */
.order-form {
    max-width: 1400px;
    width: 90%;
    margin: 1.5rem auto;
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.order-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.1);
}

/* Quantity Select Styling */
#quantity {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: linear-gradient(135deg, #f0f9f4, #ffffff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.8rem center;
    background-size: auto, 1.2rem;
    padding-right: 3rem;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    border: 2px solid #4caf50;
}

#quantity:hover {
    border-color: #388e3c;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
    transform: translateY(-1px);
}

#quantity:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

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

/* Person Type Selector Cards */
.person-type-selector {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.person-type-card {
    flex: 1;
    max-width: 280px;
    min-width: 200px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.person-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    left: -9999px;
}

.person-type-card .card-content {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.person-type-card:hover .card-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
    border-color: #a5d6a7;
}

.person-type-card input[type="radio"]:checked + .card-content {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-color: #4caf50;
    border-width: 3px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.3);
    transform: scale(1.05);
}

.person-type-card .card-icon {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.person-type-card input[type="radio"]:checked + .card-content .card-icon {
    animation: bounceIcon 0.6s ease;
}

@keyframes bounceIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.person-type-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.4rem;
}

.person-type-card .card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.person-type-card input[type="radio"]:checked + .card-content .card-title {
    color: #2e7d32;
}

.person-type-card input[type="radio"]:checked + .card-content .card-description {
    color: #4caf50;
    font-weight: 600;
}

/* Delivery Method Selector Cards */
.delivery-method-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.delivery-method-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delivery-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    left: -9999px;
}

.delivery-method-card .card-content {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.delivery-method-card:hover .card-content {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
    border-color: #a5d6a7;
}

.delivery-method-card input[type="radio"]:checked + .card-content {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-color: #4caf50;
    border-width: 3px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.delivery-method-card .card-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.delivery-method-card input[type="radio"]:checked + .card-content .card-icon {
    animation: bounceIcon 0.6s ease;
}

.delivery-method-card .card-info {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.delivery-method-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.delivery-method-card .card-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}

.delivery-method-card .card-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #4caf50;
    margin-left: 2rem;
    flex-shrink: 0;
}

.delivery-method-card input[type="radio"]:checked + .card-content .card-title {
    color: #2e7d32;
}

.delivery-method-card input[type="radio"]:checked + .card-content .card-description {
    color: #4caf50;
    font-weight: 600;
}

.delivery-method-card input[type="radio"]:checked + .card-content .card-price {
    color: #2e7d32;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #2e7d32, #388e3c, #43a047);
    background-size: 200% 200%;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(46, 125, 50, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #388e3c);
    box-shadow:
        0 6px 20px rgba(46, 125, 50, 0.5),
        0 3px 12px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.contact-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 20px 60px rgba(255, 0, 128, 0.2),
        0 0 40px rgba(255, 140, 0, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 0, 128, 0.3);
}

.contact-card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    fill: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
}

.contact-card a {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.contact-card a:hover {
    text-decoration: underline !important;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    color: #1a1a2e;
    text-align: center;
    padding: 2rem 2rem;
    margin-top: 2rem;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #84cc16, #bef264, #65a30d, transparent);
}

footer p {
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

/* Desktop: Phone Link */
.floating-phone-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white !important;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none !important;
}

.floating-phone-desktop:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.6);
    color: white !important;
    text-decoration: none !important;
}

.floating-phone-desktop svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-phone-desktop span {
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mobile: WhatsApp Link */
.floating-whatsapp-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
    }
}

.floating-whatsapp-mobile:hover,
.floating-whatsapp-mobile:active {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    animation: none;
    color: white !important;
    text-decoration: none !important;
}

.floating-whatsapp-mobile svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-whatsapp-mobile span {
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    /* Default: Show phone link on mobile browsers */
    .floating-phone-desktop {
        display: flex;
        width: 100%;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    /* WhatsApp initially hidden, shown by JS if FB browser detected */
    .floating-whatsapp-mobile {
        display: none;
        width: 100%;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    /* Classes for JS control */
    .hide-for-fb {
        display: none !important;
    }

    .show-for-fb {
        display: flex !important;
    }

    .floating-contact {
        position: fixed !important;
        bottom: 20px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 60% !important;
        max-width: 260px !important;
        z-index: 9999 !important;
        transition: bottom 0.3s ease;
    }

    section {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 245, 233, 0.98) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow:
            0 10px 40px rgba(76, 175, 80, 0.2),
            0 4px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 1rem 1.5rem 1rem;
        gap: 0.8rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
        box-shadow:
            0 15px 60px rgba(76, 175, 80, 0.3),
            0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .nav-links li {
        margin: 0;
        opacity: 0;
        transform: scale(0.8);
        animation: popInMenu 0.4s ease forwards;
    }

    .nav-links.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        animation-delay: 0.25s;
    }

    @keyframes popInMenu {
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        white-space: nowrap;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .battery-showcase {
        grid-template-columns: 1fr;
    }

    .battery-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .specs-list li {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .inverter-dropdown-inline {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
    }

    .order-form {
        width: 100%;
        padding: 0;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    .order-form form {
        padding: 1.5rem 1rem;
    }

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

    section h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    section#achizitie {
        padding: 2rem 0 0 0;
    }

    .billing-section {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-top: 4px solid #4caf50 !important;
    }

    .person-type-selector {
        flex-direction: row;
        gap: 0.8rem;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }

    .person-type-card {
        flex: 1;
        min-width: 0;
        max-width: none;
    }

    .person-type-card .card-content {
        padding: 1.2rem 0.6rem;
        border-radius: 8px;
    }

    .person-type-card input[type="radio"]:checked + .card-content {
        transform: scale(1.02);
    }

    .person-type-card .card-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .person-type-card .card-title {
        font-size: 0.95rem;
    }

    .person-type-card .card-description {
        font-size: 0.75rem;
    }

    #individual_fields > div,
    #company_fields > div:first-child {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        padding: 1.5rem 1rem;
    }

    #company_fields > div:last-child {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        border-left: none;
        border-top: 4px solid #ff9800;
    }

    .delivery-method-card .card-content {
        padding: 1rem 0.8rem;
        gap: 0.8rem;
        flex-wrap: nowrap;
    }

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

    .delivery-method-card .card-info {
        gap: 0.2rem;
        flex: 0 1 auto;
    }

    .delivery-method-card .card-title {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .delivery-method-card .card-description {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .delivery-method-card .card-price {
        font-size: 1rem;
        margin-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }

    .logo {
        height: 40px;
    }

    section {
        padding: 2rem 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .order-form {
        width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .order-form form {
        padding: 1.2rem 0.8rem;
    }

    section h2 {
        padding: 0 0.8rem;
    }

    .billing-section {
        margin-left: -0.8rem !important;
        margin-right: -0.8rem !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-top: 4px solid #4caf50 !important;
        padding: 1.2rem 0.8rem !important;
    }

    .person-type-selector {
        flex-direction: row;
        margin-left: -0.8rem;
        margin-right: -0.8rem;
        width: calc(100% + 1.6rem);
        gap: 0.6rem;
    }

    .person-type-card {
        flex: 1;
        min-width: 0;
    }

    .person-type-card .card-content {
        border-radius: 6px;
        padding: 1rem 0.5rem;
    }

    .person-type-card .card-icon {
        font-size: 1.8rem;
    }

    .person-type-card .card-title {
        font-size: 0.85rem;
    }

    .person-type-card .card-description {
        font-size: 0.7rem;
    }

    #individual_fields > div,
    #company_fields > div:first-child {
        margin-left: -0.8rem;
        margin-right: -0.8rem;
        border-radius: 0;
        padding: 1.2rem 0.8rem;
    }

    #company_fields > div:last-child {
        margin-left: -0.8rem;
        margin-right: -0.8rem;
        border-radius: 0;
        border-left: none;
        border-top: 4px solid #ff9800;
    }

    .delivery-method-card .card-content {
        padding: 0.8rem 0.6rem;
        gap: 0.6rem;
    }

    .delivery-method-card .card-icon {
        font-size: 1.8rem;
    }

    .delivery-method-card .card-info {
        gap: 0.15rem;
        flex: 0 1 auto;
    }

    .delivery-method-card .card-title {
        font-size: 0.88rem;
        line-height: 1.2;
    }

    .delivery-method-card .card-description {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .delivery-method-card .card-price {
        font-size: 0.9rem;
        margin-left: 1rem;
    }

    .battery-specs {
        padding: 1.5rem;
    }
}
