/* ============================================
   AWWWARDS-LEVEL DESIGN SYSTEM
   World's Best Interactive Experience 2026
   ============================================ */

/* Color Palette */
:root {
  --primary-coral: #EB6F46;
  --light-beige: #E9E7E0;
  --warm-tan: #E3C5B2;
  --deep-red: #A72218;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --white: #ffffff;
  --black: #000000;
}

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

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--primary-coral);
  color: var(--white);
}

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-coral);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.15s ease;
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(235, 111, 70, 0.3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor.cursor-hover {
  width: 60px;
  height: 60px;
  background: rgba(235, 111, 70, 0.1);
  border-color: var(--white);
}

/* Smooth Scroll Container */
#smooth-wrapper {
  overflow: hidden;
}

#smooth-content {
  will-change: transform;
}

/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-text {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  color: var(--white);
  overflow: hidden;
}

.loader-text span {
  display: inline-block;
  transform: translateY(100%);
}

.loader-progress {
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  background: var(--primary-coral);
  width: 0%;
  transition: width 0.3s ease;
}

/* Navigation - Award Winning */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 5%;
  mix-blend-mode: difference;
}

nav .container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

nav .logo::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-coral);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

nav .logo:hover::before {
  transform: translateX(0);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

nav ul li {
  overflow: hidden;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

nav ul li a::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--primary-coral);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

nav ul li a:hover::before {
  transform: translateY(0);
}

nav ul li a:hover {
  color: transparent;
}

/* Hero Section - Mind-Blowing */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1400px;
  padding: 0 5%;
}

.hero-title {
  font-size: clamp(3rem, 12vw, 15rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero-title .line {
  overflow: hidden;
  display: block;
}

.hero-title .line span {
  display: inline-block;
  transform: translateY(100%);
  will-change: transform;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--primary-coral);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
}

.scroll-indicator-line {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 1rem;
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--primary-coral);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

.scroll-indicator-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* Magnetic Buttons */
.btn-magnetic {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: transparent;
  border: 2px solid var(--primary-coral);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  will-change: transform;
}

.btn-magnetic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-coral);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}

.btn-magnetic:hover::before {
  transform: translateY(0);
}

.btn-magnetic:hover {
  color: var(--white);
  border-color: var(--primary-coral);
}

/* Section Styling */
section {
  min-height: 100vh;
  padding: 10rem 5%;
  position: relative;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-light {
  background: var(--white);
  color: var(--text-dark);
}

/* Section Titles */
.section-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4rem;
  overflow: hidden;
}

.section-title .word {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.3em;
}

.section-title .char {
  display: inline-block;
  transform: translateY(100%);
  will-change: transform;
}

/* Projects Grid - Award Winning Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.project-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  cursor: none;
  aspect-ratio: 4/3;
}

.project-card:nth-child(2n) {
  margin-top: 10rem;
}

.project-card-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-coral), var(--deep-red));
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.project-card:hover .project-card-image {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-title {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.project-card:hover .project-card-title {
  transform: translateY(0);
}

.project-card-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1) 0.1s;
}

.project-card:hover .project-card-tags {
  transform: translateY(0);
}

.project-tag {
  padding: 0.5rem 1rem;
  background: rgba(235, 111, 70, 0.2);
  border: 1px solid var(--primary-coral);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Text Reveal Effect */
.reveal-text {
  overflow: hidden;
  display: inline-block;
}

.reveal-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

/* Parallax Images */
.parallax-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.parallax-image {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

/* Split Text Animation */
.split-text {
  overflow: hidden;
}

.split-text .line {
  overflow: hidden;
  display: block;
}

.split-text .word {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.3em;
}

.split-text .char {
  display: inline-block;
  transform: translateY(100%) rotate(10deg);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Marquee Effect */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  gap: 2rem;
  min-width: 100%;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee-item {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-coral);
  white-space: nowrap;
}

/* Image Reveal on Scroll */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-coral);
  transform-origin: left;
  transform: scaleX(1);
}

.img-reveal.revealed::after {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Stagger Grid */
.stagger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.stagger-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 5rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-coral);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.8rem;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .project-card {
    grid-column: span 12;
    margin-top: 0 !important;
  }

  nav ul {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  nav ul {
    display: none;
  }

  section {
    padding: 5rem 5%;
  }

  .hero-title {
    font-size: 15vw;
  }
}

/* Horizontal Scroll Sections */
.horizontal-section {
  overflow: hidden;
}

.horizontal-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-coral) rgba(255,255,255,0.1);
  padding: 2rem 0;
  width: 100%;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary-coral);
  border-radius: 10px;
}

.horizontal-scroll-content {
  display: flex;
  flex-wrap: nowrap;
  gap: 3rem;
  padding: 0 5% 2rem;
  width: max-content;
}

/* Product Category */
.product-category {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-shrink: 0;
  min-width: max-content;
}

.category-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary-coral);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.product-item {
  width: 320px;
  min-width: 320px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  border: 1px solid rgba(255,255,255,0.05);
}

.product-item.large-item {
  width: 400px;
  min-width: 400px;
}

.product-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-coral);
}

