/* ==========================================
   ST ENERGÍA - PREMIUM STYLING SYSTEM
   ========================================== */

/* Design Tokens & Variables */
:root {
    --bg-primary: #0b0c0e;
    --bg-secondary: #111317;
    --card-bg: rgba(21, 24, 28, 0.7);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-hover: rgba(255, 255, 255, 0.35);
    
    --accent-orange: #ffffff;
    --accent-orange-hover: #e6e6e6;
    --accent-orange-rgb: 255, 255, 255;
    
    --text-main: #ffffff;
    --text-muted: #9fa4ac;
    --text-red: #ff5252;
    
    --font-title: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* Section Common Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    line-height: 1.2;
}

h1 {
    font-weight: 300;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

h3 {
    font-weight: 400;
    letter-spacing: -0.01em;
}

h4 {
    font-weight: 500;
    letter-spacing: 0.01em;
}

h5, h6 {
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-orange) 30%, #a6a6a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 14, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 8px 0;
    background: rgba(11, 12, 14, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

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

.logo {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 44px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--accent-orange) !important;
}

.lang-switch {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.lang-switch:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, rgba(11, 12, 14, 0) 60%);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    left: -200px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--accent-orange);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

/* Typing Effect Elements */
.typing-container {
    display: inline-flex;
    align-items: center;
    border-left: 2px solid #ffffff;
    padding-left: 12px;
    margin-bottom: 24px;
    min-height: 24px; /* Prevents height jumping */
}

.typing-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    border-right: 2px solid #ffffff;
    padding-right: 4px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ffffff; }
}

/* Title-sized typing container */
.typing-title-container {
    display: inline-flex;
    align-items: center;
    border-left: 3px solid #ffffff;
    padding-left: 20px;
    margin-bottom: 60px;
    /* Let the height flow naturally with the text sizing */
}

.typing-text-title {
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
    border-right: 3px solid #ffffff;
    padding-right: 8px;
    animation: blink-caret 0.75s step-end infinite;
    word-break: break-word; /* Responsive wrapping */
    white-space: pre-line; /* Support explicit newlines */
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

html[lang="en"] .hero-content h1 {
    font-size: 3.3rem;
}

html[lang="en"] .hero-content h1 strong {
    white-space: nowrap;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-features.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slogan-text {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
    text-align: left;
    width: 100%;
    padding-left: 23px; /* Indent to align with the indented title text */
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.hero-feature-item i {
    width: 20px;
    height: 20px;
}

.accent-color {
    color: var(--accent-orange);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(11, 12, 14, 0) 70%);
    z-index: -1;
    filter: blur(20px);
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.hero-img:hover {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(21, 24, 28, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--accent-orange);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 4s ease-in-out infinite;
}

.floating-badge-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-orange);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge-title {
    font-weight: 500;
    font-size: 0.95rem;
}

.floating-badge-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* ==========================================
   POWER AS A SERVICE & CALCULATOR
   ========================================== */
.power-as-a-service-section {
    background-color: var(--bg-secondary);
}

.model-desc-card {
    padding-right: 40px;
}

.model-badge {
    display: inline-block;
    color: var(--accent-orange);
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.model-desc-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.model-desc-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-muted);
}

.list-icon {
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

/* Calculator Card */
.calculator-card {
    padding: 40px;
}

.calculator-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.calc-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.range-group {
    margin-bottom: 32px;
}

.range-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 1.05rem;
}

.range-group label span {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-orange);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.result-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.result-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.result-val {
    display: block;
    font-size: 1.6rem;
    font-family: var(--font-title);
    font-weight: 400;
    margin-bottom: 4px;
}

.highlight-red {
    color: #4cd964;
}

.result-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.saving-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
}

.saving-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.saving-banner h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.saving-amount {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--accent-orange);
}

/* ==========================================
   ENERGY FLOW VISUALIZER
   ========================================== */
.energy-flow-section {
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.flow-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.flow-container {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.energy-svg {
    width: 100%;
    height: auto;
}

.flow-node {
    fill: #15181c;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2px;
}

.node-source {
    stroke: #34c759;
}

.node-bess {
    stroke: var(--accent-orange);
    fill: rgba(255, 255, 255, 0.04);
}

.node-load {
    stroke: #007aff;
}

.node-text {
    fill: #ffffff;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 14px;
}

.bess-text {
    fill: var(--accent-orange);
}

.node-subtext {
    fill: var(--text-muted);
    font-size: 11px;
}

.flow-line {
    fill: none;
    stroke-width: 3px;
    stroke-linecap: round;
}

.line-1 {
    stroke: rgba(52, 199, 89, 0.15);
}

.line-2 {
    stroke: rgba(255, 255, 255, 0.15);
}

/* Animated Particles */
.particle {
    fill: var(--accent-orange);
    filter: drop-shadow(0 0 6px var(--accent-orange));
}

.particle-1 {
    fill: #34c759;
    filter: drop-shadow(0 0 6px #34c759);
}

.particle-2 {
    fill: var(--accent-orange);
    filter: drop-shadow(0 0 6px var(--accent-orange));
}

.flow-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.legend-dot.green { background-color: #34c759; }
.legend-dot.white { background-color: var(--accent-orange); }

/* ==========================================
   BENTO GRID BENEFITS
   ========================================== */
.benefits-section {
    background-color: var(--bg-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.col-span-3 {
    grid-column: span 3;
}

.col-span-2 {
    grid-column: span 2;
}

.bento-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
}

.bento-icon-wrapper {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-orange);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   APPLICATIONS & TABS
   ========================================== */
.applications-section {
    background-color: var(--bg-primary);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--accent-orange);
    color: #000000;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* Tab Content Transitions */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.tab-info h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.tab-meta-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.sub-section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

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

.challenges-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--text-muted);
}

.challenge-icon {
    color: #ff5252;
    flex-shrink: 0;
    margin-top: 3px;
    width: 20px;
    height: 20px;
}

/* Solutions Card inside Tabs */
.tab-solution {
    padding: 40px;
}

.solution-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.25);
    color: #34c759;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.solution-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Timeline Layout */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 12px;
    width: 2px;
    height: calc(100% - 24px);
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -32px;
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--accent-orange);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.timeline-body h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.timeline-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Tab Solution Details List */
.solution-details {
    list-style: none;
}

.solution-details li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.solution-details li:last-child {
    margin-bottom: 0;
}

.detail-icon {
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 4px;
    width: 22px;
    height: 22px;
}

.solution-details h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.solution-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Implementation Timeline Badge */
.implementation-timeline-badge {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
}

.badge-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-orange);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-text h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

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

