/* ============================================
   StarSource - Main Stylesheet
   ============================================ */

/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Purple Colors */
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --purple-50: #faf5ff;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --purple-800: #5b21b6;
    
    /* Secondary Red Colors */
    --secondary-color: #dc2626;
    --secondary-dark: #b91c1c;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    
    /* Accent Blue Colors */
    --accent-color: #1e40af;
    --accent-dark: #1e3a8a;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    
    /* Legacy green variables for compatibility */
    --green-50: #faf5ff;
    --green-600: #7c3aed;
    --green-700: #6d28d9;
    
    --text-dark: #171717;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --bg-gray-900: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}


.navbar {
    padding: 1rem 0;
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    z-index: 999;
}

.mobile-nav.active {
    max-height: 500px;
    padding: 1rem 0;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    text-align: left;
}

.mobile-nav a {
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo a {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .main-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo-text .tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.logo:hover .logo-text .main-text {
    color: var(--primary-dark);
}

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

.nav-menu li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hotline-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.hotline-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Main Content ===== */
main {
    min-height: calc(100vh - 200px);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(to bottom, var(--purple-50) 0%, var(--bg-white) 100%);
    color: var(--text-dark);
    padding: 5rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.hero-tagline {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.hero-image {
    background-color: #fff0f5;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
}

/* Image Slider */
.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.image-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.image-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.image-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
}

.btn-secondary:hover {
    background-color: var(--purple-50);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Featured Products Section ===== */
.featured-products {
    padding: 5rem 0;
    background-color: var(--bg-white);
    display: block;
    visibility: visible;
    position: relative;
}

.featured-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 2rem;
    grid-auto-rows: min-content;
    visibility: visible;
    opacity: 1;
}

.product-card {
    background-color: var(--bg-gray-50);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    visibility: visible;
    opacity: 1;
    min-height: 0;
}

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

.product-image-placeholder {
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

.product-image {
    width: 100%;
    height: 16rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

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

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

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-battery {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.product-price {
    color: var(--text-dark);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-specs {
    margin-bottom: 1rem;
    display: block;
    visibility: visible;
}

.product-specs p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

.product-card .btn-primary {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* ===== Cruiser Bikes Section ===== */
.cruiser-bikes {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--bg-gray-50) 0%, var(--bg-white) 100%);
}

.cruiser-bikes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.cruiser-bikes > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.bike-card {
    background-color: var(--bg-gray-50);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.bike-image-placeholder {
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bike-image {
    width: 100%;
    height: 16rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

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

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

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

.bike-variant {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.bike-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bike-original-price {
    text-decoration: line-through;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.bike-specs {
    margin-bottom: 1.5rem;
}

.bike-specs p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.bike-card .btn-primary {
    width: 100%;
    text-align: center;
}

/* ===== About Page ===== */
.about-content {
    padding: 4rem 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.value-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    position: relative;
    border-left: 4px solid transparent;
    background-image: linear-gradient(var(--bg-light), var(--bg-light)), 
                      linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.value-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

/* ===== Services Page ===== */
.services-content {
    padding: 4rem 0;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.service-card ul li {
    margin-bottom: 0.5rem;
}

/* ===== Products Page ===== */
.products-content {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.products-content h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.products-content > .container > p {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.product-info {
    padding: 0;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-info p.product-battery {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-info ul {
    margin-bottom: 1.5rem;
}

.product-info ul li {
    font-size: 0.95rem;
    line-height: 1.6;
}


.product-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-info ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-info ul li {
    margin-bottom: 0.5rem;
}

/* ===== Contact Page ===== */
.contact-content {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
    min-height: 500px;
}

.contact-info {
    width: 100%;
    max-width: 100%;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 100%;
}

.contact-info h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background-color: var(--bg-gray-50);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.contact-item p strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, var(--purple-50) 0%, var(--bg-white) 100%);
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(124, 58, 237, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

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

.contact-form-wrapper h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

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

/* Form Message Styles */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease-out;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#submitBtn:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

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

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-placeholder {
    background-color: var(--bg-white);
    padding: 4rem 2rem;
    border-radius: 0.5rem;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== Footer ===== */
footer {
    background-color: var(--bg-gray-900);
    color: var(--bg-white);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
    align-items: start;
    justify-content: space-between;
    width: 100%;
}

.footer-section {
    min-width: 0;
}

.footer-section h3 {
    color: var(--bg-white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-section:first-child {
    max-width: 100%;
}

.footer-section:last-child {
    text-align: right;
    min-width: auto;
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-size: 0.875rem;
    text-align: left;
}

.footer-section:first-child p {
    line-height: 1.3;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--bg-white);
    transform: translateX(3px);
}

.footer-section:last-child ul li {
    text-align: right;
}

.footer-section:last-child ul li a:hover {
    transform: translateX(-3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .logo img {
        height: 40px;
    }

    .logo-text .main-text {
        font-size: 1rem;
    }

    .logo-text .tagline {
        font-size: 0.65rem;
    }
}

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .page-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .page-header p {
        font-size: 1rem;
    }

    .products-content {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        position: static;
    }

    .feature-grid,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-image {
        height: 14rem;
    }

    .product-card {
        padding: 1.25rem;
    }

    .product-info h3 {
        font-size: 1.25rem;
    }

    .product-info p.product-battery {
        font-size: 0.875rem;
    }

    .product-info ul li {
        font-size: 0.875rem;
    }

    .products-content {
        padding: 2.5rem 0;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta {
        padding: 3rem 0;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-section:first-child {
        max-width: 100%;
        grid-column: 1 / -1;
    }

    .footer-section:last-child {
        text-align: left;
    }

    .footer-section:last-child ul li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .features,
    .about-content,
    .services-content,
    .products-content,
    .contact-content {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1rem;
    }

    .product-image {
        height: 12rem;
        margin-bottom: 1rem;
        padding: 0.75rem;
    }

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

    .product-info h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .product-info p.product-battery {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .product-info ul {
        margin-bottom: 1rem;
    }

    .product-info ul li {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }

    .product-card .btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .products-content {
        padding: 2rem 0;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .cta {
        padding: 2.5rem 0;
    }

    .cta h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .cta p {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .cta .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section:first-child {
        grid-column: 1;
    }

    .footer-section:last-child {
        text-align: left;
    }

    .footer-section:last-child ul li {
        text-align: left;
    }
}

/* Tablet breakpoint for 2 columns */
@media (min-width: 769px) and (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-section:last-child {
        text-align: right;
    }

    .footer-section:last-child ul li {
        text-align: right;
    }
}

/* Ensure minimum 3 columns on larger screens */
@media (min-width: 1201px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr !important;
    }
}

