:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --secondary: #8b5cf6;
  --secondary-dark: #7c3aed;
  --accent: #10b981;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --bg: #020617;
  --card-bg: rgba(30, 41, 59, 0.5);
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.03);
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary);
}

.nav-cta {
  background: var(--gradient);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

/* Page Headers */
.page-header {
  padding: 12rem 0 6rem;
  text-align: center;
  position: relative;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 1));
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-secondary {
  background: var(--glass);
  color: white;
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: none;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 20px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.card:hover {
  border-color: var(--secondary);
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-10px);
}

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

.card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

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

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

/* Text Image Section */
.text-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text-image.reverse {
  grid-template-columns: 1fr 1fr;
}

.text-image.reverse .content {
  order: 1;
}

.text-image.reverse .image {
  order: 0;
}

.text-image .image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.section-title {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

.testimonial-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

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

.client-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.client-info span {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Form */
.form-section {
  background: linear-gradient(to bottom, var(--bg), rgba(15, 23, 42, 0.5));
}

.form-container {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: white;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(15, 23, 42, 0.8);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

select.form-control option {
  background: var(--primary-light);
  color: white;
}

.checkbox-group {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  grid-column: 1 / -1;
}

.checkbox-group input {
  margin-top: 0.3rem;
  accent-color: var(--secondary);
  width: 1.2rem;
  height: 1.2rem;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-group label a {
  color: var(--secondary);
  text-decoration: none;
}

/* Footer */
footer {
  background: #010413;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  margin-bottom: 1.5rem;
  display: block;
  text-decoration: none;
  color: white;
}

.footer-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

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

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

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

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

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Privacy & Terms Pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.policy-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
  color: white;
}

.policy-content p, .policy-content ul {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.policy-content ul {
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* Mobile Nav */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 968px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-bg {
    width: 100%;
    opacity: 0.2;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .text-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .text-image.reverse .content {
    order: 0;
  }
  .text-image.reverse .image {
    order: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
  }
  .nav-links.active {
    left: 0;
  }
  .menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

[data-reveal].active {
  opacity: 1;
  transform: translateY(0);
}
