/* Ewjora Tech - Premium Dark Mode Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg-primary: #040914;
  --bg-secondary: #0a1122;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --accent-cyan: #00f0ff;
  --accent-purple: #8a2be2;
  --accent-blur: rgba(0, 240, 255, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --gradient-btn: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  --gradient-text: linear-gradient(135deg, #fff 0%, #a0aec0 100%);
  --gradient-heading: linear-gradient(to right, #00f0ff, #8a2be2);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(138, 43, 226, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.15), transparent 25%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-panel:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-blur);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: var(--accent-blur);
  color: #fff;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(4, 9, 20, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.hero-text h1 span {
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  animation: float 6s ease-in-out infinite;
  border-radius: 20px;
  /* If original image isn't perfect, adding a subtle glow helps */
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.2));
}

.hero-image-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--accent-blur) 0%, transparent 70%);
  z-index: -1;
}

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

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
}

.section-header h2 span {
  color: var(--accent-cyan);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 8rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  text-align: left;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-btn);
  color: #fff;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--accent-cyan);
  font-weight: 600;
  font-family: 'Outfit';
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* About Section */
.about {
  padding: 6rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.feature-item h4 i {
  color: var(--accent-purple);
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Clients */
.clients {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(138, 43, 226, 0.05), transparent);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-purple);
}

.client-details h4 {
  margin: 0;
  font-size: 1rem;
}

.client-details span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.pricing-card {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.pricing-card.premium {
  border-color: var(--accent-purple);
  background: linear-gradient(145deg, rgba(138, 43, 226, 0.1), rgba(0, 240, 255, 0.05));
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2);
}

.pricing-card.premium:hover {
  transform: scale(1.05) translateY(-5px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.price-title {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Outfit';
  margin-bottom: 2rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.pricing-features li i {
  color: var(--accent-cyan);
}

/* Footer & Contact */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-col p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

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

.footer-col ul li a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}

.social-links a:hover {
  background: var(--gradient-btn);
  border-color: transparent;
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter-form input {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #fff;
  flex: 1;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: pulse 2s infinite;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content, .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 { font-size: 3rem; }
  .hero-actions { justify-content: center; }
  .hero-image { margin-top: 3rem; }
  .hero-text p { margin: 0 auto 2.5rem; }
  .about-features { text-align: left; }
  .pricing-card.premium { transform: scale(1); }
  .pricing-card.premium:hover { transform: translateY(-5px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile pattern: hide links, add a menu button, though we won't fully code JS menu to keep it pure */
  }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Show nav links in a simple column for mobile if we want */
  .nav-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
  }
}
