/* ==========================================================================
   CSS Variables - APEX Academy
   ========================================================================== */
:root {
  /* Colors from Figma */
  --color-primary: #3168f1; /* Основной синий */
  --color-primary-dark: #2854d4; /* Темный синий для hover */
  --color-accent: #3168f1; /* Акцентный цвет */
  --color-dark: #1e1e1e; /* Темный текст */
  --color-text: #1e1e1e; /* Основной текст */
  --color-text-light: #1717178f; /* Светлый текст с прозрачностью */
  --color-text-muted: #1e1e1ec4; /* Текст с прозрачностью */
  --color-white: #ffffff;
  --color-white-soft: #ffffffc9; /* Белый с прозрачностью */
  --color-bg-light: #0000008f; /* Светлый фон */
  --color-bg-dark: #231f20; /* Темный фон */
  --color-red: #f13131; /* Красный для badges */

  /* Shadows */
  --shadow-card: 0px 8px 18.6px 0px rgba(0, 0, 0, 0.25);

  /* Blur effects */
  --blur-light: blur(22.2px);
  --blur-heavy: blur(87.3px);

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-width: 1325px;
  --section-padding: 80px;
  --border-radius: 16px;
  --border-radius-sm: 8px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  font-weight: 700;
  font-size: clamp(24px, 5vw, 54px);
  line-height: 110%;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.section-title-white {
  color: var(--color-white);
}

.section-subtitle {
  font-weight: 400;
  font-size: clamp(14px, 3vw, 24px);
  line-height: 130%;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 46px;
  letter-spacing: 1px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.3);
}

.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: clamp(16px, 3vw, 30px) 20px;
  border-radius: clamp(24px, 4vw, 47px);
  font-weight: 700;
  font-size: clamp(16px, 2.5vw, 26px);
  line-height: 133%;
  letter-spacing: 2%;
  text-transform: uppercase;
  width: 100%;
}

