:root {
  --bg-color: #050510;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
  --primary-glow: radial-gradient(circle, rgba(29, 78, 216, 0.15), transparent 70%);
  --accent-color: #00f2ff;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', sans-serif;
  
  /* Brand specific accents */
  --myfree-color: #f7931a;
  --cortaly-color: #3b82f6;
  --tapzen-color: #8b5cf6;
  --nogcrypto-color: #10b981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  font-family: var(--font-main);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header/Hero */
header {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-content {
  z-index: 10;
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 300;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.7;
}

/* Service Grid */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: -100px; /* Overlap hero */
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

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

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin-top: auto;
  gap: 0.5rem;
  border: 1px solid transparent;
  width: fit-content;
}

.btn-primary {
  background: white;
  color: black;
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateX(4px);
}

/* Card Specific Styling */
.card.myfree .card-icon { color: var(--myfree-color); box-shadow: 0 0 20px rgba(247, 147, 26, 0.2); }
.card.cortaly .card-icon { color: var(--cortaly-color); box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
.card.tapzen .card-icon { color: var(--tapzen-color); box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
.card.nogcrypto .card-icon { color: var(--nogcrypto-color); box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }

.card.myfree:hover { border-color: var(--myfree-color); }
.card.cortaly:hover { border-color: var(--cortaly-color); }
.card.tapzen:hover { border-color: var(--tapzen-color); }
.card.nogcrypto:hover { border-color: var(--nogcrypto-color); }

/* Footer */
footer {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--card-border);
  margin-top: 4rem;
}

footer a {
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

footer a:hover { opacity: 1; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .grid { grid-template-columns: 1fr; margin-top: -50px; }
  .card { min-height: auto; }
}
