@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0F2A47;
  --bg-secondary: #123052;
  --bg-glass: rgba(15, 42, 71, 0.75);
  --bg-card: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.1);
  --text-primary: #E6E9EE;
  --text-muted: #9eabc2;
  --accent-blue-inter: #1E5A96;
  --accent-cyan: #1FB6C9;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-main: 0 20px 40px rgba(0,0,0,0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Header */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(15, 42, 71, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 40px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-link { font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--accent-cyan); }
.lang-switch { display: flex; gap: 10px; }
.lang-btn {
  padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border-glass);
  background: var(--bg-card); transition: all 0.3s; font-size: 0.9rem;
}
.lang-btn.active, .lang-btn:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px;
  background: linear-gradient(180deg, rgba(15, 42, 71, 0.7), rgba(15, 42, 71, 1)),
              url('../img/app_banner.png') center/cover no-repeat;
}
.hero-content { text-align: center; z-index: 2; position: relative; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero h1 span { color: var(--accent-cyan); }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 40px; color: var(--text-muted); }

.hero-visual {
  margin: 60px auto 0; max-width: 800px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 50px rgba(31, 182, 201, 0.2);
  border: 1px solid var(--border-glass);
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius-md);
  font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none; margin: 0 10px;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-blue-inter), var(--accent-cyan)); color: white; box-shadow: 0 10px 20px rgba(31, 182, 201, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px rgba(31, 182, 201, 0.3); }
.btn-outline { background: transparent; border: 1px solid var(--accent-cyan); color: var(--accent-cyan); }
.btn-outline:hover { background: rgba(31, 182, 201, 0.1); }

/* Value Proposition */
.features { padding: 100px 0; background: var(--bg-primary); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-glass); padding: 40px;
  border-radius: var(--radius-lg); transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); border-color: rgba(31, 182, 201, 0.4); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--accent-cyan); }
.feature-card p { color: var(--text-muted); }

/* Scale Section (TPE / ETI) */
.scale-section { padding: 80px 0; background: var(--bg-secondary); }
.scale-container { display: flex; gap: 40px; flex-wrap: wrap; }
.scale-box {
  flex: 1; min-width: 300px; background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border-glass); padding: 40px; border-radius: var(--radius-lg);
}
.scale-box h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--text-primary); }
.scale-box p { color: var(--text-muted); font-size: 1.1rem; }

/* Carousel Section */
.carousel-section { padding: 100px 0; background: var(--bg-primary); }
.carousel-container {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main); border: 1px solid var(--border-glass);
}
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #0b1e36; position: relative; }
.carousel-slide img { width: 100%; height: auto; display: block; object-fit: contain; max-height: calc(700px - 60px); }
.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.carousel-btn { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; transition: background 0.3s; }
.carousel-btn.active { background: var(--accent-cyan); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(15, 42, 71, 0.8); border: 1px solid var(--accent-cyan); color: var(--accent-cyan);
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; z-index: 10; transition: background 0.3s;
}
.carousel-arrow:hover { background: var(--accent-cyan); color: white; }
.carousel-arrow.left { left: 20px; }
.carousel-arrow.right { right: 20px; }
.carousel-caption {
  width: 100%; background: rgba(15, 42, 71, 1); margin-top: auto;
  padding: 15px; text-align: center; border-top: 1px solid var(--border-glass); font-weight: 500;
}

/* Footer */
footer { padding: 60px 0 30px; background: #071524; border-top: 1px solid var(--border-glass); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-cyan); }
.copyright { color: #66768f; font-size: 0.85rem; }

/* Legal pages content */
.legal-content {
  padding: 150px 0 100px;
  background: var(--bg-primary);
  min-height: 80vh;
}
.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-cyan);
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--text-primary);
}
.legal-content p, .legal-content li {
  color: var(--text-muted);
  margin-bottom: 15px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
