/* ============================================
   DINKLI - Component Styles
   ============================================ */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 20%, rgba(0, 255, 0, 0.08) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gradientShift {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  33% {
    opacity: 0.9;
    transform: scale(1.1) rotate(5deg);
    background-position: 20% 20%, 80% 80%, 60% 40%;
  }
  66% {
    opacity: 0.85;
    transform: scale(0.95) rotate(-5deg);
    background-position: -10% 10%, 110% 90%, 40% 60%;
  }
}

/* Hero grid removed - now using global body grid */

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: var(--spacing-lg);
  color: var(--gray-dark);
  font-weight: var(--font-medium);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 56%;
  height: auto;
  border: var(--border-thick) solid var(--black);
  box-shadow: 12px 12px 0 var(--green-primary);
  border-radius: 20px;
  display: block;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: float 3s ease-in-out infinite;
}

.hero-image img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 16px 20px 0 var(--green-primary);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Logo */
.logo {
  width: 245px;
  height: 245px;
  margin-bottom: var(--spacing-md);
  border: none;
  border-radius: 50%;
  box-shadow: 8px 8px 0 var(--green-primary);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: logoPulse 2s ease-in-out infinite;
  position: relative;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 12px 12px 0 var(--green-primary);
}

@keyframes logoPulse {
  0%, 100% {
    box-shadow: 8px 8px 0 var(--green-primary);
  }
  50% {
    box-shadow: 12px 12px 20px var(--green-primary);
  }
}

/* App Store Buttons */
.app-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.app-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: var(--border-medium) solid var(--black);
  background-color: var(--black);
  color: var(--white);
  text-decoration: none;
  font-weight: var(--font-bold);
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0 var(--green-primary);
}

.app-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--green-primary);
}

.app-button img {
  height: 40px;
  width: auto;
}

/* Value Props */
.value-props {
  background-color: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

/* Pattern backgrounds removed from value-props */

.value-props .container {
  position: relative;
  z-index: 1;
}

.value-prop-card {
  text-align: center;
  padding: var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.value-prop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 255, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0, 255, 0, 0.1) 0%, transparent 60%);
  animation: gradientShift 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.value-prop-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--green-primary), transparent, var(--green-primary), transparent);
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.3s ease, background-position 0.5s ease;
  animation: borderGlow 3s ease-in-out infinite;
}

.value-prop-card:hover::after {
  opacity: 1;
}

.value-prop-card:hover::before {
  opacity: 1;
}

@keyframes borderGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.value-prop-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.value-prop-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--black);
  font-weight: var(--font-bold);
  position: relative;
  z-index: 1;
}

.value-prop-card p {
  position: relative;
  z-index: 1;
}

