:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --dark-gray: #374151;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
}

.hero-section {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section .hero-content {
    color: white;
}

.hero-section .hero-content h1 {
    color: white !important;
    text-transform: none !important;
    font-weight: 700 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.hero-section .hero-content p {
    color: white !important;
    text-transform: none !important;
    font-weight: normal !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.icon-solar { background: var(--warning-gradient); }
.icon-battery { background: var(--success-gradient); }
.icon-trading { background: var(--secondary-gradient); }
.icon-dashboard { background: var(--primary-gradient); }

/* How It Works Step Styles */
.step-circle {
    width: 80px !important;
    height: 80px !important;
    background-color: var(--dark-gray) !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
}

.step-circle:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 10px 20px rgba(55, 65, 81, 0.3) !important;
}

.step-title {
    color: var(--dark-gray) !important;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    background: var(--primary-gradient);
    color: white;
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary-gradient);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.section-padding {
    padding: 5rem 0;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid;
    border-image: var(--primary-gradient) 1;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
}

.stats-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: none;
}

.accordion-button {
    border-radius: 15px;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-gradient);
    color: white;
}

.accordion-body {
    padding: 1.5rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.dashboard-preview {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    max-width: 100%;
    height: auto;
}

/* UserSpice overrides */
.us_menu {
    display: none !important;
}

/* Override Bootstrap form sizes */
.form-control {
    min-height: calc(1.5em + 1rem);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.form-control-lg {
    min-height: calc(1.5em + 1rem);
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* Align State and Country fields with other form fields */
.form-signup label[for*="state"],
.form-signup label[for*="country"] {
    display: inline-block;
    width: 33.33%; /* Matches the col-md-4 width */
    text-align: right;
    padding-right: 15px;
    margin-bottom: 0;
}

/* Or if you want to be more specific */
.form-signup .row:has(input[name*="state"]),
.form-signup .row:has(input[name*="country"]) {
    display: flex;
    align-items: center;
}

.form-signup .row:has(input[name*="state"]) label,
.form-signup .row:has(input[name*="country"]) label {
    flex: 0 0 33.33%;
    text-align: right;
    padding-right: 15px;
    margin-bottom: 0;
}
