:root {
   --bg-primary: #0a0a0f;
   --bg-secondary: #0f0f17;
   --bg-card: rgba(255, 255, 255, 0.03);
   --bg-card-hover: rgba(255, 255, 255, 0.06);
   --bg-glass: rgba(255, 255, 255, 0.04);
   --bg-glass-hover: rgba(255, 255, 255, 0.07);
   --border-subtle: rgba(255, 255, 255, 0.07);
   --border-hover: rgba(255, 255, 255, 0.14);

   --accent: #7c3aed;
   --accent-light: #a78bfa;
   --accent-dark: #5b21b6;
   --accent-glow: rgba(124, 58, 237, 0.2);
   --accent-bg: rgba(124, 58, 237, 0.06);

   --text-primary: #e8e8ed;
   --text-secondary: #8b8fa3;
   --text-muted: #555770;
   --text-accent: var(--accent-light);

   --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);

   --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
   --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
   --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
   --shadow-glow: 0 0 20px var(--accent-glow);

   --font-heading:
      -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
      Helvetica, Arial, sans-serif;
   --font-body:
      -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
      Helvetica, Arial, sans-serif;

   --section-padding: clamp(4rem, 8vw, 7rem);
   --container-width: 1140px;
   --container-padding: clamp(1.25rem, 4vw, 2rem);

   --radius-sm: 8px;
   --radius-md: 12px;
   --radius-lg: 16px;
   --radius-xl: 20px;
   --radius-full: 9999px;

   --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
   --transition-fast: 0.2s var(--ease-out);
   --transition-normal: 0.35s var(--ease-out);
   --transition-slow: 0.6s var(--ease-out);

   --z-nav: 1000;
   --z-modal: 2000;
}

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

html {
   scroll-behavior: smooth;
   font-size: 16px;
   -webkit-text-size-adjust: 100%;
   scrollbar-width: thin;
   scrollbar-color: rgba(124, 58, 237, 0.4) var(--bg-secondary);
   overflow-x: hidden;
   width: 100%;
}

html::-webkit-scrollbar {
   width: 6px;
}
html::-webkit-scrollbar-track {
   background: var(--bg-secondary);
}
html::-webkit-scrollbar-thumb {
   background: rgba(124, 58, 237, 0.4);
   border-radius: var(--radius-full);
}

body {
   font-family: var(--font-body);
   background: var(--bg-primary);
   color: var(--text-primary);
   line-height: 1.6;
   overflow-x: hidden;
   width: 100%;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

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

a {
   color: var(--text-accent);
   text-decoration: none;
   transition: color var(--transition-fast);
}
a:hover {
   color: var(--accent-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   font-weight: 600;
   line-height: 1.2;
   color: var(--text-primary);
   letter-spacing: -0.02em;
}

/* GRIDS */
.grid-2x2 {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1.5rem;
}
@media (min-width: 768px) {
   .grid-2x2 {
      grid-template-columns: repeat(2, 1fr);
   }
}

.flex-grid-center {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 1rem;
}
.flex-grid-center > * {
   flex: 1 1 280px;
   max-width: 450px;
}

.container {
   width: 100%;
   max-width: var(--container-width);
   margin: 0 auto;
   padding: 0 var(--container-padding);
}

.section {
   padding: var(--section-padding) 0;
   position: relative;
}

.section__badge {
   display: inline-flex;
   align-items: center;
   gap: 0.4rem;
   padding: 0.35rem 0.9rem;
   background: var(--accent-bg);
   border: 1px solid rgba(124, 58, 237, 0.15);
   border-radius: var(--radius-full);
   font-size: 0.75rem;
   font-weight: 600;
   color: var(--accent-light);
   letter-spacing: 0.04em;
   text-transform: uppercase;
   margin-bottom: 1rem;
}

.section__title {
   font-size: clamp(1.8rem, 4vw, 2.8rem);
   font-weight: 700;
   margin-bottom: 0.8rem;
   letter-spacing: -0.025em;
}

.section__subtitle {
   font-size: clamp(0.95rem, 1.8vw, 1.1rem);
   color: var(--text-secondary);
   max-width: 560px;
   line-height: 1.65;
}

.section__header {
   text-align: center;
   margin-bottom: 3rem;
}

.section__header .section__subtitle {
   margin: 0 auto;
}

.nav {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: var(--z-nav);
   padding: 0.9rem 0;
   transition: all var(--transition-normal);
}

.nav.scrolled {
   background: rgba(10, 10, 15, 0.88);
   backdrop-filter: blur(20px) saturate(180%);
   -webkit-backdrop-filter: blur(20px) saturate(180%);
   border-bottom: 1px solid var(--border-subtle);
   padding: 0.55rem 0;
}

.nav__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 2rem;
}

.nav__logo {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   cursor: pointer;
   flex-shrink: 0;
}

.nav__logo img {
   height: 32px;
   width: auto;
}

.nav__links {
   display: flex;
   align-items: center;
   gap: 1.6rem;
   list-style: none;
}

.nav__link {
   font-size: 0.88rem;
   font-weight: 500;
   color: var(--text-secondary);
   transition: color var(--transition-fast);
   position: relative;
}

.nav__link::after {
   content: "";
   position: absolute;
   bottom: -4px;
   left: 0;
   width: 0;
   height: 1.5px;
   background: var(--accent);
   border-radius: var(--radius-full);
   transition: width var(--transition-normal);
}

.nav__link:hover,
.nav__link.active {
   color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
   width: 100%;
}

.nav__actions {
   display: flex;
   align-items: center;
   gap: 0.6rem;
}

.nav__cta {
   font-size: 0.85rem;
   font-weight: 600;
   color: #ffffff;
   padding: 0.5rem 1.2rem;
   background: var(--accent);
   border: none;
   border-radius: var(--radius-full);
   box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
   transition: all var(--transition-fast);
}

.nav__cta:hover {
   background: var(--accent-light);
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
   color: #ffffff;
}

.nav__school-link {
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--text-primary);
   padding: 0.45rem 1.1rem;
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: var(--radius-full);
   transition: all var(--transition-fast);
}