.btn-dark:hover {
  background-color: var(--color-bg-dark);
  transform: translateY(-2px);
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(92, 92, 92, 0.253);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  padding: 15px 0;
  box-shadow: var(--shadow-card);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.logo img {
  height: clamp(30px, 4vw, 40px);
  width: auto;
  fill: #0000008c;
}

.nav-menu {
  display: flex;
  gap: clamp(15px, 3vw, 40px);
  align-items: center;
}

.nav-menu li a {
  color: var(--color-white);
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 400;
  white-space: nowrap;
}

.nav-menu a {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 100%;
  letter-spacing: 0%;
}

.nav-menu li a:hover {
  opacity: 1;
  color: var(--color-primary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 883px;
  height: 100%;
  background-image: url(../images/hero-character.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom-left-radius: clamp(40px, 8vw, 108px);
  border-bottom-right-radius: clamp(40px, 8vw, 108px);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  margin-top: 20px;
}

.hero-badge {
  display: inline-block;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 15px 30px;
  border-radius: 30px;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
}

.hero-title {
  font-size: clamp(40px, 6vw, 91px);
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;

  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 32px);
  font-weight: 400;
  line-height: 100%;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   About Blender Section
   ========================================================================== */
.about-blender {
  padding: 40px 0;
  position: relative;
}

.video-wrapper {
  max-width: var(--container-width);
  margin: 0 auto;
}

.video-placeholder {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--color-dark);
  box-shadow: var(--shadow-card);
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.video-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(20px, 8vw, 108px);
}

.play-btn {
  position: relative;
  z-index: 2;
  transition: var(--transition);
  display: block;
  line-height: 0;
}

.play-btn:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.blender-blur {
  position: absolute;
  right: 0;
  bottom: -100px;
  z-index: -1;
}

/* ==========================================================================
   Who For Section
   ========================================================================== */
.who-for {
  padding: var(--section-padding) 0;
}

.who-for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 30px;
}

.who-for-item {
  display: contents;
}

.who-for-label {
  padding: 24px;
  border-radius: clamp(24px, 5vw, 47px);
  font-weight: 400;
  font-size: clamp(16px, 3vw, 24px);
  line-height: 132%;
  text-transform: uppercase;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: start;
  box-shadow: 0px 8px 18.6px 0px #00000040;
  display: flex;
  align-items: center;
  grid-row: 1;
}

.who-for-item:nth-child(1) .who-for-label {
  grid-column: 1;
}
.who-for-item:nth-child(2) .who-for-label {
  grid-column: 2;
}
.who-for-item:nth-child(3) .who-for-label {
  grid-column: 3;
}

.who-for-desc {
  grid-row: 2;
}

.who-for-item:nth-child(1) .who-for-desc {
  grid-column: 1;
}
.who-for-item:nth-child(2) .who-for-desc {
  grid-column: 2;
}
.who-for-item:nth-child(3) .who-for-desc {
  grid-column: 3;
}

.who-for-desc {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.who-for-desc .check-icon {
  flex-shrink: 0;
}

.who-for-desc p {
  font-weight: 400;
  font-size: clamp(14px, 2.5vw, 24px);
  line-height: 132%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #1e1e1e;
}

/* ==========================================================================
   Superpower Section
   ========================================================================== */
.superpower {
  padding: var(--section-padding) 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
  border-radius: clamp(30px, 6vw, 69px);
  z-index: -2;
}
.superpower > img {
  position: absolute;
  right: 0;
  top: -72px;
  z-index: -1;
}

.superpower .container:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.superpower-content {
  flex: 1;
}

.superpower-title {
  font-weight: 700;
  font-size: clamp(24px, 5vw, 54px);
  line-height: 110%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.superpower-subtitle {
  font-weight: 400;
  font-size: clamp(14px, 3vw, 24px);
  line-height: 130%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.superpower-text {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 150%;
  letter-spacing: 2%;
  color: #ffffffc9;
}

.superpower-image img {
  width: 100%;
  height: auto;
}

.benefits-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.benefit-card {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(16px, 3vw, 26px);
  line-height: 133%;
  letter-spacing: 2%;
  text-transform: uppercase;
  border: 1px solid var(--color-white);
  padding: clamp(24px, 4vw, 48px);
  flex: 1;
  box-shadow: 0px 8px 18.6px 0px #00000040;
  border-radius: clamp(24px, 4vw, 47px);
  text-align: center;
}

/* ==========================================================================
   Learn Section
   ========================================================================== */
.learn {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-top: 60px;
}

.learn-card {
  display: flex;
  flex-direction: column;
}
.blur {
  position: absolute;
  left: calc(50% - 50vw);
  z-index: -1;
  top: -200px;
}
.learn-card-large {
  grid-column: span 2;
  flex-direction: row;
}

.learn-card-large .learn-card-content {
  flex: 1;
  padding: 40px;
}

.learn-card-content {
  padding: 30px;
}

.learn-card-content h3 {
  font-weight: 600;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 110%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.learn-card-content p {
  font-weight: 400;
  font-size: clamp(14px, 2.5vw, 24px);
  line-height: 130%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #1e1e1ec4;
  margin-bottom: 26px;
}

.learn-card-image {
  position: relative;
  min-height: 200px;
}

.learn-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 37px;
}

.student-work {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: #3168f1;
  width: 215px;
  text-align: center;
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  padding: 20px 0;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
}
.student-work-left {
  left: auto;
  right: 15px;
}
.learn-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: underline;
}

.learn-link:hover {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Final Project Section
   ========================================================================== */
.final-project {
  padding: var(--section-padding) 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  border-radius: clamp(30px, 6vw, 69px);
}

.final-project-subtitle {
  font-weight: 400;
  font-size: clamp(14px, 3vw, 24px);
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
  margin-top: 36px;
  margin-bottom: clamp(30px, 6vw, 76px);
}

.final-project-image {
  border-radius: clamp(20px, 6vw, 87px);
  margin-bottom: 50px;
}

.final-project-image img {
  width: 100%;
  height: auto;
  border-radius: clamp(20px, 6vw, 87px);
}

.final-project-text {
  font-weight: 400;
  font-size: clamp(14px, 3vw, 24px);
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
}

/* ==========================================================================
   Certificate Section
   ========================================================================== */
.certificate {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.certificate-image {
  margin: 0 auto;
}
.certificate .section-title {
  text-align: center;
  margin-bottom: 80px;
}

.certificate-image img {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   Author Section
   ========================================================================== */
.author {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.author .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.author-content {
  flex: 1;
}

.author-label {
  font-weight: 700;
  font-size: clamp(20px, 4vw, 33px);
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.author-experience {
  font-weight: 400;
  font-size: clamp(14px, 3vw, 24px);
  line-height: 130%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #1e1e1e;
  margin-bottom: 15px;
}

.author-name {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.author-facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.author-facts li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.author-facts p {
  font-weight: 400;
  font-size: clamp(14px, 2.5vw, 24px);
  line-height: 132%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.author-brands {
  display: flex;
  align-items: center;
  gap: clamp(15px, 4vw, 52px);
}

.author-brands img {
  max-width: 100% !important;
  height: auto;
}

.author-brands img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.author-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* ==========================================================================
   Form Section
   ========================================================================== */
.form-section {
  padding: clamp(30px, 5vw, 62px) 0;
  background-color: var(--color-primary);
  border-radius: clamp(30px, 6vw, 69px);
  position: relative;
  margin-bottom: clamp(60px, 15vw, 215px);
  box-shadow: 0px 8px 18.6px 0px #00000040;
}

.form-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius);
  padding: 40px;
}

.form-content {
  flex: 1;
}

.form-title {
  font-weight: 700;
  font-size: clamp(24px, 5vw, 54px);
  line-height: 110%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.form-badge {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 16px 24px;
  font-weight: 400;
  font-size: clamp(18px, 4vw, 36px);
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  border-radius: 21px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
  max-width: 100%;
  text-align: center;
}

.form-text {
  color: var(--color-white);
  font-weight: 400;
  font-size: clamp(14px, 2.5vw, 24px);
  line-height: 130%;
  letter-spacing: 0%;
  text-transform: uppercase;
  max-width: 1080px;
  margin-bottom: clamp(30px, 5vw, 60px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 31px;
  max-width: 576px;
}

.form-group input {
  width: 100%;
  padding: clamp(16px, 3vw, 30px) clamp(20px, 3vw, 34px);
  background-color: var(--color-white);
  border-radius: clamp(24px, 4vw, 47px);
  font-weight: 300;
  font-size: clamp(16px, 2.5vw, 26px);
  line-height: 133%;
  letter-spacing: 2%;
  text-transform: uppercase;
  border: 1px solid #00000040;
  box-shadow: 0px 8px 18.6px 0px #00000040;
}

.form-group input::placeholder {
  color: var(--color-text-light);
}

.form-image {
  height: auto;
  position: absolute;
  right: 93px;
  bottom: -210px;
  transform: scale(0.8);
}

/* Form Success/Error states */
.form-message {
  padding: 15px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  text-align: center;
  margin-top: 15px;
}

.form-message.success {
  background-color: #4caf50;
  color: white;
}

.form-message.error {
  background-color: #f44336;
  color: white;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 40px 0;
  background-color: var(--color-white);
  border-top: 1px solid #eee;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: clamp(13px, 2vw, 20px);
  line-height: 100%;
  letter-spacing: 0%;
  color: #0000008f;
}
.footer-address span {
  display: flex;
}

.footer-address svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-phone {
  text-align: right;
}

.footer-phone a {
  display: block;
  font-weight: 700;
  font-size: clamp(16px, 3vw, 28px);
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #0000008f;
  margin-bottom: 5px;
}

.footer-phone a:hover {
  color: var(--color-primary);
}

.footer-phone span {
  font-weight: 400;
  font-size: clamp(13px, 2vw, 20px);
  line-height: 100%;
  letter-spacing: 0%;
  color: #0000008f;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(13, 13, 26, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-menu a {
  color: var(--color-white);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1400px) {
  .hero {
    background-size: 110%;
  }
}
@media (max-width: 1300px) {
  .superpower > img {
    max-width: 250px;
    top: -50px;
    z-index: -1;
  }

  .form-image {
    transform: scale(0.6);
    right: 20px;
    bottom: -150px;
  }
}
@media (max-width: 1200px) {
  .superpower > img {
    max-width: 200px;
    top: -50px;
  }

  .form-image {
    transform: scale(0.6);
    right: 20px;
    bottom: -150px;
  }
}

@media (max-width: 1024px) {
  .nav-menu,
  .header .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .blur {
    top: 100px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    width: 80%;
    text-align: center;
    margin: auto;
    margin-bottom: 30px;
  }

  .hero-title br {
    display: none;
  }
  .hero-blender {
    margin: auto;
  }
  .hero-blender img {
    margin: auto;
    text-align: center;
    width: 200px;
  }

  .hero-image {
    max-width: 400px;
  }

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

  .learn-card-large {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Все карточки: текст сверху, картинка снизу */
  .learn-card-large > .learn-card-content {
    order: -1 !important;
  }

  .learn-card-large > .learn-card-image {
    order: 0 !important;
  }

  .learn-card-large > .blur {
    order: 10 !important;
  }

  .learn-card-large {
    grid-column: span 1;
    flex-direction: column;
  }

  .learn-card-large .learn-card-content {
    padding: 20px;
  }

  .superpower .container:first-child {
    flex-direction: column;
    text-align: center;
  }

  .superpower > img {
    max-width: 180px;
    top: -30px;
    right: 0px;
  }

  .author .container {
    flex-direction: column;
  }

  .author-photo {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .author-brands img {
    width: auto;
    max-width: 120px !important;
  }

  .form-image {
    display: none;
  }

  .form-section {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 40px;
  }

  .hero {
    padding-bottom: 60px;
    padding-top: 80px;
    min-height: 50vh;
    background-position: center 0px;
    background-size: 150%;
  }

  .hero-content {
    width: 100%;
  }

  .hero .container {
    text-align: left;
    margin-top: 30px;
  }

  .hero-blender img {
    width: 100px;
    margin: 0;
  }
  .hero-blender {
    margin-top: 46px;
  }

  .play-btn svg {
    width: 60px;
    height: 60px;
  }

  .hero-badge {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 32px;
    text-align: start;
    margin: 0;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 140%;
  }

  .section-title {
    font-size: 22px;
    line-height: 120%;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .who-for-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .who-for-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .who-for-label {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 20px;
    grid-row: auto;
    grid-column: auto;
  }

  .who-for-desc {
    grid-row: auto;
    grid-column: auto;
  }

  .who-for-item:nth-child(1) .who-for-label,
  .who-for-item:nth-child(2) .who-for-label,
  .who-for-item:nth-child(3) .who-for-label,
  .who-for-item:nth-child(1) .who-for-desc,
  .who-for-item:nth-child(2) .who-for-desc,
  .who-for-item:nth-child(3) .who-for-desc {
    grid-column: auto;
    grid-row: auto;
  }

  .who-for-desc {
    gap: 10px;
  }

  .who-for-desc img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .who-for-desc p {
    font-size: 14px;
    line-height: 140%;
  }

  .superpower {
    border-radius: 30px;
  }

  .superpower-title {
    font-size: 22px;
  }

  .superpower-subtitle {
    font-size: 14px;
  }

  .superpower-text {
    font-size: 13px;
  }

  .benefits-row {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .benefit-card {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    border-radius: 20px;
  }

  .learn-card-content {
    padding: 15px 0;
  }

  .learn-card-content h3 {
    font-size: 18px;
  }

  .learn-card-content p {
    font-size: 14px;
    line-height: 140%;
  }

  .learn-card-image img {
    border-radius: 20px;
  }

  .final-project-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .final-project-text {
    font-size: 14px;
    line-height: 140%;
  }

  .certificate .section-title {
    margin-bottom: 30px;
  }

  .author-label {
    font-size: 18px;
  }

  .author-experience {
    font-size: 14px;
  }

  .author-name {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .author-facts {
    gap: 15px;
    margin-bottom: 30px;
  }

  .author-facts li {
    gap: 10px;
  }

  .author-facts li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .author-facts p {
    font-size: 14px;
    line-height: 140%;
  }

  .author-brands {
    justify-content: flex-start;
    gap: 20px;
  }

  .author-brands img {
    width: 90px !important;
  }

  .form-section {
    border-radius: 30px;
    margin-bottom: 40px;
  }

  .form-wrapper {
    flex-direction: column;
    padding: 20px 15px;
  }

  .form-title {
    font-size: 22px;
  }

  .form-badge {
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 15px;
  }

  .form-text {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 30px;
  }

  .contact-form {
    max-width: 100%;
    gap: 20px;
  }

  .form-group input {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 25px;
  }

  .btn-dark {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 25px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-address {
    align-items: center;
    font-size: 16px;
  }

  .footer-phone {
    text-align: center;
  }

  .footer-phone a {
    font-size: 24px;
  }

  .footer-phone span {
    font-size: 14px;
  }

  .blender-blur {
    display: none;
  }

  .blur {
    display: none;
  }

  .superpower > img {
    max-width: 150px;
    top: -35px;
    right: 0px;
  }
}

@media (max-width: 524px) {
  .hero {
    background-size: 200%;
  }
}

@media (max-width: 400px) {
  .hero {
    background-size: 220%;
  }
}

@media (max-width: 370px) {
  .hero {
    background-size: 270%;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 25px;
  }
  .author-brands img {
    width: 90px !important;
  }

  .container {
    padding: 0 15px;
  }

  .hero-badge {
    padding: 8px 14px;
    font-size: 11px;
    margin-bottom: 15px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .video-placeholder img {
    border-radius: 15px;
  }

  .play-btn svg {
    width: 50px;
    height: 50px;
  }

  .who-for-label {
    font-size: 14px;
    padding: 14px 16px;
  }

  .who-for-desc p {
    font-size: 13px;
  }

  .superpower-title {
    font-size: 20px;
  }

  .benefit-card {
    font-size: 14px;
    padding: 16px;
  }

  .learn-card-content h3 {
    font-size: 16px;
  }

  .learn-card-content p {
    font-size: 13px;
  }

  .learn-card-image {
    min-height: 150px;
  }

  .learn-card-image img {
    border-radius: 15px;
  }

  .student-work {
    font-size: 8px;
    padding: 5px 8px;
    border-radius: 10px;
  }

  .final-project-subtitle,
  .final-project-text {
    font-size: 13px;
  }

  .author-name {
    font-size: 24px;
  }

  .author-brands img {
    max-width: 70px !important;
  }

  .form-title {
    font-size: 20px;
  }

  .form-badge {
    font-size: 16px;
    padding: 10px 16px;
  }

  .form-text {
    font-size: 13px;
  }

  .form-group input {
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 20px;
  }

  .btn-dark {
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 20px;
  }

  .footer-phone a {
    font-size: 20px;
  }

  .footer-phone span,
  .footer-address {
    font-size: 14px;
  }

  .superpower > img {
    display: none;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Loading State
   ========================================================================== */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2854d4 100%);
  color: var(--color-white);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow:
    0 10px 40px rgba(49, 104, 241, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 90%;
  width: auto;
  min-width: 320px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.toast-icon svg {
  width: 28px;
  height: 28px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.toast-message {
  font-size: 14px;
  opacity: 0.9;
}

.toast-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
  .toast {
    min-width: auto;
    width: calc(100% - 30px);
    padding: 16px;
    gap: 12px;
  }

  .toast-icon {
    width: 40px;
    height: 40px;
  }

  .toast-icon svg {
    width: 22px;
    height: 22px;
  }

  .toast-title {
    font-size: 16px;
  }

  .toast-message {
    font-size: 13px;
  }
}
