/* ============================================
   EHON Energy Tech - Modern Homepage Styles
   Dark Tech Aesthetic with Bold Accents
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Deep Navy to Black Gradient */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1629;
    --bg-tertiary: #151d35;
    --bg-card: rgba(21, 29, 53, 0.7);
    --bg-card-hover: rgba(30, 42, 74, 0.8);
    
    /* Accent Colors - EHON Red & Blue */
    --accent-primary: #ed1c24;
    --accent-secondary: #2a3690;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #ed1c24 0%, #ff4757 50%, #2a3690 100%);
    --gradient-accent: linear-gradient(135deg, #ed1c24 0%, #ff6b7a 100%);
    --gradient-blue: linear-gradient(135deg, #2a3690 0%, #3b82f6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(237, 28, 36, 0.3) 0%, rgba(42, 54, 144, 0.3) 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Border & Shadow */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(237, 28, 36, 0.3);
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --container-max: 1600px;
    --section-padding: clamp(80px, 10vw, 140px);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global SVG sizing - prevents SVGs from expanding to full width */
svg {
    flex-shrink: 0;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-delay: -14s;
}

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

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

/* ============================================
   Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(10, 14, 26, 0.95);
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 42px;
    width: auto;
    transition: var(--transition-base);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.btn-login {
    background: var(--gradient-accent);
    color: var(--text-primary);
    font-weight: 600;
    padding: 10px 20px;
}

.nav-link.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(237, 28, 36, 0.4);
}

/* Dropdown Menu */
.nav-item-has-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

.nav-link-dropdown.active {
    color: var(--text-primary);
}

.dropdown-chevron {
    width: 16px;
    height: 16px;
    transition: var(--transition-base);
}

.nav-item-has-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 220px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.nav-item-has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition-base);
}

.dropdown-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 140px 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    background: rgba(237, 28, 36, 0.1);
    border: 1px solid rgba(237, 28, 36, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease both;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(237, 28, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(237, 28, 36, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

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

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

.btn-outline:hover {
    background: rgba(237, 28, 36, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease 0.3s both;
}

.dashboard-preview {
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition-slow);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.preview-dots span:nth-child(1) { background: #ff5f56; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #27ca40; }

.preview-title {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.preview-content {
    padding: 8px;
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(21, 29, 53, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, 0.2);
    border-radius: 8px;
}

.floating-card .card-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-primary);
}

.floating-card .card-icon.green {
    background: rgba(16, 185, 129, 0.2);
}

.floating-card .card-icon.green svg {
    stroke: var(--accent-green);
}

.floating-card .card-icon.blue {
    background: rgba(59, 130, 246, 0.2);
}

.floating-card .card-icon.blue svg {
    stroke: var(--accent-blue);
}

.floating-card .card-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -40px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: -4s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: fadeInUp 0.8s ease 1s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    stroke: var(--text-muted);
}

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

/* ============================================
   Section Styles
   ============================================ */
section {
    position: relative;
    z-index: 1;
}

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

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Industries Section
   ============================================ */
.industries {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 20px 28px;
    text-align: center;
    transition: var(--transition-base);
    cursor: default;
}

.industry-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(237, 28, 36, 0.4);
    transform: translateY(-4px);
}

.industry-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.industry-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, 0.1);
    border: 1px solid rgba(237, 28, 36, 0.3);
    border-radius: 12px;
    font-size: 24px;
}

.industry-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.industry-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.industry-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.industry-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding) 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: rgba(237, 28, 36, 0.3);
    transform: translateY(-4px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-base);
}

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

.feature-card.featured {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1) 0%, rgba(42, 54, 144, 0.1) 100%);
    border-color: rgba(237, 28, 36, 0.2);
}

.feature-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-mono);
    line-height: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, 0.15);
    border-radius: 14px;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* ============================================
   Link Gateway Section
   ============================================ */
.link-gateway {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.gateway-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.gateway-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.gateway-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.gw-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.gw-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, 0.15);
    border-radius: 10px;
}

.gw-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-primary);
}

.gw-feature h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gw-feature p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Gateway Visual */
.gateway-visual {
    position: relative;
}

.gateway-device {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237, 28, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.device-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    inset: -50px;
    pointer-events: none;
}

.lines-svg {
    width: 100%;
    height: 100%;
}

.line {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 2;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    opacity: 0.3;
    animation: drawLine 3s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 0.5s; }
.line-3 { animation-delay: 1s; }
.line-4 { animation-delay: 1.5s; }

@keyframes drawLine {
    0%, 100% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
}

/* Data Points */
.data-point {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dp-pulse {
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-green);
}