.nav__school-link:hover {
   color: #ffffff;
   border-color: rgba(255, 255, 255, 0.6);
   background: rgba(255, 255, 255, 0.15);
}

.nav__hamburger {
   display: none;
   flex-direction: column;
   justify-content: center;
   gap: 5px;
   width: 40px;
   height: 40px;
   cursor: pointer;
   background: var(--bg-glass);
   border: 1px solid var(--border-subtle);
   border-radius: var(--radius-md);
   padding: 10px;
   transition: all var(--transition-fast);
   position: relative;
   z-index: calc(var(--z-nav) + 2);
}

.nav__hamburger span {
   display: block;
   width: 100%;
   height: 2px;
   background: var(--text-primary);
   border-radius: var(--radius-full);
   transition: all 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
   transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.active span:nth-child(2) {
   opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
   transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
   display: flex;
   position: fixed;
   top: 0;
   right: -100%;
   width: 100%;
   max-width: 320px;
   height: 100vh;
   background: rgba(10, 10, 15, 0.98);
   border-left: 1px solid var(--border-subtle);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   z-index: calc(var(--z-nav) + 1);
   flex-direction: column;
   align-items: flex-start;
   justify-content: flex-start;
   padding: 100px 2rem 2rem;
   gap: 1.5rem;
   transition: right 0.4s var(--ease-out);
}

.nav__mobile.active {
   right: 0;
   box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.nav__mobile a {
   font-family: var(--font-heading);
   font-size: 1.4rem;
   font-weight: 600;
   color: var(--text-primary);
   transition:
      color 0.3s ease,
      transform 0.4s var(--ease-out),
      opacity 0.4s ease;
   transform: translateX(30px);
   opacity: 0;
}
.nav__mobile a:hover {
   color: var(--accent-light);
}
.nav__mobile.active a {
   transform: translateX(0);
   opacity: 1;
}

.nav__mobile.active a:nth-child(1) {
   transition-delay: 0.1s;
}
.nav__mobile.active a:nth-child(2) {
   transition-delay: 0.15s;
}
.nav__mobile.active a:nth-child(3) {
   transition-delay: 0.2s;
}
.nav__mobile.active a:nth-child(4) {
   transition-delay: 0.25s;
}
.nav__mobile.active a:nth-child(5) {
   transition-delay: 0.3s;
}
.nav__mobile.active a:nth-child(6) {
   transition-delay: 0.35s;
}
.nav__mobile.active a:nth-child(7) {
   transition-delay: 0.4s;
}
.nav__mobile.active a:nth-child(8) {
   transition-delay: 0.45s;
}
.nav__mobile.active a:nth-child(9) {
   transition-delay: 0.5s;
}

.hero {
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
   padding-top: 70px;
}

.hero__video-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.45;
   filter: brightness(0.6);
}

.hero__overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(
      180deg,
      rgba(10, 10, 15, 0.3) 0%,
      rgba(10, 10, 15, 0.55) 50%,
      var(--bg-primary) 100%
   );
}

