/* ===================================
   Modern Domain Landing Page Styles
   =================================== */

/* CSS Custom Properties */
:root {
  /* Color Palette - Elegant & Professional */
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-accent: #f59e0b;
  --color-accent-light: #fbbf24;

  /* Neutrals */
  --color-dark: #0f172a;
  --color-dark-secondary: #1e293b;
  --color-gray: #64748b;
  --color-gray-light: #cbd5e1;
  --color-white: #ffffff;
  --color-off-white: #f8fafc;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.90) 100%);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

  /* Shadows */
  --shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 4px 16px rgba(15, 23, 42, 0.12);
  --shadow-large: 0 8px 32px rgba(15, 23, 42, 0.16);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.20);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-off-white);
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
  background-image: url('assets/images/bg1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  margin: var(--spacing-lg) 0 var(--spacing-2xl) 0;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.divider {
  height: 2px;
  width: 80px;
  background: var(--gradient-accent);
  margin: var(--spacing-md) auto;
  border-radius: var(--radius-full);
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* ===================================
   Info Section
   =================================== */

.info-section {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
  color: var(--color-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  position: relative;
}

.info-content {
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

.info-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: var(--spacing-xl);
  color: var(--color-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.4;
}

.info-content h2 span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  line-height: 1.1;
}

.info-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  margin: var(--spacing-lg) auto;
  max-width: 700px;
  color: var(--color-gray);
  font-weight: 400;
}

/* ===================================
   Features Grid
   =================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-2xl) 0;
  width: 100%;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(203, 213, 225, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  color: var(--color-primary);
  margin: 0 auto var(--spacing-lg);
  stroke-width: 1.5;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
  color: var(--color-accent);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.feature-description {
  font-size: 1rem;
  color: #475569;
  line-height: 1.75;
  font-weight: 400;
}

/* ===================================
   Offer Section
   =================================== */

.offer-section {
  background: var(--color-dark);
  color: var(--color-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  position: relative;
}

.offer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.offer-content {
  max-width: 600px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.offer-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.offer-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  line-height: 1.6;
}

/* ===================================
   Buttons
   =================================== */

.cta-button {
  position: relative;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button span {
  position: relative;
  z-index: 1;
}

/* ===================================
   Offer Form
   =================================== */

.offer-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.offer-input {
  height: 3.5rem;
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  outline: none;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  color: var(--color-white);
  text-align: center;
}

.offer-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.offer-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2), var(--shadow-medium);
}

.offer-button {
  width: 100%;
  max-width: 320px;
}

.offer-button[disabled] {
  pointer-events: none;
}

/* ===================================
   Navigation Buttons
   =================================== */

.nav-button {
  position: absolute;
  bottom: 2rem;
  background: var(--color-primary);
  backdrop-filter: blur(10px);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-white);
  cursor: pointer;
  padding: 0.75rem;
  transition: all 0.3s ease;
  opacity: 0.9;
  z-index: 10;
  box-shadow: var(--shadow-medium);
}

.nav-button:hover {
  opacity: 1;
  transform: scale(1.1);
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-large);
}

.nav-down {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-6px);
  }
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: var(--color-dark-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  font-size: 0.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
  color: var(--color-accent-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   Responsive Design
   =================================== */

@media (min-width: 640px) {
  .offer-form {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (min-width: 1024px) {
  .features-grid {
    gap: var(--spacing-xl);
  }
}

@media (max-width: 639px) {
  .feature-card {
    padding: 2rem 1.5rem;
    min-height: 260px;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .feature-description {
    font-size: 0.9375rem;
  }

  .offer-input,
  .offer-button {
    max-width: 100%;
  }
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