/* How It Works */
.how-it-works {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 20%, rgba(0, 255, 0, 0.08) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.how-it-works .container {
  position: relative;
  z-index: 1;
}

.step {
  text-align: center;
  padding: var(--spacing-md);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--green-primary);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: var(--font-bold);
  border: var(--border-thick) solid var(--black);
  margin: 0 auto var(--spacing-md);
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.step:hover .step-number {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 8px 8px 0 var(--black);
  background-color: var(--green-light);
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

/* Features */
.features {
  background-color: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
  animation: featureBackground 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes featureBackground {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(50px, 50px) scale(1.2);
    opacity: 0.8;
  }
}

.features .container {
  position: relative;
  z-index: 1;
}

.feature-card {
  padding: var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 255, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0, 255, 0, 0.1) 0%, transparent 60%);
  animation: gradientShift 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--green-primary), transparent, var(--green-primary), transparent);
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.3s ease, background-position 0.5s ease;
  animation: borderGlow 3s ease-in-out infinite;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-image {
  width: 56%;
  height: auto;
  border: var(--border-thick) solid var(--black);
  margin: 0 auto var(--spacing-md);
  box-shadow: 6px 6px 0 var(--green-primary);
  border-radius: 10px;
  display: block;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-image {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 10px 14px 0 var(--green-primary);
  border-color: var(--green-primary);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
}

.feature-card p {
  position: relative;
  z-index: 1;
}

/* Pricing */
.pricing {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.pricing::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
  animation: pricingSweep 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pricingSweep {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.pricing-card {
  text-align: center;
  padding: var(--spacing-xl);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--green-primary);
  color: var(--black);
  padding: 0.5rem 1rem;
  border: var(--border-medium) solid var(--black);
  font-weight: var(--font-bold);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.pricing-price {
  font-size: 3rem;
  font-weight: var(--font-bold);
  color: var(--green-primary);
  margin: var(--spacing-md) 0;
}

.pricing-period {
  font-size: 1rem;
  color: var(--gray-dark);
}

.pricing-features {
  list-style: none;
  margin: var(--spacing-lg) 0;
  text-align: left;
}

.pricing-features li {
  padding: var(--spacing-xs) 0;
  padding-left: var(--spacing-md);
  position: relative;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: var(--font-bold);
  font-size: 1.25rem;
}

/* Location */
.location {
  background-color: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

.location::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    polygon(0% 0%, 100% 0%, 100% 50%, 0% 100%),
    polygon(0% 50%, 100% 50%, 100% 100%, 0% 100%);
  background-size: 200% 200%;
  background-position: 0% 0%, 100% 100%;
  background-color: transparent;
  background-image: 
    linear-gradient(135deg, rgba(0, 255, 0, 0.03) 0%, transparent 50%),
    linear-gradient(-135deg, rgba(0, 255, 0, 0.03) 0%, transparent 50%);
  animation: locationPattern 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes locationPattern {
  0%, 100% {
    background-position: 0% 0%, 100% 100%;
    opacity: 1;
  }
  50% {
    background-position: 100% 100%, 0% 0%;
    opacity: 0.7;
  }
}

.location .container {
  position: relative;
  z-index: 1;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  border: var(--border-thick) solid var(--black);
  box-shadow: 8px 8px 0 var(--green-primary);
  background-color: var(--white);
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
    linear-gradient(-135deg, rgba(0, 255, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 0;
  filter: 
    hue-rotate(80deg) 
    saturate(1.3) 
    contrast(1.15) 
    brightness(0.9);
  position: relative;
  z-index: 1;
}

/* Alternative: If using Google Maps JavaScript API, hide iframe */
.map-container.map-api-active iframe {
  display: none;
}

.map-container #map {
  width: 100%;
  height: 450px;
  border: none;
}

/* FAQ */
.faq {
  background-color: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

.faq::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0, 255, 0, 0.02) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(0, 255, 0, 0.02) 50%, transparent 100%);
  background-size: 100px 100px, 100px 100px;
  animation: faqGrid 10s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes faqGrid {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 100px 100px, 100px 100px;
  }
}

.faq .container {
  position: relative;
  z-index: 1;
}

.faq-item {
  margin-bottom: var(--spacing-md);
  border: var(--border-thick) solid var(--black);
  background-color: var(--white);
}

.faq-question {
  padding: var(--spacing-md);
  font-weight: var(--font-bold);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--gray-light);
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--green-light);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--green-primary);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: var(--spacing-md);
  max-height: 500px;
}

/* Footer */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: var(--spacing-xl) var(--spacing-md);
  border-top: var(--border-thick) solid var(--green-primary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.footer-section h3 {
  color: var(--green-primary);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border: var(--border-medium) solid var(--green-primary);
  background-color: var(--black);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: var(--font-bold);
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: var(--green-primary);
  color: var(--black);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--green-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: var(--border-thin) solid var(--gray-dark);
}

/* Contact Form */
/* Waitlist Form */
.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}

.waitlist-form input {
  flex: 1;
  padding: var(--spacing-md);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-family);
  background: var(--white);
  transition: all 0.2s ease;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 4px 4px 0 0 var(--green-primary);
  transform: translate(-2px, -2px);
}

.waitlist-form input::placeholder {
  color: var(--text-secondary);
}

.waitlist-form .input-group {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
  .waitlist-form .input-group {
    flex-direction: column;
  }
}

#waitlist-message {
  margin-top: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--black);
  display: none;
}

#waitlist-message.show {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: var(--border-thick) solid var(--black);
  font-size: 1rem;
  font-family: var(--font-primary);
  background-color: var(--white);
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 4px 4px 0 var(--green-primary);
}

.contact-form label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-bold);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Page Header */
.page-header {
  padding: var(--spacing-md);
  border-bottom: var(--border-thick) solid var(--black);
  background-color: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
}

.page-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-header a {
  text-decoration: none;
  color: var(--black);
  font-weight: var(--font-bold);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.page-header .logo {
  height: 112.5px;
  width: auto;
  transition: transform 0.2s ease;
}

.page-header .logo:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .page-header .logo {
    height: 90px;
  }
  
  .logo {
    width: 175px;
    height: 175px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .app-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .app-button {
    text-align: center;
  }
}

