/*
  ISCA Stock Exchange Corporate Styles
  Theme: Modern, Dark/Glassmorphism, Financial & Premium
*/

:root {
  --bg-color-main: #0B101E; /* Deeper backdrop */
  --bg-color-alt: #131A2D;
  --text-main: #f0f4f8;
  --text-alt: #94A3B8;
  --accent-gold: #DCA54C; /* Premium Gold */
  --accent-gold-glow: rgba(220, 165, 76, 0.3);
  --accent-blue: #3A86FF;
  --glass-bg: rgba(19, 26, 45, 0.45);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font-main: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-color-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 2rem; }

/* ================== BACKGROUND ================== */
.bg-gradient {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(circle at 50% -20%, rgba(30, 41, 75, 0.8) 0%, var(--bg-color-main) 80%);
  z-index: -2; pointer-events: none;
}
.bg-shape {
  position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1;
  pointer-events: none; animation: floatShape 25s infinite ease-in-out alternate;
}
.shape-1 { width: 600px; height: 600px; background: rgba(58, 134, 255, 0.1); top: -100px; left: -200px; animation-delay: 0s; }
.shape-2 { width: 500px; height: 500px; background: rgba(220, 165, 76, 0.08); bottom: -100px; right: -100px; animation-delay: -5s; }
.shape-3 { width: 400px; height: 400px; background: rgba(20, 60, 140, 0.15); top: 30%; left: 50%; animation-delay: -10s; }
@keyframes floatShape { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-50px, 100px) scale(1.2); } }

/* ================== HEADER ================== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(11, 16, 30, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border); transition: all 0.3s ease;
}
.header.scrolled { padding: 0; background: rgba(11, 16, 30, 0.95); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: flex; align-items: center; gap: 1rem; }
.logo-img { height: 40px; width: auto; object-fit: contain; }
.logo-title { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; color: var(--accent-gold); }
.nav { display: flex; gap: 2.5rem; }
.nav-link { font-weight: 500; font-size: 1rem; transition: color 0.3s ease; position: relative; }
.nav-link:hover { color: var(--accent-gold); }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--accent-gold); transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }
.lang-switch { display: flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.05); padding: 0.3rem 0.6rem; border-radius: 20px; border: 1px solid var(--glass-border); }
.lang-btn { background: none; border: none; color: var(--text-alt); cursor: pointer; font-family: inherit; font-size: 0.85rem; font-weight: 600; transition: color 0.3s ease; }
.lang-btn.active { color: var(--text-main); text-shadow: 0 0 8px rgba(255,255,255,0.4); }
.lang-divider { width: 1px; height: 12px; background-color: var(--glass-border); }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 1rem 2.5rem; border-radius: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s ease; cursor: pointer; border: none; font-family: inherit;}
.btn-primary { background: var(--accent-gold); color: #000; box-shadow: 0 4px 20px var(--accent-gold-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--accent-gold-glow); background: #E2B25F; }
.btn-secondary { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); color: var(--text-main); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.w-full { width: 100%; }

/* ================== GENERAL ================== */
.w-section { padding: 140px 0; }
.section-heading { text-align: center; margin-bottom: 5rem; }
.section-heading h2 { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.section-heading p { color: var(--text-alt); font-size: 1.25rem; max-width: 700px; margin: 0 auto; line-height: 1.8;}
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(24px); border: 1px solid var(--glass-border); border-radius: 24px; }

