/* ColdStack — Modern Responsive Stylesheet */

/* Local Self-Hosted Fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/outfit-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg-start: #F4F6FD;
  --color-bg-end: #E9EDFD;
  --color-title: #1B2A47;
  --color-text: #6E7E9D;
  --color-accent: #1FCF90;
  --color-accent-hover: #19ba80;
  --color-accent-active: #159f6d;
  --color-brand-blue: #0053F1;
  --color-white: #FFFFFF;

  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--color-bg-start);
  background-image: linear-gradient(180deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Background Wave Graphics */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-wave-desktop {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg-desktop.svg');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  opacity: 1;
}

.bg-wave-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background-image: url('assets/bg-mobile.svg');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  opacity: 1;
}

/* Layout Container */
.page-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

/* Header */
.site-header {
  padding: 60px 240px 0;
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.logo-link:hover {
  opacity: 0.85;
}

.logo-link:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.logo-img {
  width: 174px;
  height: 36px;
  display: block;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 240px 80px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* Text Column */
.text-column {
  flex: 1 1 785px;
  max-width: 785px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.main-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 90px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--color-title);
  margin: 0;
}

.description-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text);
}

.description-text p {
  margin: 0;
}

/* CTA Button & Toast */
.cta-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 72px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 60px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 32px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(31, 207, 144, 0.2);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-contact:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 207, 144, 0.3);
}

.btn-contact:active {
  background-color: var(--color-accent-active);
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(31, 207, 144, 0.2);
}

.btn-contact:focus-visible {
  outline: 3px solid var(--color-brand-blue);
  outline-offset: 4px;
}

.copy-toast {
  position: absolute;
  left: calc(100% + 16px);
  white-space: nowrap;
  background: var(--color-title);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 12px rgba(27, 42, 71, 0.15);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* Illustration Column */
.illustration-column {
  flex: 0 1 671px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-container {
  width: 100%;
  max-width: 671px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-img {
  width: 100%;
  max-width: 671px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Matching Figma specifications)
   ============================================================ */

/* Standard Desktop (1440px - 1600px) */
@media (max-width: 1600px) {
  .site-header {
    padding: 60px 100px 0;
  }

  .main-content {
    padding: 38px 100px 50px;
  }

  .content-wrapper {
    max-width: 1240px;
    gap: 40px;
  }

  .text-column {
    flex: 1 1 690px;
    max-width: 700px;
    gap: 32px;
  }

  .main-title {
    font-size: 70px;
  }

  .description-text {
    font-size: 16px;
    line-height: 24px;
    gap: 16px;
  }

  .btn-contact {
    width: 240px;
    height: 56px;
    font-size: 18px;
    line-height: 32px;
  }

  .illustration-column {
    flex: 0 1 540px;
  }

  .illustration-container {
    max-width: 540px;
  }

  .illustration-img {
    max-width: 540px;
  }
}

/* Tablet Landscape / Medium Screens (1024px) */
@media (max-width: 1199px) {
  .site-header {
    padding: 60px 40px 0;
    justify-content: center;
  }

  .main-content {
    padding: 28px 40px 60px;
    align-items: flex-start;
  }

  .content-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 40px;
  }

  .text-column {
    flex: 0 0 auto;
    max-width: 944px;
    align-items: center;
    gap: 24px;
  }

  .main-title {
    font-size: 60px;
  }

  .description-text {
    font-size: 16px;
    line-height: 24px;
    max-width: 940px;
    gap: 16px;
  }

  .cta-wrapper {
    margin-top: 8px;
  }

  .btn-contact {
    width: 240px;
    height: 56px;
  }

  .copy-toast {
    left: 50%;
    top: calc(100% + 12px);
    transform: translate(-50%, -8px);
  }

  .copy-toast.show {
    transform: translate(-50%, 0);
  }

  .illustration-column {
    flex: 0 0 auto;
    width: 100%;
    max-width: 610px;
  }

  .illustration-container {
    max-width: 610px;
  }

  .illustration-img {
    max-width: 610px;
  }
}

/* Small Tablet (744px - 900px) */
@media (max-width: 899px) {
  .site-header {
    padding: 50px 30px 0;
  }

  .main-content {
    padding: 24px 30px 50px;
  }

  .text-column {
    flex: 0 0 auto;
    max-width: 664px;
    gap: 24px;
  }

  .main-title {
    font-size: 48px;
  }

  .description-text {
    font-size: 14px;
    line-height: 20px;
    gap: 14px;
  }

  .illustration-column {
    flex: 0 0 auto;
    max-width: 450px;
  }

  .illustration-container {
    max-width: 450px;
  }

  .illustration-img {
    max-width: 450px;
  }
}

/* Mobile Devices (393px and smaller) */
@media (max-width: 600px) {
  .bg-wave-desktop {
    display: none;
  }

  .bg-wave-mobile {
    display: block;
  }

  .site-header {
    padding: 30px 20px 0;
    justify-content: center;
  }

  .logo-img {
    width: 116px;
    height: 24px;
  }

  .main-content {
    padding: 16px 20px 32px;
    align-items: flex-start;
  }

  .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }

  .text-column {
    flex: 0 0 auto;
    width: 100%;
    max-width: 353px;
    margin: 0 auto;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .main-title {
    font-size: 32px;
    line-height: 1.0;
  }

  .description-text {
    font-size: 14px;
    line-height: 16px;
    gap: 10px;
    text-align: center;
  }

  .cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0;
  }

  .btn-contact {
    width: 100%;
    max-width: 353px;
    height: 48px;
    font-size: 16px;
    line-height: 24px;
  }

  .copy-toast {
    left: 50%;
    top: calc(100% + 8px);
    transform: translate(-50%, -8px);
  }

  .copy-toast.show {
    transform: translate(-50%, 0);
  }

  .illustration-column {
    flex: 0 0 auto;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .illustration-container {
    max-width: 260px;
  }

  .illustration-img {
    max-width: 260px;
    width: 260px;
    height: 260px;
  }
}
