/* ==========================================================================
   Bionol Biotech Website Style Sheet
   ========================================================================== */

/* Design Tokens & Root Variables — Organic Bio-Green Palette */
:root {
    --bg-primary: #040a04;
    --bg-secondary: #081a0e;
    --bg-card: #0c2413;
    --bg-glass: rgba(8, 26, 14, 0.75);
    --border-color: rgba(52, 211, 153, 0.1);
    --border-glow: rgba(52, 211, 153, 0.2);

    /* Rich organic bio-green spectrum */
    --accent-green: #34d399;
    --accent-lime: #a3e635;
    --accent-emerald: #059669;
    --accent-teal: #2dd4bf;
    --accent-cyan: #34d399;
    --accent-gradient: linear-gradient(135deg, #059669 0%, #34d399 50%, #a3e635 100%);
    --accent-gradient-hover: linear-gradient(135deg, #047857 0%, #10b981 50%, #84cc16 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(52, 211, 153, 0.08) 100%);

    --text-main: #ecfdf5;
    --text-muted: #a7c4b8;
    --text-dark: #1f2937;

    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-shadow-green: 0 0 24px rgba(52, 211, 153, 0.3), 0 0 48px rgba(5, 150, 105, 0.12);
    --glow-shadow-cyan: 0 0 24px rgba(45, 212, 191, 0.3), 0 0 48px rgba(45, 212, 191, 0.1);
    --glow-shadow-lime: 0 0 24px rgba(163, 230, 53, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-ar);
    line-height: 1.6;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    /* Subtle organic grid pattern */
    background-image:
        linear-gradient(rgba(52, 211, 153, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 153, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--glow-shadow-green);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.5), 0 8px 24px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background: rgba(52, 211, 153, 0.06);
    color: var(--accent-green);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.btn-secondary:hover {
    background: rgba(52, 211, 153, 0.12);
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(52, 211, 153, 0.15);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(4, 10, 4, 0.75);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(52, 211, 153, 0.08);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(4, 10, 4, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(52, 211, 153, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 70px;
}

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

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.logo-icon {
    color: var(--accent-green);
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
    animation: pulseGlow 3s infinite ease-in-out;
}

.logo-text {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-highlight {
    font-family: var(--font-ar);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-lime);
    background: rgba(163, 230, 53, 0.08);
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid rgba(163, 230, 53, 0.2);
}

/* Nav Menu */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta-btn {
    background: rgba(52, 211, 153, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(52, 211, 153, 0.25);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--glow-shadow-green);
    transform: translateY(-2px);
}

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

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Full-bleed background image layer */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.45) saturate(1.1);
    transition: filter 1.5s ease;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

/* Dark gradient overlay on top of photo */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(4, 10, 4, 0.7) 0%, rgba(4, 10, 4, 0.3) 40%, rgba(4, 10, 4, 0.6) 80%, rgba(4, 10, 4, 0.95) 100%),
        radial-gradient(ellipse 800px 600px at 30% 30%, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Fullwidth layout (centered, single column) */
.hero-fullwidth {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 140px 0 120px 0;
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 850px;
}

/* Legacy grid hero kept for backwards compat */
.hero-container:not(.hero-fullwidth) {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content:not(.hero-content-centered) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.hero-badge {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(163, 230, 53, 0.08) 100%);
    color: var(--accent-lime);
    border: 1px solid rgba(163, 230, 53, 0.25);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 0 16px rgba(163, 230, 53, 0.12), inset 0 0 12px rgba(163, 230, 53, 0.05);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #fff;
    background: linear-gradient(130deg, #ecfdf5 0%, #34d399 50%, #a3e635 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerTitle 6s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(236, 253, 245, 0.8);
    margin-bottom: 44px;
    line-height: 1.9;
    max-width: 750px;
}

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

/* Hero Visual */
.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(52, 211, 153, 0.15);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 60px rgba(52, 211, 153, 0.08);
    background: var(--bg-secondary);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.95);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.visual-glow-cyan {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.35) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite alternate;
}

.visual-glow-green {
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite alternate-reverse;
}

.hero-floating-card {
    position: absolute;
    bottom: 100px;
    left: 40px;
    background: rgba(4, 10, 4, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(52, 211, 153, 0.06);
    animation: floatCard 4s infinite ease-in-out;
    z-index: 10;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: blinkPulse 2s infinite;
}

.hero-floating-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.hero-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 5;
}

.hero-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Sections Structure */
section {
    position: relative;
    padding: 100px 0;
    z-index: 10;
    overflow: hidden; /* Keep background images contained */
}

/* Subdued watermark-style background images colorized to premium bio-green */
.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1; /* More visible but still subtle enough for text readability */
    pointer-events: none;
    z-index: -1;
    /* Map image tones to bright, vibrant organic emerald-green colors */
    filter: sepia(100%) hue-rotate(90deg) saturate(220%) brightness(1.2);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-lime);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 14px;
    background: rgba(163, 230, 53, 0.06);
    padding: 4px 14px;
    border-radius: 4px;
    border: 1px solid rgba(163, 230, 53, 0.12);
}

.section-tag.green-tag {
    color: var(--accent-green);
    background: rgba(52, 211, 153, 0.06);
    border-color: rgba(52, 211, 153, 0.12);
}

.section-tag.cyan-tag {
    color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.06);
    border-color: rgba(45, 212, 191, 0.12);
}

