/* ================================
   CURIOSONE - Main Stylesheet
   ================================ */

/* CSS Variables */
:root {
    --primary-color: #2C64ED;
    --primary-dark: #1E4FD0;
    --primary-light: #5A8AF2;
    --secondary-color: #1A202C;
    --accent-color: #2C64ED;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --text-color: #1A202C;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --bg-color: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(44,100,237,0.08);
    --shadow-md: 0 4px 12px rgba(44,100,237,0.12);
    --shadow-lg: 0 10px 30px rgba(44,100,237,0.15);
    --shadow-xl: 0 25px 50px rgba(44,100,237,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   HEADER
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 42px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-greeting {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-logout:hover {
    background: #64748b;
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(44, 100, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 100, 237, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-nav {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
}

.btn-outline-nav:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

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

/* ================================
   HERO SECTION
   ================================ */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #F0F5FF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(44, 100, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 100, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(44, 100, 237, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 14px;
}

.trust-stars {
    color: var(--primary-color);
    font-size: 18px;
    letter-spacing: 2px;
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================================
   FLOATING CARDS - PREMIUM DESIGN
   ==================================== */

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Particelle animate */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 8s ease-in-out infinite;
}

.p1 { width: 10px; height: 10px; background: #2C64ED; top: 20%; left: 10%; animation-delay: 0s; }
.p2 { width: 6px; height: 6px; background: #10B981; top: 60%; left: 20%; animation-delay: 1s; }
.p3 { width: 8px; height: 8px; background: #f59e0b; top: 30%; right: 15%; animation-delay: 2s; }
.p4 { width: 12px; height: 12px; background: #8b5cf6; bottom: 30%; right: 25%; animation-delay: 0.5s; }
.p5 { width: 5px; height: 5px; background: #2C64ED; top: 70%; left: 35%; animation-delay: 1.5s; }
.p6 { width: 7px; height: 7px; background: #10B981; bottom: 20%; left: 15%; animation-delay: 2.5s; }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.8; }
    50% { transform: translate(-10px, -50px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(15px, -20px) scale(1.1); opacity: 0.7; }
}

/* Cerchi decorativi */
.deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(44, 100, 237, 0.15);
    pointer-events: none;
}

.ring1 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring-rotate 30s linear infinite;
}

.ring2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring-rotate 40s linear infinite reverse;
    border-color: rgba(44, 100, 237, 0.08);
}

@keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Float Card Base */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 25px 50px rgba(44, 100, 237, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border: 1px solid rgba(44, 100, 237, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(44, 100, 237, 0.2),
        0 0 0 1px rgba(255, 255, 255, 1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* ====================================
   MAIN SAVINGS CARD - PREMIUM
   ==================================== */

.main-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 28px 32px 32px;
    z-index: 10;
    background: linear-gradient(165deg, rgba(255,255,255,0.98) 0%, rgba(248,250,255,0.95) 100%);
    border: 1px solid rgba(44, 100, 237, 0.12);
    overflow: hidden;
}

.main-card:hover {
    transform: translate(-50%, -50%) scale(1.02);
}

.card-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #2C64ED, #8b5cf6, #2C64ED, #10B981);
    background-size: 300% 300%;
    border-radius: 23px;
    z-index: -1;
    opacity: 0.7;
    filter: blur(20px);
    animation: gradient-shift 5s ease infinite;
}

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

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: card-shine 4s ease-in-out infinite;
    pointer-events: none;
}

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

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

.savings-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.savings-icon-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2C64ED 0%, #5A8AF2 100%);
    border-radius: 12px;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(44, 100, 237, 0.3);
}

.icon-ring {
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(44, 100, 237, 0.3);
    border-radius: 16px;
    animation: icon-ring-pulse 2s ease-in-out infinite;
}

@keyframes icon-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0; }
}

.savings-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.savings-value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin: 8px 0;
    position: relative;
}

.savings-value .currency {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 12px;
    opacity: 0.9;
}

.savings-value .amount {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #2C64ED 0%, #1e4fc2 50%, #2C64ED 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.03em;
    animation: text-gradient 3s ease infinite;
}

@keyframes text-gradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.savings-period {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.savings-bar {
    position: relative;
    height: 10px;
    background: rgba(44, 100, 237, 0.08);
    border-radius: 10px;
    overflow: visible;
    margin-bottom: 16px;
}

.bar-track {
    position: absolute;
    inset: 0;
    background: rgba(44, 100, 237, 0.05);
    border-radius: 10px;
}

.bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2C64ED, #5A8AF2, #8b5cf6);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: bar-grow 2.5s ease-out 0.5s forwards, bar-shimmer 2s ease-in-out infinite;
    position: relative;
}

.bar-glow {
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    background: #5A8AF2;
    border-radius: 50%;
    transform: translate(50%, -50%);
    filter: blur(8px);
    opacity: 0;
    animation: bar-glow-appear 2.5s ease-out 0.5s forwards;
}

@keyframes bar-grow {
    from { width: 0; }
    to { width: 78%; }
}

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

@keyframes bar-glow-appear {
    from { opacity: 0; }
    to { opacity: 0.8; }
}

.savings-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.stag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.stag-luce {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.stag-gas {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

/* ====================================
   ENERGY CARDS
   ==================================== */

.energy-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    width: 175px;
    border-radius: 16px;
}

.luce-card {
    top: 12%;
    left: 0%;
    animation: float-card-1 6s ease-in-out infinite;
}

.gas-card {
    bottom: 15%;
    right: 0%;
    animation: float-card-2 7s ease-in-out infinite;
}

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-18px) rotate(-2deg); }
}

.energy-icon {
    font-size: 22px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.luce-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2);
}