/* ==========================================
   STRATEGIC IMPACT
   ========================================== */
.impact-section {
    background-color: var(--bg-secondary);
}

.impact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 36px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.impact-icon {
    color: var(--accent-orange);
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.impact-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background-color: var(--bg-primary);
}

.contact-info {
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-method-item i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-method-item a {
    font-size: 1.15rem;
    font-weight: 400;
}

.contact-method-item a:hover {
    color: var(--accent-orange);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper h3 {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.error-msg {
    color: var(--text-red);
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: var(--text-red);
}

.form-group.invalid .error-msg {
    display: block;
}

#lead-form button[type="submit"] {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

#lead-form button[type="submit"]:hover {
    background-color: #20ba5a;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* Form Success State */
.success-banner {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: #34c759;
    margin-bottom: 24px;
}

.success-banner h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.success-banner p {
    color: var(--text-muted);
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background-color: #050608;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-slogan {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 6px;
}

.footer-subtext {
    font-size: 0.9rem;
    color: var(--accent-orange);
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-bottom: 40px;
}

.footer-divider {
    width: 80px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto 30px;
}

.copyright {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.copyright a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.copyright a:hover {
    color: var(--accent-orange);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================
   RESPONSIVE LAYOUTS
   ========================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .col-span-3, .col-span-2 {
        grid-column: span 2;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .grid-2, .grid-3, .hero-grid, .tab-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .model-desc-card {
        padding-right: 0;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-3, .col-span-2 {
        grid-column: span 1;
    }
    
    .hero-section {
        padding-top: 130px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .floating-badge {
        bottom: -10px;
        left: 0;
    }
    
    .nav-links {
        display: none;
    }

    .nav-links.mobile-visible {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0b0c0e;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px;
        gap: 20px;
        align-items: stretch;
        text-align: center;
        z-index: 1001;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .implementation-timeline-badge {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

/* Social Links Styles */
.social-links-container {
    margin-top: 40px;
}

.social-links-container span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icons a svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.social-icons a:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #25d366;
    border-radius: 50%;
    opacity: 0;
    animation: whatsapp-ripple 2s infinite ease-out;
    pointer-events: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover::after {
    border-color: #20ba5a;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: #ffffff !important;
    display: block;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.whatsapp-float:hover svg {
    transform: scale(1.1) rotate(10deg);
}

@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    width: 44px;
    height: 44px;
    bottom: 105px;
    right: 38px;
    background-color: var(--bg-secondary);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-orange);
    color: #000;
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.back-to-top svg {
    transition: var(--transition-smooth);
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* ==========================================
   VALUE PROPOSITION SECTION
   ========================================== */
.value-prop-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0;
}

.value-prop-content {
    max-width: 800px;
    margin: 0 auto;
}

.value-prop-content .lead-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 24px;
    font-family: var(--font-title);
    font-weight: 300;
}

.value-prop-content .lead-text strong {
    font-weight: 700;
    font-size: 1.15em;
}

.value-prop-content .body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.value-prop-content .body-text strong {
    color: var(--text-main);
}

/* Redesigned English Value Proposition Card */
.value-prop-card {
    max-width: 1050px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.value-prop-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.value-prop-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    height: 100%;
    min-height: 350px;
    display: flex;
}

.value-prop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-smooth);
}

.value-prop-card:hover .value-prop-img {
    transform: scale(1.05);
}

.value-prop-glow {
    position: absolute;
    width: 600px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(11, 12, 14, 0) 75%);
    pointer-events: none;
    z-index: 1;
}

.value-prop-badge {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.value-prop-card .lead-text {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-main);
    font-family: var(--font-title);
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.value-prop-card .lead-text strong {
    font-weight: 700;
    font-size: 1.15em;
}

.value-prop-divider {
    height: 1px;
    width: 120px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent);
    margin: 0 0 30px;
}

.value-prop-card .body-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.value-prop-card .body-text strong {
    color: var(--text-main);
}

@media (max-width: 900px) {
    .value-prop-card {
        padding: 40px 24px;
        border-radius: 16px;
    }
    
    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .value-prop-divider {
        margin: 0 auto 30px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    }
    
    .value-prop-image-wrapper {
        min-height: 250px;
    }
    
    .value-prop-card .lead-text {
        font-size: 1.35rem;
        margin-bottom: 24px;
    }
    
    .value-prop-card .body-text {
        font-size: 1rem;
    }
    
    .value-prop-badge {
        margin-bottom: 20px;
    }
}

/* Industries Ticker Ribbon */
.industries-ticker-container {
    margin-top: 40px;
    padding: 30px 40px;
    border-radius: 16px;
    overflow: hidden;
}

.ticker-title {
    font-size: 0.8rem;
    font-family: var(--font-title);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-ticker 30s linear infinite;
}

.ticker-item {
    padding: 0 35px;
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-main);
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-item::after {
    content: "•";
    position: absolute;
    right: -4px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 1rem;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