.section-header h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.header-line {
    width: 70px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.2);
}

.header-line.center {
    margin: 0 auto;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.7;
}

/* Who We Are (من نحن) Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 32px;
}

.subsection-title {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 18px;
    font-weight: 600;
}

.pillars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pillar-tag {
    background: rgba(52, 211, 153, 0.04);
    border: 1px solid rgba(52, 211, 153, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.pillar-tag:hover {
    background: rgba(52, 211, 153, 0.1);
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.15), inset 0 0 12px rgba(52, 211, 153, 0.04);
    transform: scale(1.05) translateY(-2px);
    color: #fff;
}

.pillar-bullet {
    width: 8px;
    height: 8px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}

.vision-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vision-mission-card {
    background: linear-gradient(145deg, rgba(8, 26, 14, 0.9) 0%, rgba(12, 36, 19, 0.6) 100%);
    border: 1px solid rgba(52, 211, 153, 0.1);
    padding: 36px;
    border-radius: 16px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.vision-mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(52, 211, 153, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.vision-mission-card:hover {
    transform: translateY(-6px);
    border-color: rgba(52, 211, 153, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(52, 211, 153, 0.06);
}

.card-icon-wrapper {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 211, 153, 0.05);
    border: 1px solid rgba(52, 211, 153, 0.15);
    color: #fff;
    transition: var(--transition-smooth);
}

.cyan-glow {
    color: var(--accent-teal);
    border-color: rgba(45, 212, 191, 0.3);
    background: rgba(45, 212, 191, 0.06);
}

.green-glow {
    color: var(--accent-green);
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(52, 211, 153, 0.06);
}

.vision-mission-card:hover .cyan-glow {
    box-shadow: var(--glow-shadow-cyan);
    background: rgba(45, 212, 191, 0.12);
}

.vision-mission-card:hover .green-glow {
    box-shadow: var(--glow-shadow-green);
    background: rgba(52, 211, 153, 0.12);
}

.card-icon {
    width: 26px;
    height: 26px;
}

.card-body h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 12px;
}

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

/* Why Methanol? Section */
.methanol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.methanol-card {
    background: linear-gradient(160deg, rgba(8, 26, 14, 0.85) 0%, rgba(4, 10, 4, 0.9) 100%);
    border: 1px solid rgba(52, 211, 153, 0.08);
    padding: 36px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.methanol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.methanol-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.methanol-card:hover::after {
    width: 200px;
    height: 200px;
}

.methanol-card:hover {
    transform: translateY(-8px);
    border-color: rgba(52, 211, 153, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(52, 211, 153, 0.05);
}

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

.m-card-num {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.methanol-card h3 {
    font-size: 1.15rem;
    color: #fff;
}

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

.full-width-card {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(163, 230, 53, 0.04) 100%);
    border-color: rgba(52, 211, 153, 0.2);
}

/* Technologies Section */
.tabs-container {
    margin-top: 48px;
}

.tabs-nav {
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 16px 24px;
    font-family: var(--font-ar);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.3);
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    opacity: 0;
    animation: panelFadeIn 0.5s forwards ease-in-out;
}

.tab-panel.active {
    display: block;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(160deg, rgba(8, 26, 14, 0.85) 0%, rgba(12, 36, 19, 0.6) 100%);
    border: 1px solid rgba(52, 211, 153, 0.1);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(52, 211, 153, 0.08);
}

.panel-info h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.panel-info p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-features li {
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-features li::before {
    content: '←';
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.panel-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-svg {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.2));
}

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

.product-card {
    background: linear-gradient(165deg, rgba(8, 26, 14, 0.9) 0%, rgba(4, 10, 4, 0.85) 100%);
    border: 1px solid rgba(52, 211, 153, 0.08);
    padding: 40px 32px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.04) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(52, 211, 153, 0.2);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 30px rgba(52, 211, 153, 0.06);
}