.gas-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.energy-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.energy-type {
    font-weight: 700;
    font-size: 16px;
    color: var(--secondary-color);
}

.energy-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #10B981;
    font-weight: 600;
}

.energy-status i {
    font-size: 11px;
}

/* ====================================
   USERS BADGE
   ==================================== */

.users-badge {
    top: 65%;
    left: 2%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    animation: float-card-3 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes float-card-3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.users-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    border: 2px solid white;
    margin-left: -8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.avatar:first-child { margin-left: 0; }

.av1 { background: linear-gradient(135deg, #667eea, #764ba2); z-index: 3; }
.av2 { background: linear-gradient(135deg, #f093fb, #f5576c); z-index: 2; }
.av3 { background: linear-gradient(135deg, #4facfe, #00f2fe); z-index: 1; }

.avatar-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid white;
    margin-left: -8px;
    z-index: 0;
}

.users-info {
    display: flex;
    flex-direction: column;
}

.users-count {
    font-weight: 800;
    font-size: 18px;
    color: var(--secondary-color);
    line-height: 1.1;
}

.users-label {
    font-size: 11px;
    color: var(--text-light);
}

/* ====================================
   NOTIFICATION CARD - LIVE
   ==================================== */

.notification-card {
    bottom: 10%;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    animation: notif-bounce 0.5s ease forwards, float-card-4 8s ease-in-out infinite 0.5s;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,253,244,0.95));
    border: 1px solid rgba(16, 185, 129, 0.15);
    position: relative;
    overflow: visible;
}

@keyframes notif-bounce {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; }
    60% { transform: scale(1.05) translateY(-5px); }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes float-card-4 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes notif-in {
    from { transform: translateX(30px) scale(0.95); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes notif-out {
    from { transform: translateX(0) scale(1); opacity: 1; }
    to { transform: translateX(-30px) scale(0.95); opacity: 0; }
}

.notif-live-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    border: 2px solid white;
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10B981 0%, #34d399 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.notif-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notif-text strong {
    font-size: 14px;
    color: var(--secondary-color);
}

.notif-text span {
    font-size: 12px;
    color: var(--text-light);
}

.notif-text b {
    color: #10B981;
    font-weight: 700;
}

.notif-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #10B981;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rimuovi vecchi stili */
.check-badge {
    display: none;
}

.float-shape { display: none; }
.users-text { display: none; }
    height: 24px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: auto;
}

/* Users Badge */
.users-badge {
    top: 10%;
    right: 10%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    animation: float-3 7s ease-in-out infinite;
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

.users-avatars {
    display: flex;
}

.users-avatars .avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-left: -8px;
    border: 2px solid white;
    color: var(--primary-color);
}

.users-avatars .avatar:first-child {
    margin-left: 0;
}

.users-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Notification Card */
.notification-card {
    bottom: 10%;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    animation: float-4 8s ease-in-out infinite, slide-in 0.5s ease-out;
}

@keyframes float-4 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes slide-in {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.notif-icon {
    font-size: 22px;
    color: #10B981;
}

.notif-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.notif-text strong {
    color: var(--secondary-color);
    font-size: 13px;
}

.notif-text span {
    color: var(--text-light);
}

/* Floating Shapes */
.float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.2), rgba(44, 100, 237, 0.05));
    top: 5%;
    left: 30%;
    animation: shape-float 10s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.15), rgba(44, 100, 237, 0.03));
    bottom: 15%;
    left: 25%;
    animation: shape-float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.1), transparent);
    top: 30%;
    right: 15%;
    animation: shape-float 8s ease-in-out infinite;
}