.hero__content {
   position: relative;
   z-index: 2;
   text-align: center;
   max-width: 720px;
   padding: 0 var(--container-padding);
}

.hero__title {
   font-size: clamp(2.2rem, 6vw, 4rem);
   font-weight: 700;
   line-height: 1.1;
   margin-bottom: 1.2rem;
   letter-spacing: -0.03em;
}

.hero__title span {
   background: var(--gradient-accent);
   -webkit-background-clip: text;
   background-clip: text;
   -webkit-text-fill-color: transparent;
}

.hero__description {
   font-size: clamp(0.95rem, 2vw, 1.15rem);
   color: var(--text-secondary);
   margin-bottom: 2rem;
   line-height: 1.7;
}

.hero__cta-group {
   display: flex;
   flex-wrap: wrap;
   gap: 0.8rem;
   justify-content: center;
}

.btn {
   display: inline-flex;
   align-items: center;
   gap: 0.4rem;
   padding: 0.7rem 1.6rem;
   font-family: var(--font-body);
   font-size: 0.9rem;
   font-weight: 500;
   border-radius: var(--radius-full);
   border: none;
   cursor: pointer;
   transition: all var(--transition-fast);
   text-decoration: none;
}

.btn--primary {
   background: var(--gradient-accent);
   color: #fff;
   box-shadow: 0 0 16px var(--accent-glow);
}

.btn--primary:hover {
   transform: translateY(-1px);
   box-shadow: 0 0 24px var(--accent-glow);
   color: #fff;
}

.btn--ghost {
   background: var(--bg-glass);
   color: var(--text-primary);
   border: 1px solid var(--border-subtle);
   backdrop-filter: blur(10px);
}

.btn--ghost:hover {
   background: var(--bg-glass-hover);
   border-color: var(--border-hover);
   transform: translateY(-1px);
   color: var(--text-primary);
}

.btn--sm {
   padding: 0.45rem 1rem;
   font-size: 0.82rem;
}

.card {
   background: var(--bg-card);
   border: 1px solid var(--border-subtle);
   border-radius: var(--radius-lg);
   padding: 1.5rem;
   transition: all var(--transition-normal);
   position: relative;
}

.card:hover {
   border-color: var(--border-hover);
   transform: translateY(-2px);
   box-shadow: var(--shadow-md);
}

.card__icon {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 44px;
   height: 44px;
   border-radius: var(--radius-md);
   background: var(--accent-bg);
   color: var(--accent-light);
   font-size: 1.2rem;
   margin-bottom: 0.8rem;
}

.card__title {
   font-size: 1.05rem;
   font-weight: 600;
   margin-bottom: 0.4rem;
}

.card__text {
   font-size: 0.88rem;
   color: var(--text-secondary);
   line-height: 1.6;
}

.card--expandable {
   cursor: pointer;
}

.card--expandable .card__expand-content {
   max-height: 0;
   overflow: hidden;
   transition:
      max-height 0.5s var(--ease-out),
      opacity 0.3s ease;
   opacity: 0;
}

.card--expandable.expanded .card__expand-content {
   max-height: 500px;
   opacity: 1;
   margin-top: 0.8rem;
   padding-top: 0.8rem;
   border-top: 1px solid var(--border-subtle);
}

.card--expandable .card__toggle-hint {
   font-size: 0.72rem;
   color: var(--text-muted);
   margin-top: 0.5rem;
   transition: color var(--transition-fast);
}

.card--expandable:hover .card__toggle-hint {
   color: var(--accent-light);
}

.stats {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
   gap: 1rem;
}

