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

:root {
  /* Color Palette based on reference image */
  --navy-dark: #011f18; /* Deep emerald for text/shadows */
  --navy-main: #003b2e; /* Emerald green main (much darker) */
  --navy-light: #005944; /* Lighter emerald */
  
  --black: #000000;
  --white: #ffffff;
  --white-bg: #eceae4; /* Warm off-white/cream from fabric */
  --gray-light: #e9ecef;
  --gray-text: #6c757d;
  
  /* Shiny Silver / Metallic */
  --silver-gradient: linear-gradient(135deg, #fdfdfd 0%, #d4d8db 50%, #9ca3af 100%);
  --silver-text-bg: linear-gradient(to right, #cfd9df 0%, #e2ebf0 100%);
  --metallic-gold: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); /* Using silver instead of gold to match request */
  --metallic-silver: linear-gradient(to right, #e0e0e0, #ffffff, #bdbdbd, #fafafa, #9e9e9e);

  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: 'Lato', sans-serif;
  overflow: hidden; /* Stop full page scroll, let panes scroll */
  background-color: var(--black);
  color: var(--navy-dark);
}

/* Split Screen Layout */
.layout-container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.pane-left {
  flex: 5.5; /* 55% width */
  background: var(--navy-dark);
  background-image: radial-gradient(circle at center, var(--navy-light) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Add a subtle dark texture overlay to left pane */
.pane-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg width="4" height="4" xmlns="http://www.w3.org/2000/svg"><rect width="4" height="4" fill="none"/><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
  background-repeat: repeat;
  z-index: 1;
}

.pane-left-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.pane-right {
  flex: 4.5; /* 45% width */
  background-color: var(--white);
  padding: 4rem 3rem;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 10;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6, .nav-pills a {
  font-family: 'Montserrat', sans-serif;
}
h1 {
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.2rem;
  color: var(--navy-dark);
}

.subtitle {
  font-size: 1.25rem;
  color: var(--white-bg);
  opacity: 0.85;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* The "Shiny ARXEDO" Hook Text */
.text-shiny {
  background: var(--metallic-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer-bg 4s linear infinite;
  display: inline-block;
}

@keyframes shimmer-bg { to { background-position: 200% center; } }

/* Pill Buttons & Navigation */
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px; /* Extreme rounded pill shape */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.pill-primary {
  background-color: var(--navy-main);
  color: var(--white);
  border: 2px solid var(--navy-main);
  box-shadow: 0 4px 15px rgba(10, 17, 26, 0.15);
}

.pill-primary:hover {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 17, 26, 0.25);
}

/* Specific styling for the active navigation button on the white right pane */
.nav-pills .pill-primary {
  background-color: transparent;
  color: var(--navy-dark);
  border: 2px solid #d4af37;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.15); /* Soft, elegant shadow */
}

.nav-pills .pill-primary:hover {
  background-color: rgba(212, 175, 55, 0.05); /* Faint gold tint */
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.2);
}

.pill-outline {
  background-color: transparent;
  color: var(--navy-main);
  border: 2px solid var(--gray-light);
}

.pill-outline:hover {
  border-color: #d4af37;
  background-color: rgba(212, 175, 55, 0.03);
  color: var(--navy-dark);
  box-shadow: none;
}

.pill-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.pill-outline-light:hover {
  background-color: transparent;
  color: #e0e0e0;
  border-color: #e0e0e0;
  box-shadow: 0 0 15px rgba(224, 224, 224, 0.4), inset 0 0 10px rgba(224, 224, 224, 0.2);
}

/* Cards (Right Pane Console) */
.console-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 24px; /* Highly rounded corners */
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.console-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #dee2e6;
  transform: translateY(-5px);
}

.console-card h3 {
  font-size: 1.2rem;
  color: var(--navy-main);
  margin-bottom: 0.8rem;
}

.console-card p {
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Small UI Elements */
.brand-logo {
  max-width: 250px;
  height: auto;
  margin-bottom: 4.5rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--navy-light);
  color: var(--white);
  margin-bottom: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy-main);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 50px; /* Pill shaped inputs */
  border: 2px solid var(--gray-light);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

textarea.form-control {
  border-radius: 24px; /* Rounded box for textarea */
  min-height: 120px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-main);
  box-shadow: 0 0 0 4px rgba(19, 32, 50, 0.1);
}

/* Footer */
.site-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-light);
  color: var(--gray-text);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--navy-main);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col p {
  margin-bottom: 0.5rem;
}

.footer-col a {
  display: block;
  color: var(--gray-text);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--navy-main);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
  font-size: 0.8rem;
  line-height: 1.5;
}

.social-links a:hover {
  color: #d4af37 !important;
  transform: translateY(-2px);
}

/* Circular Language Dropdown System */
.lang-dropdown-wrapper {
  position: absolute;
  top: 1.5rem;
  right: 3rem;
  z-index: 100;
}

/* The selected flag */
.lang-switcher-circle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.lang-switcher-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Enhanced 3D Glassy Effect for main flag */
.lang-switcher-circle::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), inset 0 -2px 5px rgba(0,0,0,0.4);
}

.lang-dropdown-wrapper:hover .lang-switcher-circle {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* The Dropdown Menu */
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.8rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 150px;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--gray-light) transparent;
}

.lang-dropdown::-webkit-scrollbar {
  width: 6px;
}
.lang-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.lang-dropdown::-webkit-scrollbar-thumb {
  background-color: var(--gray-light);
  border-radius: 10px;
}

.lang-dropdown-wrapper:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  color: var(--navy-main);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.lang-dropdown a:hover {
  background: rgba(212, 175, 55, 0.05);
  color: #d4af37;
}

/* Small flags in dropdown */
.lang-dropdown img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  /* Mini glass effect */
  border: 1px solid rgba(255,255,255,0.5);
}

/* Badge Shine Effect (Hexagon) */
.badge-container {
    position: relative;
    display: inline-block;
    /* Use clip-path instead of mask-image to avoid local file CORS hiding the element */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Badge Shine Effect (Circle) */
.badge-container-circle {
    position: relative;
    display: inline-block;
    clip-path: circle(50% at 50% 50%);
}

.aigp-badge, .cipp-badge {
    height: 120px;
    width: auto;
    display: block;
}

.badge-container::after, .badge-container-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: glide-shine 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes glide-shine { 0% { left: -150%; } 40% { left: 200%; } 100% { left: 200%; } }

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .layout-container {
    flex-direction: column;
    height: auto;
    overflow-y: auto; /* Allow whole page to scroll */
  }
  
  body {
    overflow-y: auto;
  }
  
  .pane-left {
    padding: 6rem 2rem;
    flex: none;
    min-height: 60vh;
  }
  
  .pane-right {
    flex: none;
    padding: 3rem 1.5rem;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
  }

  .lang-dropdown-wrapper {
    top: 1rem;
    right: 1.5rem;
  }

  h1 { font-size: 3.5rem; }
}
/* Floating Cookie-Free Badge */
.cookie-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(224, 224, 224, 0.4), inset 0 0 10px rgba(224, 224, 224, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-color: #e0e0e0;
  color: #fff;
}

/* Shiny Gold Box Accent */
.box-shiny { background: linear-gradient(135deg, #DFCA9D 0%, #FCF5E3 50%, #DFCA9D 100%);  position: relative; overflow: hidden; } .box-shiny::after { content: ""; position: absolute; top: 0; left: -150%; width: 100%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: glide-shine 5s infinite ease-in-out; pointer-events: none; }