@keyframes shape-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(10px, -10px) scale(1.05); }
    50% { transform: translate(0, -20px) scale(1); }
    75% { transform: translate(-10px, -10px) scale(0.95); }
}

/* ================================
   PARTNERS SECTION
   ================================ */
.partners {
    padding: 50px 0;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-light);
    font-size: 15px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    padding: 12px 20px;
    border-radius: 8px;
}

.partner-logo:hover {
    color: var(--primary-color);
    background: rgba(44, 100, 237, 0.1);
    transform: translateY(-2px);
}

/* ================================
   FEATURES SECTION
   ================================ */
.features {
    padding: 100px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(44, 100, 237, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.feature-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.feature-text p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 36px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(44, 100, 237, 0.15);
    font-weight: 600;
    color: var(--secondary-color);
    border: 1px solid rgba(44, 100, 237, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(44, 100, 237, 0.2);
}

.check-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ================================
   STATS SECTION
   ================================ */
.stats {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.stat-icon {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.stat-icon i {
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.1), rgba(44, 100, 237, 0.05));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto;
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* ================================
   SERVICES SECTION
   ================================ */
.services {
    padding: 100px 0;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.service-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(44, 100, 237, 0.03);
}

.service-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(44, 100, 237, 0.3);
}

.services-content {
    position: relative;
}

.service-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-panel.active {
    display: grid;
}

.service-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--secondary-color);
}

.service-features {
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.service-features .feature-icon {
    font-size: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(44, 100, 237, 0.1), rgba(44, 100, 237, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-features strong {
    display: block;
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.service-features p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Phone Demo */
.phone-demo {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(44, 100, 237, 0.2);
    padding: 28px;
    max-width: 360px;
    margin: 0 auto;
    border: 1px solid rgba(44, 100, 237, 0.1);
}

.demo-header {
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.demo-current {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.demo-current > span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.current-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
}

.demo-offer {
    background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-color);
}

.offer-provider {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.offer-savings {
    margin-bottom: 16px;
}

.savings-amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.savings-label {
    font-size: 13px;
    color: var(--text-light);
}

.demo-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(44, 100, 237, 0.35);
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 100, 237, 0.45);
}

/* ================================
   FAQ SECTION
   ================================ */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.faq-header p {
    font-size: 18px;
    color: var(--text-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--secondary-color);
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   CTA SECTION
   ================================ */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #2C64ED 0%, #1E4FD0 50%, #1a3fa0 100%);
    position: relative;
    overflow: hidden;
}

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

@keyframes shine {
    0%, 100% { left: -25%; }
    50% { left: 125%; }
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 45px;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

.footer-legal a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .hero-content,
    .feature-row,
    .service-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .phone-mockup {
        width: 260px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-text h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .partners-logos {
        gap: 24px;
    }
    
    .partner-logo {
        font-size: 16px;
    }
    
    .services-tabs {
        gap: 8px;
    }
    
    .service-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Floating Cards Mobile */
    .hero-visual {
        height: 400px;
        margin-top: 40px;
    }
    
    .floating-cards {
        transform: scale(0.85);
        transform-origin: center center;
    }
    
    .main-card {
        width: 260px;
        padding: 24px;
    }
    
    .savings-value .amount {
        font-size: 56px;
    }
    
    .savings-value .currency {
        font-size: 26px;
        margin-top: 8px;
    }
    
    .savings-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
    
    .savings-label {
        font-size: 12px;
    }
    
    .energy-card {
        width: 150px;
        padding: 12px 14px;
    }
    
    .luce-card {
        top: 5%;
        left: -5%;
    }
    
    .gas-card {
        bottom: 8%;
        right: -5%;
    }
    
    .energy-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .energy-type {
        font-size: 14px;
    }
    
    .users-badge {
        top: auto;
        bottom: 42%;
        left: -8%;
        padding: 10px 14px;
    }
    
    .avatar {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
    
    .avatar-plus {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .users-count {
        font-size: 15px;
    }
    
    .users-label {
        font-size: 10px;
    }
    
    .notification-card {
        bottom: 3%;
        right: -5%;
        padding: 10px 14px;
    }
    
    .notif-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .notif-text strong {
        font-size: 12px;
    }
    
    .notif-text span {
        font-size: 11px;
    }
    
    .deco-ring {
        display: none;
    }
    
    .hero-particles .particle {
        transform: scale(0.7);
    }
}

/* ================================
   FORM STYLES (for other pages)
   ================================ */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 100, 237, 0.1);
}

.form-input::placeholder {
    color: var(--text-lighter);
}

/* ================================
   PAGE SPECIFIC STYLES
   ================================ */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-light);
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

/* Card Styles */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.alert-info {
    background: #E3F2FD;
    color: #1565C0;
    border: 1px solid #90CAF9;
}