@media (max-width: 768px) {
   .stats {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 0.6rem;
   }
   .stat {
      padding: 1.2rem 0.5rem;
   }
}

.stat {
   text-align: center;
   padding: 1.8rem 1rem;
   background: var(--bg-glass);
   border: 1px solid var(--border-subtle);
   border-radius: var(--radius-lg);
   transition: all var(--transition-normal);
}

.stat:hover {
   border-color: rgba(124, 58, 237, 0.2);
   transform: translateY(-2px);
}

.stat__number {
   font-family: var(--font-heading);
   font-size: clamp(1.8rem, 4vw, 2.6rem);
   font-weight: 700;
   color: var(--accent-light);
   line-height: 1;
   margin-bottom: 0.4rem;
}

.stat__label {
   font-size: 0.82rem;
   color: var(--text-secondary);
   font-weight: 500;
}

.video-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   gap: 1.2rem;
}

@media (max-width: 768px) {
   .video-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 0.8rem;
   }
   .video-card__title {
      font-size: 0.85rem;
   }
}

.video-card {
   background: var(--bg-card);
   border: 1px solid var(--border-subtle);
   border-radius: var(--radius-lg);
   overflow: hidden;
   transition: all var(--transition-normal);
   cursor: pointer;
}

.video-card:hover {
   border-color: var(--border-hover);
   transform: translateY(-3px);
   box-shadow: var(--shadow-md);
}

.video-card__thumbnail {
   position: relative;
   aspect-ratio: 16/9;
   overflow: hidden;
}

.video-card__thumbnail img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform var(--transition-normal);
}

.video-card:hover .video-card__thumbnail img {
   transform: scale(1.03);
}

.video-card__play-btn {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 52px;
   height: 52px;
   background: rgba(124, 58, 237, 0.9);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   font-size: 1.1rem;
   opacity: 0;
   transition: all var(--transition-fast);
}

.video-card:hover .video-card__play-btn {
   opacity: 1;
}

.video-card__info {
   padding: 0.9rem 1.1rem;
}

.video-card__title {
   font-size: 0.9rem;
   font-weight: 600;
   line-height: 1.4;
   margin-bottom: 0.3rem;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.video-card__meta {
   font-size: 0.78rem;
   color: var(--text-muted);
}

.video-feature {
   position: relative;
   border-radius: var(--radius-xl);
   overflow: hidden;
   background: var(--bg-card);
   border: 1px solid var(--border-subtle);
   box-shadow: var(--shadow-md);
   aspect-ratio: 16/9;
}

.video-feature iframe {
   width: 100%;
   height: 100%;
   border: none;
}

.marquee {
   overflow: hidden;
   background: var(--accent-bg);
   border-top: 1px solid rgba(124, 58, 237, 0.1);
   border-bottom: 1px solid rgba(124, 58, 237, 0.1);
   padding: 0.7rem 0;
}

.marquee__track {
   display: flex;
   animation: marquee-scroll 30s linear infinite;
   width: max-content;
}

.marquee__item {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0 2rem;
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--text-primary);
   white-space: nowrap;
}

.marquee__item .dot {
   width: 5px;
   height: 5px;
   background: var(--accent);
   border-radius: 50%;
   flex-shrink: 0;
}

@keyframes marquee-scroll {
   0% {
      transform: translateX(0);
   }
   100% {
      transform: translateX(-50%);
   }
}

.marquee:hover .marquee__track {
   animation-play-state: paused;
}

.project {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2.5rem;
   align-items: center;
   padding: 2.5rem 0;
}

.project:nth-child(even) {
   direction: rtl;
}
.project:nth-child(even) > * {
   direction: ltr;
}

.project__image {
   border-radius: var(--radius-xl);
   overflow: hidden;
   position: relative;
   aspect-ratio: 4/3;
}

.project__image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform var(--transition-slow);
}

.project__image:hover img {
   transform: scale(1.03);
}

.project__content {
   display: flex;
   flex-direction: column;
   gap: 0.8rem;
}

.project__tag {
   display: inline-flex;
   align-items: center;
   gap: 0.3rem;
   font-size: 0.72rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: var(--accent-light);
   background: var(--accent-bg);
   padding: 0.25rem 0.7rem;
   border-radius: var(--radius-full);
   width: fit-content;
}

