/* Base Layout & Reset */
:root {
  --primary: #c92257; /* Pink/Magenta gradient base */
  --secondary: #23335e; /* Dark Blue */
  --gray-bg: #b0b0b0; /* Light Gray */
  --green: #5a8721; /* Icon Green */
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --border-light: #eaeaea;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  background-color: var(--white);
}

*, *::before, *::after {
  box-sizing: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  padding: 24px 0;
  background-color: var(--white);
  border-bottom: 2px solid #f9f9f9;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 40px;
}
.nav-link {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 700;
  font-size: 15px;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--primary);
}

.search-box {
  width: 220px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background-color: #fdfdfd;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #d3285f, #c22055);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.hero-content {
  flex: 1.2;
  z-index: 2;
  animation: heroFadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero-content h1 {
  font-size: 68px;
  line-height: 1.05;
  margin: 0 0 24px 0;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-content p {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  opacity: 0.95;
  margin: 0;
  max-width: 520px;
}
.hero-image {
  flex: 0.8;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  animation: heroFadeInRight 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateX(40px) rotate(2deg);
}
.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
  transform: rotate(2deg);
  border: 10px solid rgba(255,255,255,0.1);
  transition: transform 0.5s ease;
}
.hero-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

@keyframes heroFadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeInRight {
  0% { opacity: 0; transform: translateX(40px) rotate(2deg); }
  100% { opacity: 1; transform: translateX(0) rotate(2deg); }
}

/* Base Section */
section {
  padding: 90px 0;
}
.text-center {
  text-align: center;
}

/* About Section */
.section-dark {
  background-color: var(--secondary);
  color: var(--white);
}
.about-inner h2 {
  font-size: 38px;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.35;
}
.about-inner p {
  font-size: 16px;
  line-height: 1.8;
  color: #d1d8ec;
  max-width: 1050px;
  margin: 0 auto 40px auto;
}
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  padding: 12px 45px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  text-transform: capitalize;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--secondary);
}

/* Trading Section */
.trading {
  background-color: var(--white);
}
.trading-heading {
  margin-bottom: 50px;
}
.trading-heading h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 5px 0;
}
.trading-heading h3 {
  font-size: 44px;
  font-weight: 300;
  color: var(--text-light);
  margin: 0;
  line-height: 1.25;
}
.trading-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.trading-left {
  flex: 1;
}
.trading-left img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  display: block;
}
.trading-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  font-weight: 400;
}
.trading-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list-item {
  display: flex;
  gap: 24px;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}
.list-number {
  background-color: var(--secondary);
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  min-width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.list-content h4 {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}
.list-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* Tech Section */
.section-gray {
  background-color: var(--gray-bg);
}
.section-gray h2 {
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 60px 0;
}
.card-grid {
  display: grid;
  gap: 30px;
}
.col-3 {
  grid-template-columns: repeat(3, 1fr);
}
.col-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}
.card {
  background-color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 30px 25px;
  gap: 20px;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card.border-outline {
  border: 1px solid var(--border-light);
  box-shadow: none;
}
.card.border-outline:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  border-color: transparent;
}
.icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 5px;
}
.card-content h4 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}
.card-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

/* Construction Section */
.section-light {
  background-color: var(--white);
}
.section-light h2 {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 60px 0;
  color: var(--text-dark);
}

/* Footer */
.footer {
  padding: 60px 0;
  border-top: 6px solid var(--primary);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-left p {
  margin: 10px 0;
  font-size: 14px;
  color: #d1d8ec;
  font-weight: 400;
}
.footer-right {
  text-align: right;
}
.footer-right p {
  color: #d1d8ec;
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 20px;
}
.socials {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}
.socials a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; padding: 0; }
  .hero-image { display: none; }
  .trading-grid { flex-direction: column; }
  .trading-left, .trading-right { width: 100%; }
  .col-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .search-box { display: none; }
  .hero-content h1 { font-size: 48px; }
  .col-3, .col-2 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; gap: 40px; }
  .footer-right { text-align: center; width: 100%; }
  .socials { justify-content: center; }
}
