/* =============================================
   OVENTA - Vision AI Platform
   Modern Dark Theme with Cyan Accent
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Colors */
    --primary: #29B6D6;
    --primary-light: #5DD3ED;
    --primary-dark: #1A8BA6;
    --primary-glow: rgba(41, 182, 214, 0.3);
    --primary-glow-strong: rgba(41, 182, 214, 0.5);
    
    --bg-dark: #0A0A0B;
    --bg-darker: #050506;
    --bg-card: #111113;
    --bg-card-hover: #1A1A1D;
    --bg-elevated: #16161A;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A8;
    --text-muted: #6B6B75;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(41, 182, 214, 0.3);
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

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

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

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(41, 182, 214, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(41, 182, 214, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(41, 182, 214, 0.02) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Grid Pattern Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-light);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

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

.navbar-logo img {
    height: 56px;
    width: auto;
}

.navbar-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

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

.navbar-menu a:hover {
    color: var(--text-primary);
}

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher - Hidden by default */
.lang-switcher {
    display: none;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--bg-dark);
    box-shadow: 0 0 40px var(--primary-glow-strong);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-color-hover);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    background: rgba(41, 182, 214, 0.1);
    color: var(--primary);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 var(--section-padding);
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
    background-image: url('../images/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background overlay - adjust opacity here (0.0 to 1.0) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.85); /* 85% dark */
    pointer-events: none;
    z-index: 1;
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(41, 182, 214, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 182, 214, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

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

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Beri lebih banyak ruang untuk content */
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 620px; /* Lebih lebar untuk typing text */
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(41, 182, 214, 0.1);
    border: 1px solid rgba(41, 182, 214, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
    line-height: 1.3;
    overflow: hidden; /* Mencegah typing text overflow */
}

/* Typing wrapper - FIXED HEIGHT untuk mencegah layout shift */
.hero h1 .typing-wrapper {
    display: block;
    height: 1.3em;
}

.hero h1 .typing-text {
    color: var(--primary);
    /* Font monospace yang lebih technical/nerdy */
    font-family: 'Fira Code', 'JetBrains Mono', 'Source Code Pro', 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-weight: 600;
    font-size: 0.78em; /* Disesuaikan agar muat dengan max-width 620px */
    letter-spacing: -0.03em;
    white-space: nowrap;
    /* Efek glow untuk kesan futuristic */
    text-shadow: 0 0 20px rgba(41, 182, 214, 0.4);
}

.hero h1 .typing-cursor {
    display: inline;
    color: var(--primary);
    font-family: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
    font-weight: 300;
    font-size: 0.78em;
    animation: cursorBlink 0.7s step-end infinite;
    margin-left: 2px;
    /* Cursor glow effect */
    text-shadow: 0 0 10px rgba(41, 182, 214, 0.8);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat .stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual - Terminal */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

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

/* Terminal Window */
.terminal-window {
    background: rgba(15, 15, 20, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots .dot.red { background: #ff5f56; }
.terminal-dots .dot.yellow { background: #ffbd2e; }
.terminal-dots .dot.green { background: #27ca40; }

.terminal-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    min-height: 280px;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    opacity: 0;
    animation: terminalFadeIn 0.5s ease forwards;
}

.terminal-line.delay-1 { animation-delay: 0.5s; }
.terminal-line.delay-2 { animation-delay: 1s; }
.terminal-line.delay-3 { animation-delay: 1.5s; }
.terminal-line.delay-4 { animation-delay: 2s; }
.terminal-line.delay-5 { animation-delay: 2.5s; }
.terminal-line.delay-6 { animation-delay: 3s; }
.terminal-line.delay-7 { animation-delay: 3.5s; }
.terminal-line.delay-8 { animation-delay: 4s; }

@keyframes terminalFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.terminal-prompt {
    color: var(--primary);
    font-weight: 700;
}

.terminal-text {
    color: var(--text-secondary);
}

.terminal-text.alert {
    color: #f59e0b;
}

.terminal-text .cyan {
    color: var(--primary);
}

.terminal-status {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.terminal-status.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.terminal-cursor {
    color: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.highlight-line {
    background: rgba(245, 158, 11, 0.1);
    margin: 4px -20px;
    padding: 8px 20px;
    border-left: 3px solid #f59e0b;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(21, 27, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    animation: floatCard 3s ease-in-out infinite;
}

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

.detection-card {
    top: 20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: 0.5s;
}

.detection-icon {
    font-size: 1.5rem;
}

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

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

.detection-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.alert-card {
    bottom: 40px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation-delay: 1s;
}

.alert-pulse {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: alertPulse 2s infinite;
}

@keyframes alertPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.alert-text {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 500;
}

/* =============================================
   SECTION COMMON STYLES
   ============================================= */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.125rem;
}

/* =============================================
   PROBLEMS SECTION
   ============================================= */
.problems {
    background: var(--bg-darker);
}

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

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

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

.problem-icon {
    width: 56px;
    height: 56px;
    background: rgba(41, 182, 214, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.problem-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.problem-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* =============================================
   PLATFORM SECTION
   ============================================= */
.platform {
    overflow: hidden;
    background: var(--bg-darker);
}

.platform .section-header {
    margin-bottom: 40px;
}

/* Platform Tabs */
.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.platform-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.platform-tab:hover {
    border-color: var(--border-color-hover);
    color: var(--text-primary);
}

.platform-tab.active {
    background: rgba(41, 182, 214, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.platform-tab svg {
    stroke: currentColor;
}

/* Dashboard Frame */
.platform-dashboard {
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

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

.dashboard-dots {
    display: flex;
    gap: 8px;
}

.dashboard-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

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

.dashboard-url {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-darker);
    padding: 6px 12px;
    border-radius: 4px;
    flex: 1;
    max-width: 300px;
}

.dashboard-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Feature Highlights Grid */
.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.feature-highlight:hover {
    border-color: var(--border-color-hover);
}

.feature-highlight-icon {
    width: 32px;
    height: 32px;
    background: rgba(41, 182, 214, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.feature-highlight span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.platform-feature span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.platform-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
}

.platform-image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--primary);
    opacity: 0.3;
}

/* =============================================
   HOW IT WORKS SECTION
   ============================================= */
.how-it-works {
    background: var(--bg-darker);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
    opacity: 0.3;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 40px 24px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px var(--primary-glow);
}

.step-card h3 {
    margin-bottom: 16px;
}

.step-card p {
    font-size: 1rem;
}

/* =============================================
   SOLUTIONS SECTION
   ============================================= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

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

.solution-video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-darker);
    overflow: hidden;
    position: relative;
}

.solution-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solution-content {
    padding: 28px 32px 32px;
}

.solution-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.solution-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.solution-tag {
    padding: 6px 12px;
    background: rgba(41, 182, 214, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* =============================================
   INDUSTRIES SECTION
   ============================================= */
.industries {
    background: var(--bg-darker);
}

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

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    transition: all var(--transition-normal);
}

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

.industry-icon {
    width: 56px;
    height: 56px;
    background: rgba(41, 182, 214, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.industry-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

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

/* =============================================
   WHY OVENTA SECTION
   ============================================= */
.why-oventa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: var(--border-color-hover);
}

.why-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.why-icon {
    width: 48px;
    height: 48px;
    background: rgba(41, 182, 214, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.why-card h4 {
    font-size: 1.1rem;
}

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

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 50%);
    opacity: 0.3;
}

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

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

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

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

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

.footer-brand p {
    font-size: 1rem;
    margin: 20px 0;
    max-width: 300px;
}

.footer-brand .navbar-logo img {
    height: 60px;
    width: auto;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--primary);
    background: rgba(41, 182, 214, 0.1);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    transition: stroke var(--transition-fast);
}

.footer-social a:hover svg {
    stroke: var(--primary);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

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

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

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

.footer-bottom p {
    font-size: 0.875rem;
    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(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Fallback: Show content if JS doesn't run or for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Ensure content is visible after page load even without JS */
.no-js .animate-on-scroll,
body:not(.js-loaded) .animate-on-scroll {
    opacity: 1;
    transform: none;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    /* Hero responsive */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    /* Tablet: font size typing disesuaikan */
    .hero h1 .typing-wrapper {
        height: 1.3em;
    }
    
    .hero h1 .typing-text {
        font-size: 0.8em;
        letter-spacing: -0.03em;
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Platform responsive */
    .platform-tabs {
        flex-wrap: wrap;
    }
    
    .platform-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-iframe {
        height: 450px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-oventa-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .navbar .container {
        padding: 0 16px;
    }
    
    .navbar-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px 24px;
        flex-direction: column;
        gap: 0;
        z-index: 9999;
        overflow-y: auto;
        align-items: stretch;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-menu li {
        width: 100%;
    }
    
    .navbar-menu a {
        display: block;
        font-size: 1.25rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .navbar-actions {
        gap: 12px;
    }
    
    .navbar-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 10000;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.4;
    }
    
    /* Mobile: allow 2 baris dengan fixed height */
    .hero h1 .typing-wrapper {
        height: 2.8em; /* Fixed height untuk 2 baris */
    }
    
    .hero h1 .typing-text {
        font-size: 0.95em;
        white-space: normal; /* Allow wrap di mobile */
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .terminal-window {
        margin: 0 -16px;
        border-radius: 0;
    }
    
    .terminal-body {
        font-size: 0.75rem;
        min-height: 220px;
    }
    
    /* Platform mobile */
    .platform-tabs {
        gap: 8px;
    }
    
    .platform-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .platform-tab span {
        display: none;
    }
    
    .dashboard-iframe {
        height: 350px;
    }
    
    .platform-features-grid {
        grid-template-columns: 1fr;
    }
    
    .problems-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-oventa-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card[style*="grid-column"] {
        grid-column: auto !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-card {
        padding: 24px 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .problem-card,
    .solution-card,
    .why-card {
        padding: 24px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .lang-switcher {
        padding: 3px;
    }
    
    .lang-switcher .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* =============================================
   BLOG PAGE STYLES
   ============================================= */
.blog-header {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    opacity: 0.3;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article Page */
.article-header {
    padding-top: 140px;
    padding-bottom: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.article-featured-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-featured-image svg {
    width: 80px;
    height: 80px;
    stroke: var(--primary);
    opacity: 0.3;
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: var(--section-padding);
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 24px;
}

.article-content h3 {
    font-size: 1.35rem;
    margin: 36px 0 16px;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    /* Extra small: fixed height untuk 2 baris */
    .hero h1 .typing-wrapper {
        height: 3em;
    }
    
    .hero h1 .typing-text {
        font-size: 0.9em;
    }
}