.project__title {
   font-size: clamp(1.3rem, 2.5vw, 1.8rem);
   font-weight: 700;
}

.project__description {
   font-size: 0.95rem;
   color: var(--text-secondary);
   line-height: 1.7;
}

.carousel {
   position: relative;
   overflow: hidden;
   border-radius: var(--radius-xl);
}

.carousel__track {
   display: flex;
   transition: transform 0.5s var(--ease-out);
}

.carousel__slide {
   min-width: 100%;
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
}

.carousel__slide img {
   width: 100%;
   aspect-ratio: 16/9;
   object-fit: contain;
   background: var(--bg);
   border-radius: var(--radius-md);
}

@media (max-width: 768px) {
   .carousel__slide img {
      aspect-ratio: 4/5;
   }
}

.carousel__btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: rgba(0, 0, 0, 0.45);
   backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, 0.08);
   color: #fff;
   font-size: 1.1rem;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all var(--transition-fast);
   z-index: 5;
}

.carousel__btn:hover {
   background: var(--accent);
   border-color: var(--accent);
}

.carousel__btn--prev {
   left: 1rem;
}
.carousel__btn--next {
   right: 1rem;
}

.carousel__dots {
   display: flex;
   justify-content: center;
   gap: 0.4rem;
   padding: 0.8rem;
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
}

.carousel__dot {
   width: 7px;
   height: 7px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.25);
   border: none;
   cursor: pointer;
   transition: all var(--transition-fast);
}

.carousel__dot.active {
   background: var(--accent);
   width: 20px;
   border-radius: var(--radius-full);
}

.cta-section {
   text-align: center;
   padding: var(--section-padding) 0;
   position: relative;
   overflow: hidden;
}

.cta-section__title {
   font-size: clamp(1.6rem, 3.5vw, 2.4rem);
   font-weight: 700;
   margin-bottom: 0.8rem;
   position: relative;
}

.cta-section__text {
   font-size: 1rem;
   color: var(--text-secondary);
   margin-bottom: 2rem;
   position: relative;
}

.faq-list {
   max-width: 680px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 0.6rem;
}

.faq-item {
   background: var(--bg-card);
   border: 1px solid var(--border-subtle);
   border-radius: var(--radius-md);
   overflow: hidden;
   transition: border-color var(--transition-fast);
}

.faq-item:hover,
.faq-item.active {
   border-color: var(--border-hover);
}

.faq-item__question {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   padding: 1.1rem 1.3rem;
   background: none;
   border: none;
   color: var(--text-primary);
   font-family: var(--font-body);
   font-size: 0.92rem;
   font-weight: 500;
   text-align: left;
   cursor: pointer;
   gap: 1rem;
}

.faq-item__icon {
   font-size: 1.1rem;
   color: var(--text-muted);
   transition: transform 0.3s ease;
   flex-shrink: 0;
}

.faq-item.active .faq-item__icon {
   transform: rotate(45deg);
   color: var(--accent-light);
}

.faq-item__answer {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.4s var(--ease-out);
}

.faq-item.active .faq-item__answer {
   max-height: 500px;
}

.faq-item__answer-inner {
   padding: 0 1.3rem 1.1rem;
   font-size: 0.88rem;
   color: var(--text-secondary);
   line-height: 1.7;
}

.social-bar {
   display: flex;
   justify-content: center;
   gap: 0.8rem;
   flex-wrap: wrap;
}

.social-bar__link {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 44px;
   height: 44px;
   border-radius: var(--radius-md);
   background: var(--bg-glass);
   border: 1px solid var(--border-subtle);
   color: var(--text-secondary);
   font-size: 1.1rem;
   transition: all var(--transition-fast);
}

.social-bar__link:hover {
   background: var(--accent-bg);
   border-color: rgba(124, 58, 237, 0.25);
   color: var(--accent-light);
   transform: translateY(-2px);
}

.social-bar__link svg {
   width: 18px;
   height: 18px;
   fill: currentColor;
}

.footer {
   padding: 3rem 0 1.5rem;
   border-top: 1px solid var(--border-subtle);
}

.footer__inner {
   display: flex;
   flex-direction: column;
   gap: 2rem;
}

.footer__top {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 2rem;
   flex-wrap: wrap;
}