.product-item.coming-soon {
  opacity: 0.6;
}

.product-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.parallax-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--white);
  font-weight: 600;
}

.product-info p {
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.product-tags span {
  padding: 0.3rem 0.8rem;
  background: rgba(235, 111, 70, 0.2);
  border: 1px solid var(--primary-coral);
  border-radius: 16px;
  font-size: 0.75rem;
  color: var(--primary-coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-link {
  color: var(--primary-coral);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  font-size: 0.9rem;
}

.product-link:hover {
  color: var(--white);
}

/* Social Grid - Primary Platforms */
.social-primary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-card-primary {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-card-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-coral), var(--deep-red));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.social-card-primary:hover::before {
  opacity: 0.05;
}

.social-card-primary:hover {
  transform: translateY(-8px);
  border-color: var(--primary-coral);
  box-shadow: 0 15px 40px rgba(235, 111, 70, 0.2);
}

.social-icon-large {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-coral);
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.social-card-primary:hover .social-icon-large {
  transform: scale(1.15) rotate(5deg);
}

.social-info-primary h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
  font-weight: 600;
}

.social-info-primary p {
  color: var(--primary-coral);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.social-info-primary .social-stats {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Social Secondary - Mini Icons */
.social-secondary-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(0,0,0,0.05);
}

.social-secondary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.social-icon-mini {
  width: 60px;
  height: 60px;
  background: var(--white);
  border: 2px solid rgba(235, 111, 70, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  position: relative;
}

.social-icon-mini::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: var(--white);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}

.social-icon-mini:hover {
  transform: translateY(-5px);
  border-color: var(--primary-coral);
  box-shadow: 0 8px 20px rgba(235, 111, 70, 0.15);
}

.social-icon-mini:hover::after {
  opacity: 1;
  bottom: -35px;
}

/* Blog Auto Horizontal Scroll */
.blog-pin-wrapper {
  position: relative;
  width: 100%;
  padding: 5rem 0;
}

.blog-horizontal-container {
  overflow: hidden;
  width: 100%;
}

.blog-scroll-content {
  display: flex;
  gap: 2rem;
  padding: 0 5%;
  will-change: transform;
}

.blog-card {
  width: 450px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  border: 1px solid rgba(255,255,255,0.1);
}

.blog-card.featured {
  width: 600px;
  border-color: var(--primary-coral);
}

.blog-card.view-all {
  background: rgba(235, 111, 70, 0.1);
  border: 2px dashed var(--primary-coral);
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-coral);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.blog-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-content {
  padding: 2rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(235, 111, 70, 0.2);
  border: 1px solid var(--primary-coral);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--primary-coral);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-content p {
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-coral);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--white);
}

/* Bookmarks Grid */
.bookmarks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.bookmark-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.bookmark-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bookmark-item {
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.bookmark-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary-coral);
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.bookmark-item:hover::before {
  transform: scaleY(1);
}

.bookmark-item:hover {
  transform: translateX(10px);
  border-color: var(--primary-coral);
  box-shadow: 0 10px 30px rgba(235, 111, 70, 0.1);
}

.bookmark-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.bookmark-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Parallax Effects */
.parallax-section {
  position: relative;
  will-change: transform;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  will-change: transform;
}

/* Split Screen Layout */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  min-height: 100vh;
}

.split-screen-content {
  padding: 3rem;
}

.split-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale on Scroll */
.scale-on-scroll {
  transform: scale(0.9);
  opacity: 0;
  transition: all 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.scale-on-scroll.revealed {
  transform: scale(1);
  opacity: 1;
}

/* Floating Elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-coral), var(--deep-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Morphism */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

/* Animated Border */
.animated-border {
  position: relative;
  overflow: hidden;
}

.animated-border::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    var(--primary-coral),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
}

.animated-border::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--black);
  border-radius: inherit;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Performance Optimizations */
.will-change {
  will-change: transform, opacity;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .horizontal-scroll-content {
    gap: 2rem;
  }

  .product-item {
    width: 280px;
    min-width: 280px;
  }

  .product-item.large-item {
    width: 350px;
    min-width: 350px;
  }

  .blog-card {
    width: 350px;
  }

  .blog-card.featured {
    width: 450px;
  }

  .social-primary-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .split-screen {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .horizontal-scroll-content,
  .blog-scroll-content {
    padding: 0 5% 1rem;
    gap: 1.5rem;
  }

  .product-item {
    width: 260px;
    min-width: 260px;
  }

  .product-item.large-item {
    width: 280px;
    min-width: 280px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-info h3 {
    font-size: 1.2rem;
  }

  .product-info p {
    font-size: 0.9rem;
  }

  .blog-card {
    width: 280px;
  }

  .blog-card.featured {
    width: 300px;
  }

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

  .social-primary-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .social-card-primary {
    padding: 1.5rem 1rem;
  }

  .social-icon-large {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .social-icon-large svg {
    width: 40px;
    height: 40px;
  }

  .social-info-primary h3 {
    font-size: 1.1rem;
  }

  .social-info-primary p {
    font-size: 0.85rem;
  }

  .social-icon-mini {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .social-secondary-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}