/* ================== HERO ================== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding-top: 80px; text-align: center;}
.hero-bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: grayscale(50%) contrast(120%); transform: scale(1.05); animation: zoomSlow 30s infinite alternate linear; }
.hero-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 40%, var(--bg-color-main) 100%, var(--bg-color-main)); }
@keyframes zoomSlow { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-content { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center;}
.hero-badge { display: inline-block; padding: 0.5rem 1.5rem; border-radius: 30px; background: rgba(220, 165, 76, 0.1); border: 1px solid rgba(220, 165, 76, 0.3); color: var(--accent-gold); text-transform: uppercase; font-size: 0.9rem; font-weight: 600; letter-spacing: 2px; margin-bottom: 2rem; }
.hero-title { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 2rem; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.4rem; color: #cbd5e1; margin-bottom: 3.5rem; max-width: 800px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1.5rem; justify-content: center;}

/* ================== ABOUT ================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card { background: rgba(19, 26, 45, 0.3); border: 1px solid var(--glass-border); border-radius: 16px; padding: 3rem 2.5rem; transition: all 0.4s ease; }
.service-card:hover { transform: translateY(-10px); background: rgba(19, 26, 45, 0.8); border-color: rgba(220, 165, 76, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.service-icon { margin-bottom: 2rem; }
.icon-text { font-size: 3rem; font-weight: 800; color: rgba(255,255,255,0.05); -webkit-text-stroke: 1px rgba(220, 165, 76, 0.5); font-family: inherit; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }
.service-card p { color: var(--text-alt); font-size: 1.1rem; }

/* ================== ECOSYSTEM ================== */
.ecosystem-inner { padding: 5rem; display: flex; align-items: center; gap: 4rem; position: relative; overflow: hidden; }
.ecosystem-inner::before { content:''; position:absolute; top:0; left:-50%; width:100%; height:100%; background: linear-gradient(90deg, transparent, rgba(220, 165, 76, 0.05), transparent); transform: skewX(-20deg); }
.eco-content { max-width: 800px; margin: 0 auto; text-align: center;}
.eco-content h2 { font-size: 3rem; font-weight: 800; margin-bottom: 2rem; text-transform: uppercase; }
.highlight-text { font-size: 1.8rem; color: var(--accent-gold); margin-bottom: 2rem; font-weight: 600; }
.eco-desc { font-size: 1.2rem; color: var(--text-alt); margin-bottom: 3rem; line-height: 1.8; }
.eco-list { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.eco-list li { background: rgba(255,255,255,0.05); padding: 1rem 2rem; border-radius: 30px; font-weight: 500; border: 1px solid var(--glass-border); }

/* ================== PROCESS ================== */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.step-card { padding: 4rem 3rem; background: var(--bg-color-alt); border-radius: 24px; position: relative; border: 1px solid transparent; transition: 0.4s; }
.step-card:hover { border-color: var(--glass-border); background: rgba(19, 26, 45, 0.8); }
.highlight-step { background: linear-gradient(135deg, rgba(220, 165, 76, 0.1), rgba(19, 26, 45, 0.8)); border: 1px solid rgba(220, 165, 76, 0.2); }
.step-number { font-size: 1.2rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem; }
.step-number::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }
.step-card h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.step-card p { color: var(--text-alt); font-size: 1.1rem; }

/* ================== ADVANTAGES ================== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); padding: 4rem 0; }
.adv-item { border-left: 1px solid var(--glass-border); padding-left: 2rem; }
.adv-item:first-child { border-left: none; padding-left: 0; }
.adv-item h4 { font-size: 1.5rem; color: var(--accent-gold); margin-bottom: 1rem; }
.adv-item p { color: var(--text-alt); line-height: 1.6; }

/* ================== CONTACTS & FORM ================== */
.contacts-wrapper { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.contact-info { padding: 5rem; background: rgba(11, 16, 30, 0.3); border-right: 1px solid var(--glass-border); }
.contact-info h2 { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; }
.contact-info p { color: var(--text-alt); font-size: 1.2rem; margin-bottom: 4rem; }
.contact-details { display: flex; flex-direction: column; gap: 2.5rem; }
.detail-item { display: flex; flex-direction: column; gap: 0.5rem; }
.detail-title { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; color: var(--accent-gold); font-weight: 700; }
.detail-text { font-size: 1.1rem; line-height: 1.6; }
.highlight-link { color: #fff; font-weight: 600; font-size: 1.3rem; transition: 0.3s; }
.highlight-link:hover { color: var(--accent-gold); }

.contact-form-container { padding: 5rem; }
.contact-form { display: flex; flex-direction: column; gap: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.8rem; }
.form-group label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #cbd5e1; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 1.2rem; color: #fff; font-family: inherit; font-size: 1rem; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-gold); background: rgba(255,255,255,0.05); }

/* ================== FOOTER ================== */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--glass-border); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--text-alt); }

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; border-bottom: none; padding-bottom: 0; }
  .adv-item { border-left: none; padding-left: 0; padding-bottom: 2rem; border-bottom: 1px solid var(--glass-border); }
  .contacts-wrapper { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 3rem; }
  .contact-form-container { padding: 3rem; }
  .ecosystem-inner { padding: 3rem; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
