/* ========================================
   Amaas Capital – Landing Page Styles
   ======================================== */

:root {
  --primary-blue: #0B6DFF;
  --secondary-blue: #2D9CFF;
  --accent-green: #4CD964;
  --dark-navy: #0D1B36;
  --light-bg: #F7FAFF;
  --white: #FFFFFF;
  --text-primary: #1D2A4D;
  --text-secondary: #5E6B85;
  --gradient-blue: linear-gradient(135deg, #0B6DFF 0%, #2D9CFF 100%);
  --shadow-sm: 0 2px 8px rgba(13, 27, 54, 0.06);
  --shadow-md: 0 8px 32px rgba(13, 27, 54, 0.1);
  --shadow-lg: 0 16px 48px rgba(13, 27, 54, 0.12);
  --radius: 10px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ---- Typography ---- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.eyebrow--blue {
  color: var(--primary-blue);
}

.text-green {
  color: var(--accent-green);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-top: 4px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-blue);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(11, 109, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(11, 109, 255, 0.4);
}

.btn--outline {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn--outline:hover {
  background: var(--light-bg);
}

.btn--white {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--light-bg);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 27, 54, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header__logo img {
  height: 36px;
  width: auto;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.header__menu a:hover,
.header__menu a.active {
  color: var(--primary-blue);
}

.header__menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 1px;
}

.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.dropdown a:hover {
  background: var(--light-bg);
  color: var(--primary-blue);
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--white);
}

.hero__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 40%, rgba(247, 250, 255, 0.8) 40%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(11, 109, 255, 0.02) 20px,
      rgba(11, 109, 255, 0.02) 21px
    );
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

.hero__content {
  padding-top: 24px;
}

.hero__desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11, 109, 255, 0.08);
}

.trust-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 8px;
}

.trust-card span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  position: absolute;
  top: 0;
  right: -24px;
  width: 110%;
  height: 100%;
  min-height: 520px;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  border-radius: 0 0 0 40px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  margin-top: 40px;
  max-width: 480px;
  margin-left: auto;
}

.consultation-card h2 {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0AEC0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(11, 109, 255, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%235E6B85' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.consultation-form .btn {
  margin-top: 16px;
}

.form-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-error {
  margin-top: 12px;
  font-size: 13px;
  color: #E53E3E;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 32px 16px;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 217, 100, 0.12);
  border-radius: 50%;
}

.form-success p {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section--light {
  background: var(--light-bg);
}

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

.solution-card {
  background: var(--white);
  border: 1px solid rgba(11, 109, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 109, 255, 0.15);
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 12px;
  margin-bottom: 16px;
}

.solution-card h3 {
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.solutions-grid .solution-card:nth-child(5),
.solutions-grid .solution-card:nth-child(6),
.solutions-grid .solution-card:nth-child(7) {
  grid-column: span 1;
}

/* Center last row of 3 cards */
.solutions-grid {
  grid-template-columns: repeat(12, 1fr);
}

.solutions-grid .solution-card {
  grid-column: span 3;
}

.solutions-grid .solution-card:nth-child(5) {
  grid-column: 2 / span 3;
}

.solutions-grid .solution-card:nth-child(6) {
  grid-column: 5 / span 3;
}

.solutions-grid .solution-card:nth-child(7) {
  grid-column: 8 / span 3;
}

/* ---- Process Timeline ---- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-green) 0,
    var(--accent-green) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(11, 109, 255, 0.3);
}

.process-step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 12px;
}

.process-step h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 4px;
}

/* ---- Industries ---- */
.industries {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}

.industries__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 28px;
}

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

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(11, 109, 255, 0.08);
  transition: all var(--transition);
  text-align: center;
}

.industry-item:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.industry-item__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 12px;
}

.industry-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--light-bg);
  padding: 48px 0;
  border-top: 1px solid rgba(11, 109, 255, 0.06);
  border-bottom: 1px solid rgba(11, 109, 255, 0.06);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---- Carousel / Success Stories ---- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel__track {
  flex: 1;
  overflow: hidden;
}

.carousel__slide {
  display: none;
}

.carousel__slide.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.story-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 109, 255, 0.06);
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.story-card__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card__body h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.story-card__body p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.story-card__link {
  font-weight: 600;
  color: var(--primary-blue);
}

.story-card__link:hover {
  color: var(--secondary-blue);
}

.carousel__btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary-blue);
  background: var(--white);
  color: var(--primary-blue);
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel__btn:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--gradient-blue);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q25 0 50 10 T100 10 V20 H0Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat-x bottom;
  opacity: 0.5;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}

.cta-banner__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner__text {
  flex: 1;
}

.cta-banner__text h2 {
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 4px;
}

.cta-banner__text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer__logo {
  height: 36px;
  width: auto;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  transition: background var(--transition);
}

.footer__social a:hover {
  background: var(--primary-blue);
}

.footer__col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a,
.footer__col ul li span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--white);
}

.footer__contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal a:hover {
  color: var(--white);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__image-wrap {
    display: none;
  }

  .consultation-card {
    margin: 0 auto;
    max-width: 100%;
  }

  .solutions-grid .solution-card,
  .solutions-grid .solution-card:nth-child(5),
  .solutions-grid .solution-card:nth-child(6),
  .solutions-grid .solution-card:nth-child(7) {
    grid-column: span 6;
  }

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .process-timeline::before {
    display: none;
  }

  .industries {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__nav,
  .header .btn--sm {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 24px;
  }

  .header__nav.open .header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .trust-cards {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid .solution-card,
  .solutions-grid .solution-card:nth-child(n) {
    grid-column: span 12;
  }

  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