.product-card:hover::after {
    top: -20%;
    right: -20%;
}

.product-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.15);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.product-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.product-card:hover .product-icon-wrapper {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--glow-shadow-green);
    transform: scale(1.1) rotate(-3deg);
}

.product-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 16px;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-lime);
    background: rgba(163, 230, 53, 0.06);
    border: 1px solid rgba(163, 230, 53, 0.18);
    padding: 5px 14px;
    border-radius: 20px;
}

/* Industries Box */
.industries-box {
    margin-top: 80px;
    background: linear-gradient(145deg, rgba(5, 150, 105, 0.06) 0%, rgba(8, 26, 14, 0.8) 100%);
    border: 1px solid rgba(52, 211, 153, 0.12);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.industries-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.5;
}

.industries-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

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

.industry-card {
    background: rgba(52, 211, 153, 0.03);
    border: 1px solid rgba(52, 211, 153, 0.08);
    padding: 28px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.industry-card:hover {
    border-color: var(--accent-green);
    background: rgba(52, 211, 153, 0.06);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 16px rgba(52, 211, 153, 0.05);
}

.ind-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.3));
}

.industry-card h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 12px;
}

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

/* Platforms Section */
.platforms-container {
    margin-top: 48px;
}

.platform-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.platform-info-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.platform-selector-box {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.platform-selector-box:hover {
    border-color: rgba(52, 211, 153, 0.2);
    background: rgba(8, 26, 14, 0.85);
}

.platform-selector-box.active {
    border-color: var(--accent-green);
    background: linear-gradient(145deg, rgba(8, 26, 14, 0.9) 0%, rgba(12, 36, 19, 0.7) 100%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), 0 0 20px rgba(52, 211, 153, 0.06);
}

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

.sel-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.platform-selector-box.active .sel-bullet {
    background-color: var(--accent-green);
    box-shadow: 0 0 12px var(--accent-green);
    animation: blinkPulse 2s infinite;
}

.platform-selector-box h3 {
    font-size: 1.3rem;
    color: #fff;
}

.platform-selector-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.sel-list {
    display: none;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    animation: panelFadeIn 0.4s forwards;
}

.platform-selector-box.active .sel-list {
    display: flex;
}

.sel-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sel-list li::before {
    content: '✔';
    color: var(--accent-cyan);
}

/* Dashboard Mockup Style */
.dashboard-mockup {
    background: #040a04;
    border: 1px solid rgba(52, 211, 153, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(52, 211, 153, 0.06);
}

.dash-window-bar {
    background: #0a1a0f;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-circles {
    display: flex;
    gap: 8px;
}

.dash-circles span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.d-red { background-color: #ef4444; }
.d-yellow { background-color: #f59e0b; }
.d-green { background-color: #34d399; }

.dash-title-url {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 20px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    direction: ltr;
}

.dash-body {
    padding: 24px;
    min-height: 380px;
    background: #030804;
}

.dash-view {
    display: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.dash-view.active {
    display: block;
    opacity: 1;
}

/* OS VIEW */
.dash-grid-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat {
    background: #0a1a0f;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.d-stat-val {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.d-stat-val.val-green {
    color: var(--accent-green);
}

/* Charts */
.dash-chart-container {
    background: #0a1a0f;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.chart-legend {
    display: flex;
    gap: 12px;
}

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

.legend-dot.green { background-color: var(--accent-green); }
.legend-dot.cyan { background-color: var(--accent-cyan); }

.svg-chart-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
}

.sim-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Terminals */
.dash-terminal {
    background: #020502;
    border: 1px solid rgba(52, 211, 153, 0.06);
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 0.8rem;
    color: #34d399;
    min-height: 110px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.term-header {
    color: var(--text-muted);
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(52, 211, 153, 0.05);
    padding-bottom: 4px;
    font-size: 0.75rem;
}

.term-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.5;
    direction: ltr;
    text-align: left;
}

.term-cursor::after {
    content: '█';
    animation: termCursorBlink 1.2s infinite;
    color: var(--accent-green);
    margin-left: 4px;
}

/* AI Labs View */
.ai-controls {
    background: #0a1a0f;
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ai-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.ai-buttons {
    display: flex;
    gap: 12px;
}

.ai-status-panel {
    background: #0a1a0f;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
}

.ai-status-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.ai-status-item strong {
    color: var(--accent-cyan);
}

.ai-progress-bar-wrapper {
    height: 6px;
    background: #020502;
    border-radius: 4px;
    overflow: hidden;
}

.ai-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.ai-term {
    color: var(--accent-cyan);
}

.ai-term .term-cursor::after {
    color: var(--accent-cyan);
}

/* Sustainability & R&D Section */
.sust-rd-section {
    background:
        radial-gradient(ellipse 800px 400px at 20% 50%, rgba(5, 150, 105, 0.06) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid rgba(52, 211, 153, 0.08);
    border-bottom: 1px solid rgba(52, 211, 153, 0.08);
}

.sust-rd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.col-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.sust-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sust-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sust-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
    border: 1px solid rgba(52, 211, 153, 0.2);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.08);
}

.sust-item h4 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 8px;
}

.sust-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.rd-card {
    background: rgba(52, 211, 153, 0.03);
    border: 1px solid rgba(52, 211, 153, 0.08);
    padding: 28px;
    border-radius: 14px;
    transition: var(--transition-smooth);
}

.rd-card:hover {
    border-color: rgba(52, 211, 153, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3), 0 0 16px rgba(52, 211, 153, 0.05);
    background: rgba(52, 211, 153, 0.06);
}

.rd-card h4 {
    font-size: 1.1rem;
    color: var(--accent-green);
    margin-bottom: 12px;
}

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

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-us-item {
    background: rgba(52, 211, 153, 0.03);
    border: 1px solid rgba(52, 211, 153, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.why-us-item:hover {
    border-color: rgba(52, 211, 153, 0.25);
    background: rgba(52, 211, 153, 0.06);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 16px rgba(52, 211, 153, 0.06);
}

.check-icon {
    width: 36px;
    height: 36px;
    background: rgba(52, 211, 153, 0.1);
    padding: 7px;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.4));
}

.why-us-item h4 {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
}

/* Contact & CTA Section */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(145deg, rgba(8, 26, 14, 0.85) 0%, rgba(4, 10, 4, 0.9) 100%);
    border: 1px solid rgba(52, 211, 153, 0.1);
    padding: 64px;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(52, 211, 153, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.35;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.meta-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.meta-item span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(8, 26, 14, 0.7);
    border: 1px solid rgba(52, 211, 153, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
}

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

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

.form-control {
    width: 100%;
    background: rgba(4, 10, 4, 0.8);
    border: 1px solid rgba(52, 211, 153, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    font-family: var(--font-ar);
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.15), inset 0 0 8px rgba(52, 211, 153, 0.03);
    background: rgba(8, 18, 8, 0.9);
}

textarea.form-control {
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 16px;
    padding-left: 40px;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 600;
}

.form-group.has-error .form-control {
    border-color: #ef4444;
}

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

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(160deg, rgba(8, 26, 14, 0.95) 0%, rgba(4, 10, 4, 0.98) 100%);
    border: 1px solid rgba(52, 211, 153, 0.15);
    padding: 48px;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), var(--glow-shadow-green);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-smooth);
}

.modal-backdrop.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--accent-green);
    filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.5));
}