.footer__brand {
   max-width: 320px;
}

.footer__brand img {
   height: 28px;
   width: auto;
   margin-bottom: 0.8rem;
}

.footer__brand p {
   font-size: 0.85rem;
   color: var(--text-secondary);
   line-height: 1.6;
}

.footer__columns {
   display: flex;
   gap: 3rem;
   flex-wrap: wrap;
   margin-right: max(4vw, 2rem);
}

.footer__heading {
   font-size: 0.78rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: var(--text-primary);
   margin-bottom: 0.7rem;
}

.footer__links {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
}

.footer__links a {
   font-size: 0.85rem;
   color: var(--text-secondary);
   transition: color var(--transition-fast);
}
.footer__links a:hover {
   color: var(--accent-light);
}

.footer__social {
   display: flex;
   gap: 0.6rem;
   margin-top: 0.4rem;
}

.footer__social a {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 34px;
   height: 34px;
   border-radius: var(--radius-sm);
   background: var(--bg-glass);
   border: 1px solid var(--border-subtle);
   color: var(--text-secondary);
   transition: all var(--transition-fast);
   font-size: 0.9rem;
}

.footer__social a:hover {
   color: var(--accent-light);
   border-color: rgba(124, 58, 237, 0.2);
}

.footer__social a svg {
   width: 15px;
   height: 15px;
   fill: currentColor;
   flex-shrink: 0;
}

.footer__bottom {
   padding-top: 1.5rem;
   border-top: 1px solid var(--border-subtle);
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 0.8rem;
}

.footer__copyright {
   font-size: 0.78rem;
   color: var(--text-muted);
}

.footer__credit {
   font-size: 0.68rem;
   color: rgba(136, 143, 163, 0.12);
   transition: color 0.6s ease;
}
.footer__credit:hover {
   color: var(--text-muted);
}

.news-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   gap: 1.2rem;
}

.news-card {
   background: var(--bg-card);
   border: 1px solid var(--border-subtle);
   border-radius: var(--radius-lg);
   padding: 1.3rem;
   transition: all var(--transition-normal);
}

.news-card:hover {
   border-color: var(--border-hover);
   transform: translateY(-2px);
   box-shadow: var(--shadow-sm);
}

.news-card__date {
   font-size: 0.72rem;
   color: var(--accent-light);
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.04em;
   margin-bottom: 0.4rem;
}

.news-card__title {
   font-size: 1rem;
   font-weight: 600;
   margin-bottom: 0.4rem;
}

.news-card__text {
   font-size: 0.88rem;
   color: var(--text-secondary);
   line-height: 1.6;
}

.reveal {
   opacity: 0;
   transform: translateY(20px);
}
.reveal.revealed {
   opacity: 1;
   transform: translateY(0);
}

@media (max-width: 1024px) {
   .footer__top {
      flex-direction: column;
      align-items: center;
      text-align: center;
   }
   .footer__brand {
      display: flex;
      flex-direction: column;
      align-items: center;
   }
   .footer__columns {
      justify-content: center;
      text-align: center;
      margin-right: 0;
      width: 100%;
   }
   .footer__links {
      align-items: center;
   }
   .footer__social {
      justify-content: center;
   }
   .project {
      grid-template-columns: 1fr;
      gap: 1.5rem;
   }
   .project:nth-child(even) {
      direction: ltr;
   }
}

@media (max-width: 768px) {
   .nav__links {
      display: none;
   }
   .nav__actions {
      display: none;
   }
   .nav__hamburger {
      display: flex;
   }
   .hero__title {
      font-size: clamp(1.8rem, 7vw, 2.6rem);
   }
   .hero__cta-group {
      flex-direction: column;
      align-items: center;
   }
   .stats {
      grid-template-columns: repeat(2, 1fr);
   }
   .video-grid {
      grid-template-columns: 1fr;
   }
   .footer__columns {
      gap: 2rem;
   }
   .footer__bottom {
      flex-direction: column;
      text-align: center;
   }
   .news-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 480px) {
   .stats {
      grid-template-columns: 1fr;
   }
   .section__title {
      font-size: clamp(1.5rem, 6vw, 2rem);
   }
   .card {
      padding: 1.1rem;
   }
}

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

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}