.dp-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    background: var(--bg-tertiary);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.dp-1 { top: 10%; left: 10%; }
.dp-2 { top: 20%; right: 5%; animation-delay: -0.5s; }
.dp-3 { bottom: 20%; left: 15%; animation-delay: -1s; }

/* ============================================
   Why EHON Section
   ============================================ */
.why-ehon {
    padding: var(--section-padding) 0;
}

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

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-base);
}

.why-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.15) 0%, rgba(42, 54, 144, 0.15) 100%);
    border-radius: 16px;
}

.why-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1) 0%, rgba(42, 54, 144, 0.15) 100%);
    border-top: 1px solid rgba(237, 28, 36, 0.2);
    border-bottom: 1px solid rgba(237, 28, 36, 0.2);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, 0.15);
    border-radius: 12px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-primary);
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
    color: var(--text-primary);
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(237, 28, 36, 0.05);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

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

.footer-social svg {
    width: 18px;
    height: 18px;
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-partner {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.partner-logo {
    margin-left: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 60px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .gateway-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .gateway-visual {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        grid-row: auto;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 32px 32px;
        border-left: 1px solid var(--border-color);
        transition: var(--transition-base);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 16px;
        text-align: center;
    }
    
    .nav-item-has-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 8px;
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }
    
    .nav-item-has-dropdown.active .dropdown-menu {
        max-height: 300px;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .dropdown-link {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .mobile-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .mobile-toggle[aria-expanded="true"] .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .mobile-toggle[aria-expanded="true"] .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 16px 40px;
    }
    
    .hero-badge {
        font-size: 11px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 24px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card {
        padding: 28px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Dashboard Section (Powerful Inventory Tracking)
   ============================================ */
.dashboard-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.dash-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.dash-feature:hover {
    border-color: rgba(237, 28, 36, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dash-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-base);
}

.dash-feature:hover::before {
    opacity: 1;
}

.dash-number {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.dash-feature h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.dash-feature p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Consolidate FMS Section
   ============================================ */
.consolidate-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.consolidate-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sites-graphic {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sites-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

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

.consolidate-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.consolidate-list {
    list-style: none;
    margin-bottom: 32px;
}

.consolidate-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

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

.list-bullet {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.one-login-callout {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1) 0%, rgba(42, 54, 144, 0.15) 100%);
    border: 1px solid rgba(237, 28, 36, 0.25);
    border-radius: 14px;
}

.callout-badge {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, 0.2);
    border-radius: 12px;
    font-size: 24px;
    color: var(--accent-primary);
}

.callout-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.callout-text span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Industries Section V2
   ============================================ */
.industries-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.industry-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-base);
}

.industry-card-v2:hover {
    border-color: rgba(237, 28, 36, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.industry-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.industry-card-v2:hover .industry-img img {
    transform: scale(1.08);
}

.industry-content {
    padding: 24px;
}

.industry-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.industries-small-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.industry-tag {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.industry-tag:hover {
    background: var(--bg-card-hover);
    border-color: rgba(237, 28, 36, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ============================================
   Integration Section
   ============================================ */
.integration-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.integration-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.integration-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.int-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.int-number {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.15) 0%, rgba(42, 54, 144, 0.15) 100%);
    border-radius: 14px;
    font-size: 24px;
}

.int-feature h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.int-feature p {
    font-size: 14px;
    color: var(--text-muted);
}

.integration-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-device-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    transition: var(--transition-slow);
}

.link-device-img:hover {
    transform: scale(1.03) translateY(-10px);
}

/* ============================================
   Cloud CTA Section
   ============================================ */
.cloud-cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.cloud-cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.08) 0%, rgba(42, 54, 144, 0.12) 100%);
    border: 1px solid rgba(237, 28, 36, 0.2);
    border-radius: 24px;
}

.cloud-icon-large {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.2) 0%, rgba(42, 54, 144, 0.2) 100%);
    border-radius: 24px;
    font-size: 48px;
}

.cloud-text {
    flex: 1;
}

.cloud-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.cloud-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Responsive Updates for New Sections
   ============================================ */
@media (max-width: 1200px) {
    .consolidate-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .consolidate-visual {
        order: -1;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .integration-visual {
        order: -1;
    }
    
    .industries-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .dashboard-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .industries-grid-v2 {
        grid-template-columns: 1fr;
    }
    
    .industries-small-grid {
        gap: 12px;
    }
    
    .industry-card-small {
        padding: 12px 16px;
    }
    
    .cloud-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
    
    .cloud-text {
        order: 1;
    }
}

@media (max-width: 480px) {
    .dash-feature {
        padding: 28px 20px;
    }
    
    .one-login-callout {
        flex-direction: column;
        text-align: center;
    }
    
    .callout-icon {
        margin: 0 auto;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

