/* Page Specific Styles */
:root {
  --ty-sky-blue: #54ABDF;
  --ty-deep-blue: #03213D;
  --ty-ice-blue: #E2EEF4;
  --ty-action-orange: #FF8A3D;
  --ty-white: #FFFFFF;
  --ty-spacing-lg: 80px;
  --ty-spacing-md: 40px;
  --ty-spacing-sm: 20px;
}

.ty-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

/* Hero Section */
.ty-hero {
  background: linear-gradient(rgb(3, 33, 61) 0px, rgb(3, 33, 61) 100%);
  padding: var(--ty-spacing-lg) 0;
  color: var(--ty-white);
}

.ty-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--ty-spacing-md);
  align-items: center;
}

.ty-hero__title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: var(--ty-spacing-sm);
  color: var(--ty-white);
}

.ty-hero__text {
  font-size: 1.125rem;
  margin-bottom: var(--ty-spacing-md);
  opacity: 0.9;
}

.ty-hero__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Features Section */
.ty-features {
  padding: var(--ty-spacing-lg) 0;
  background-color: var(--ty-white);
}

.ty-features__main-title {
  text-align: center;
  color: var(--ty-deep-blue);
  margin-bottom: var(--ty-spacing-lg);
  font-size: 2rem;
}

.ty-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ty-spacing-md);
}

.ty-feature-card {
  display: flex;
  flex-direction: column;
}

.ty-feature-card__image-wrapper {
  margin-bottom: var(--ty-spacing-sm);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.ty-feature-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ty-feature-card__title {
  font-size: 1.25rem;
  color: var(--ty-deep-blue);
  margin-bottom: var(--ty-spacing-sm);
}

.ty-feature-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ty-deep-blue);
  flex-grow: 1;
}

.ty-features__footer {
  text-align: center;
  margin-top: var(--ty-spacing-lg);
}

/* CTA Block */
.ty-cta-block {
  background: linear-gradient(rgb(3, 33, 61) 0px, rgb(3, 33, 61) 100%);
  padding: var(--ty-spacing-lg) 0;
  color: var(--ty-white);
}

.ty-cta-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ty-spacing-md);
  align-items: center;
}

.ty-cta-block__title {
  font-size: 1.75rem;
  margin-bottom: var(--ty-spacing-sm);
  color: var(--ty-white);
}

.ty-cta-block__text {
  font-size: 1.125rem;
  opacity: 0.9;
}

.ty-cta-block__actions {
  display: flex;
  gap: var(--ty-spacing-sm);
  justify-content: flex-end;
}

/* Buttons & Links */
.ty-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.ty-btn--primary {
  background-color: var(--ty-action-orange);
  color: var(--ty-deep-blue);
}

.ty-btn--primary:hover {
  background-color: #FF7A2F;
  transform: translateY(-2px);
}

.ty-btn--secondary {
  background-color: transparent;
  color: var(--ty-white);
  border: 2px solid var(--ty-white);
}

.ty-btn--secondary:hover {
  background-color: var(--ty-white);
  color: var(--ty-deep-blue);
}

.ty-link-action {
  color: var(--ty-deep-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ty-link-action:hover {
  color: var(--link-on-light);
}

/* Responsive */
@media (max-width: 900px) {
  .ty-hero__grid,
  .ty-features__grid,
  .ty-cta-block__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ty-hero__media {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }

  .ty-cta-block__actions {
    justify-content: center;
    flex-direction: column;
  }

  .ty-hero__title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --ty-spacing-lg: 60px;
  }
  
  .ty-btn {
    width: 100%;
  }
}
