/* Import only the fonts actually being used */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700&display=swap');

/* Custom font face */
@font-face {
  font-family: 'Switzer-Variable';
  src: url('../fonts/Switzer-Variable.woff2') format('woff2'),
       url('../fonts/Switzer-Variable.woff') format('woff'),
       url('../fonts/Switzer-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* CSS Variables */
:root {
  --color-primary: #FF5A6D;
  --color-text: rgba(51, 51, 51, 0.9);
  --color-textlight: rgba(51, 51, 51, 0.75);
  --space-xs: 0.25rem;
  --space-sm: 0.625rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 6rem;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* Navigation Styles */
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  width: 200px;
  flex-direction: column;
  align-items: flex-start;
}

.anyc {
  display: flex;
  gap: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: normal;
  text-transform: uppercase;
  color: #333333;
}

.anyc span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  letter-spacing: -1.1px;
  color: #0142FB;
  text-transform: uppercase;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  letter-spacing: -0.48px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0142FB;
}

/* Section 1 Styles */
.section1 {
  display: flex;
  padding: 200px 80px 40px 80px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 160px;
  flex: 1;
}

.section1-content {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.section1-content-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 425px;
}

.section1-heading {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: normal;
  letter-spacing: -0.42px;
  font-weight: 600;
}

.section1-subheading {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #333333;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: -0.39px;
}

/* Section 2 Content */
.section2-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.section2-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 112px;
  color: #333333;
  line-height: normal;
  letter-spacing: -3.38px;
  font-weight: 700;
  background: url('media/wallpaperflare.com_wallpaper.jpg');
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reach Out Button Styles */
.reach-out {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 200px;
  align-items: flex-end;
}

.reach-out .button {
  width: fit-content;
  padding: 0.15rem 1rem;
  font-family: 'Switzer-Variable', sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.06em;
  color: white;
  border-radius: 0.234375rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  rotate: -0.25deg;
  background: linear-gradient(
    125deg,
    #6366f1 0%,
    #8b5cf6 25%,
    #6366f1 50%,
    #4f46e5 75%,
    #6366f1 100%
  );
  background-size: 200% auto;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(99, 102, 241, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  animation: pulse 3s infinite;
}

/* Button Hover and Active States */
.reach-out .button:hover {
  transform: translateY(-2px);
  rotate: 1deg;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(99, 102, 241, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  background-position: right center;
}

.reach-out .button:active {
  rotate: -0.5deg;
  transform: translateY(1px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button Shimmer Effect */
.reach-out .button::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 25%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 75%,
    transparent 100%
  );
  transform: translateX(-100%);
  z-index: 1;
  animation: shimmer 5s infinite;
}

/* Keyframe Animations */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% {
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.1),
      0 4px 8px rgba(99, 102, 241, 0.2),
      0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.1),
      0 4px 8px rgba(99, 102, 241, 0.2),
      0 0 16px 4px rgba(99, 102, 241, 0.2);
  }
}

/* Accessibility */
.reach-out .button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */

/* Large Desktop 
@media (min-width: 1200px) {
  .section2-heading {
    font-size: 120px;
  }
  
  .section1 {
    padding: 220px 80px 40px 80px;
  }
} */

/* Medium Desktop */
@media (max-width: 1200px) {
  .navigation {
    padding: 1.5rem 3rem;
  }
  
  .section1 {
    padding: 150px 60px 40px 60px;
  }
  
  .section2-heading {
    font-size: 100px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .navigation {
    padding: 1.5rem 2rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .logo {
    width: auto;
  }
  
  .anyc {
    font-size: 20px;
  }
  
  .nav-links {
    gap: 1rem;
    font-size: 14px;
  }
  
  .reach-out {
    width: auto;
  }
  
  .section1 {
    padding: 120px 40px 30px 40px;
    gap: 80px;
  }
  
  .section1-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .section1-content-text {
    max-width: 100%;
  }
  
  .section1-subheading {
    width: 100%;
  }
  
  .section2-heading {
    font-size: 80px;
    letter-spacing: -2.4px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navigation {
    padding: 0.5rem 1rem;
    flex-direction: column;
    gap: 1rem;
    position: relative;
  }
  
  .anyc {
    font-size: 18px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 14px;
  }
  
  .section1 {
    padding: 100px 20px 20px 20px;
    gap: 60px;
  }
  
  .section1-heading {
    font-size: 12px;
  }
  
  .section1-subheading {
    font-size: 12px;
    line-height: 18px;
  }
  
  .section2-heading {
    font-size: 48px;
    letter-spacing: -1.44px;
  }
  
  .reach-out .button {
    font-size: 1rem;
    padding: 0.2rem 0.8rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
  .section1 {
    padding: 80px 15px 15px 15px;
    gap: 40px;
  }
  
  .section2-heading {
    font-size: 36px;
    letter-spacing: -1.08px;
  }
  
  .reach-out .button {
    font-size: 0.9rem;
    padding: 0.15rem 0.6rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .reach-out .button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .reach-out .button:active {
    transform: scale(0.96);
    opacity: 0.9;
    transition: transform 0.1s ease-out;
  }
  
  .reach-out .button:hover {
    transform: none;
    background-position: initial;
  }
  
  .reach-out .button::before {
    animation: shimmer 8s infinite;
  }
}