.modal-content h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, rgba(4, 10, 4, 0.9) 0%, #020502 100%);
    border-top: 1px solid rgba(52, 211, 153, 0.06);
    padding: 64px 0 32px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    margin: 0 auto 16px auto;
    object-fit: contain;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(52, 211, 153, 0.06);
    width: 100%;
    padding-top: 24px;
    margin-top: 24px;
}

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* System Animations */
@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.8));
    }
}

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

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

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

@keyframes shimmerTitle {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroAmbient {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes glowPulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .methanol-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .full-width-card {
        grid-column: span 2;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .platform-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(7, 10, 19, 0.98);
        backdrop-filter: blur(15px);
        transition: var(--transition-smooth);
        padding: 40px 24px;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .panel-graphic {
        order: -1;
    }
    
    .sust-rd-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .methanol-grid {
        grid-template-columns: 1fr;
    }
    .full-width-card {
        grid-column: span 1;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .rd-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 24px 16px;
    }
}

/* ========================================================================== 
   Bionol — premium Saudi biotech refinement
   ========================================================================== */
:root {
    --bg-primary: #07150e;
    --bg-secondary: #0b2115;
    --bg-card: #10291b;
    --bg-glass: rgba(10, 30, 19, 0.84);
    --border-color: rgba(229, 199, 137, 0.14);
    --border-glow: rgba(229, 199, 137, 0.28);
    --accent-green: #55c98a;
    --accent-lime: #e4c77f;
    --accent-emerald: #24744d;
    --accent-teal: #82d7b0;
    --accent-cyan: #82d7b0;
    --accent-gradient: linear-gradient(135deg, #1e6a47 0%, #49b97b 58%, #90d9a9 100%);
    --accent-gradient-hover: linear-gradient(135deg, #17573a 0%, #369d68 58%, #74c895 100%);
    --text-main: #f5f3ea;
    --text-muted: #b5c5ba;
    --glow-shadow-green: 0 14px 30px rgba(10, 35, 22, 0.34);
    --glow-shadow-cyan: 0 14px 30px rgba(10, 35, 22, 0.26);
}

html { background: var(--bg-primary); }

body {
    color: var(--text-main);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 10% 18%, rgba(94, 183, 125, 0.075), transparent 25rem),
        radial-gradient(circle at 90% 52%, rgba(228, 199, 127, 0.05), transparent 30rem);
    background-size: auto;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.24;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 120px 100%;
}

.container { max-width: 1280px; padding: 0 32px; }

.main-header {
    background: rgba(5, 20, 12, 0.72);
    border-bottom-color: rgba(229, 199, 137, 0.12);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.header-container { height: 86px; }

.main-header.scrolled {
    padding: 0;
    background: rgba(5, 20, 12, 0.94);
    box-shadow: 0 12px 36px rgba(3, 12, 7, 0.26);
}

.main-header.scrolled .header-container { height: 72px; }
.logo-link { gap: 0; }
.logo-img {
    height: 44px;
    padding: 3px 7px;
    background: #f7f6ef;
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
.logo-highlight { display: none; }
.nav-list { gap: 28px; }
.nav-link { color: rgba(245, 243, 234, 0.72); font-size: 0.9rem; }
.nav-link:hover, .nav-link.active { color: #f4dfaa; }
.nav-link::after { height: 1px; background: #e4c77f; }
.nav-cta-btn {
    color: #f6e7bd;
    border-color: rgba(228, 199, 127, 0.36);
    background: rgba(228, 199, 127, 0.08);
    padding: 10px 20px;
    border-radius: 999px;
}
.nav-cta-btn:hover { color: #092014; background: #e4c77f; box-shadow: 0 8px 20px rgba(228, 199, 127, 0.17); }

.btn { min-height: 52px; padding: 13px 28px; border-radius: 999px; letter-spacing: 0; box-shadow: none; }
.btn-primary { box-shadow: 0 12px 28px rgba(25, 105, 69, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(25, 105, 69, 0.35); }
.btn-secondary { color: var(--text-main); border-color: rgba(245, 243, 234, 0.28); background: rgba(5, 20, 12, 0.22); }
.btn-secondary:hover { background: rgba(245, 243, 234, 0.1); border-color: rgba(245, 243, 234, 0.48); box-shadow: none; transform: translateY(-2px); }

.hero-section { min-height: 820px; }
.hero-bg-image { filter: brightness(0.47) saturate(0.82) contrast(1.04); }
.hero-bg-overlay {
    background:
        linear-gradient(180deg, rgba(5, 20, 12, 0.78) 0%, rgba(5, 20, 12, 0.31) 34%, rgba(5, 20, 12, 0.54) 68%, #07150e 100%),
        linear-gradient(90deg, rgba(5, 20, 12, 0.26) 0%, transparent 50%, rgba(5, 20, 12, 0.28) 100%),
        radial-gradient(circle at 50% 40%, rgba(65, 173, 109, 0.13), transparent 32rem);
}
.hero-fullwidth { min-height: 820px; padding: 150px 0 140px; }
.hero-content-centered { max-width: 920px; }
.hero-badge { color: #f3d990; border-color: rgba(228, 199, 127, 0.38); background: rgba(15, 44, 28, 0.68); box-shadow: none; padding: 8px 18px; }
.hero-title {
    max-width: 890px;
    margin-bottom: 22px;
    color: #f8f6ee;
    font-size: clamp(2.6rem, 4.5vw, 4.3rem);
    line-height: 1.23;
    background: none;
    -webkit-text-fill-color: currentColor;
    animation: none;
    text-wrap: balance;
}
.hero-subtitle { max-width: 790px; color: rgba(245, 243, 234, 0.87); font-size: 1.08rem; line-height: 2; margin-bottom: 34px; }
.hero-actions { gap: 12px; }
.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 42px;
    color: rgba(245, 243, 234, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #e4c77f; box-shadow: 0 0 0 4px rgba(228, 199, 127, 0.11); }
.hero-floating-card { bottom: 112px; left: 48px; border-radius: 14px; border-color: rgba(228, 199, 127, 0.22); background: rgba(5, 20, 12, 0.76); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22); animation: none; }
.pulse-dot { background-color: #68cf94; box-shadow: 0 0 0 5px rgba(104, 207, 148, 0.11); }
.hero-divider { height: 110px; }

section { padding: 120px 0; }
.section-header { max-width: 770px; margin-bottom: 52px; }
.section-tag, .section-tag.green-tag, .section-tag.cyan-tag { color: #e4c77f; background: rgba(228, 199, 127, 0.08); border-color: rgba(228, 199, 127, 0.19); border-radius: 999px; padding: 5px 12px; letter-spacing: 0.8px; }
.section-header h2, .contact-info h2 { color: #f7f4ea; font-size: clamp(2rem, 3vw, 3.05rem); line-height: 1.35; }
.header-line { width: 58px; height: 2px; background: #e4c77f; box-shadow: none; }
.section-desc, .card-body p, .methanol-card p, .product-card p, .industry-card p, .platform-selector-box p, .col-intro, .sust-item p, .rd-card p, .contact-info p, .footer-logo p, .footer-bottom p { color: var(--text-muted); }
.about-grid, .sust-rd-grid { gap: 72px; }
.lead-text { color: #e7eee8; font-size: 1.14rem; }
.subsection-title { color: #f1d993; }
.pillar-tag { background: rgba(255, 255, 255, 0.025); border-color: rgba(245, 243, 234, 0.12); padding: 9px 16px; }
.pillar-tag:hover { color: var(--text-main); background: rgba(85, 201, 138, 0.1); border-color: rgba(85, 201, 138, 0.4); box-shadow: none; transform: translateY(-2px); }
.pillar-bullet { background: #e4c77f; box-shadow: none; }

.vision-mission-card,
.methanol-card,
.product-card,
.industry-card,
.rd-card,
.why-us-item,
.platform-selector-box {
    background: linear-gradient(145deg, rgba(18, 45, 29, 0.91), rgba(9, 27, 17, 0.95));
    border-color: rgba(245, 243, 234, 0.1);
    border-radius: 18px;
    box-shadow: none;
}
.vision-mission-card { padding: 32px; }
.vision-mission-card::after, .methanol-card::after, .product-card::after { opacity: 0; }
.vision-mission-card:hover,
.methanol-card:hover,
.product-card:hover,
.industry-card:hover,
.rd-card:hover,
.why-us-item:hover {
    border-color: rgba(228, 199, 127, 0.32);
    background: linear-gradient(145deg, rgba(22, 53, 34, 0.98), rgba(10, 32, 20, 0.98));
    box-shadow: 0 16px 30px rgba(3, 13, 7, 0.22);
    transform: translateY(-4px);
}
.card-icon-wrapper, .cyan-glow, .green-glow { color: #f0d48b; background: rgba(228, 199, 127, 0.09); border-color: rgba(228, 199, 127, 0.22); border-radius: 12px; }
.vision-mission-card:hover .cyan-glow, .vision-mission-card:hover .green-glow { background: rgba(228, 199, 127, 0.15); box-shadow: none; }

.methanol-section, .products-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 78%); }
.section-bg-image { opacity: 0.055; filter: sepia(20%) hue-rotate(48deg) saturate(100%) brightness(0.85); }
.methanol-grid { gap: 18px; }
.methanol-card { padding: 30px; }
.methanol-card::before { right: 0; left: auto; width: 3px; height: 100%; background: #e4c77f; }
.m-card-num { color: #e4c77f; background: none; -webkit-text-fill-color: currentColor; }
.full-width-card { background: linear-gradient(135deg, rgba(37, 99, 67, 0.18), rgba(228, 199, 127, 0.08)); border-color: rgba(228, 199, 127, 0.22); }

.tabs-container,
.industries-box,
.contact-container {
    border-color: rgba(228, 199, 127, 0.17);
    background: linear-gradient(145deg, rgba(15, 40, 25, 0.94), rgba(7, 24, 15, 0.96));
    box-shadow: 0 20px 42px rgba(3, 13, 7, 0.22);
}
.tabs-nav { border-bottom-color: rgba(245, 243, 234, 0.1); }
.tab-btn { color: var(--text-muted); }
.tab-btn.active, .tab-btn:hover { color: #f2d98f; }
.tab-btn.active::after { background: #e4c77f; }
.panel-grid { gap: 56px; }
.panel-info h3, .industries-title { color: #f7f4ea; }
.panel-features li::before { color: #e4c77f; }
.panel-graphic { background: rgba(228, 199, 127, 0.055); border-color: rgba(228, 199, 127, 0.18); }

.product-card:hover .product-icon-wrapper { color: #0a2115; background: #e4c77f; box-shadow: none; transform: scale(1.04); }
.product-icon-wrapper, .sust-icon, .check-icon { color: #f0d48b; border-color: rgba(228, 199, 127, 0.2); background: rgba(228, 199, 127, 0.08); }
.product-card h3, .industry-card h4, .sust-item h4, .why-us-item h4 { color: #f7f4ea; }
.product-badge { color: #f3d990; border-color: rgba(228, 199, 127, 0.24); background: rgba(228, 199, 127, 0.08); }
.industries-box { padding: 48px; border-radius: 22px; }
.industries-box::before { background: #e4c77f; }

.platform-selector-box.active { border-color: rgba(228, 199, 127, 0.44); background: linear-gradient(145deg, rgba(25, 60, 38, 0.96), rgba(8, 30, 18, 0.98)); box-shadow: none; }
.platform-selector-box:hover { border-color: rgba(228, 199, 127, 0.26); background: linear-gradient(145deg, rgba(20, 50, 32, 0.94), rgba(9, 29, 18, 0.96)); }
.platform-selector-box.active .sel-bullet { background: #e4c77f; box-shadow: 0 0 0 5px rgba(228, 199, 127, 0.12); }
.sel-list li::before { color: #e4c77f; }
.dashboard-mockup { border-color: rgba(228, 199, 127, 0.17); border-radius: 18px; box-shadow: 0 24px 44px rgba(3, 13, 7, 0.35); }
.dash-window-bar, .dash-body, .dash-stat, .dash-chart-container, .ai-controls, .ai-status-panel { background: #0b2115; border-color: rgba(245, 243, 234, 0.09); }

.sust-rd-section { background: linear-gradient(180deg, rgba(23, 63, 39, 0.44), rgba(7, 21, 14, 0.92)); border-color: rgba(228, 199, 127, 0.1); }
.rd-card h4 { color: #f0d48b; }
.contact-container { padding: 58px; border-radius: 24px; }
.contact-container::before { background: radial-gradient(circle, rgba(228, 199, 127, 0.13), transparent 70%); }
.contact-form-wrapper { background: rgba(4, 18, 10, 0.48); border-color: rgba(245, 243, 234, 0.1); border-radius: 16px; box-shadow: none; }
.form-control { background: rgba(2, 14, 8, 0.6); border-color: rgba(245, 243, 234, 0.15); border-radius: 9px; }
.form-control:focus { border-color: rgba(228, 199, 127, 0.7); background: rgba(2, 14, 8, 0.86); box-shadow: 0 0 0 4px rgba(228, 199, 127, 0.1); }
.main-footer { background: #05120b; border-top-color: rgba(228, 199, 127, 0.13); }
.footer-bottom { border-top-color: rgba(245, 243, 234, 0.09); }

@media (max-width: 1024px) {
    .nav-list { gap: 18px; }
    .hero-floating-card { left: 28px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header-container, .main-header.scrolled .header-container { height: 72px; }
    .nav-menu { top: 72px; height: calc(100vh - 72px); background: rgba(5, 20, 12, 0.98); border-top-color: rgba(228, 199, 127, 0.16); }
    .hero-section, .hero-fullwidth { min-height: 760px; }
    .hero-fullwidth { padding: 118px 0 110px; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
    .hero-subtitle { font-size: 1rem; line-height: 1.85; }
    .hero-trust { margin-top: 34px; gap: 10px 16px; font-size: 0.74rem; }
    .hero-floating-card { display: none; }
    section { padding: 84px 0; }
    .section-header { margin-bottom: 38px; }
    .contact-container, .industries-box { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .hero-actions { width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { flex-direction: column; align-items: center; }
    .vision-mission-card, .methanol-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
