@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #0b0f19;
  --text-color: #ffffff;
  --text-muted: #a0aec0;
  --primary: #4ade80;
  --secondary: #22c55e;
  --accent: #ff6b35;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(74, 222, 128, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 107, 53, 0.15), transparent 25%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.6);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  padding-top: 80px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  animation: float 6s ease-in-out infinite;
}

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

/* How It Works */
.section {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(74, 222, 128, 0.3);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.step-card p {
  color: var(--text-muted);
}

/* Pricing/Products for Iyzico */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.price-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.price-card:hover {
  transform: scale(1.02);
  border-color: var(--primary);
}

.price-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-card ul {
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-card li {
  margin-bottom: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--glass-border);
  padding: 60px 5% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.payment-logos {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  align-items: center;
}

.payment-logos img {
  height: 30px;
  opacity: 0.8;
  transition: var(--transition);
  background: white;
  padding: 2px 5px;
  border-radius: 4px;
}

.payment-logos img:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* Legal Pages Wrapper */
.legal-page {
  padding: 150px 5% 100px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content {
  padding: 40px;
}

.legal-content h1 {
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: var(--primary);
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #fff;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none; /* In a real app, add a hamburger menu */
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
