/* Custom Styles for Claim Commander Frontend */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --dark-bg: #050505;
  /* Darker black for better contrast with images */
  --card-bg: #121212;
  --text-main: #f0f0f0;
  --accent-gradient: linear-gradient(135deg, #0d6efd 0%, #00d2ff 100%);
  --hero-overlay-gradient: linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 1) 100%);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: rgba(5, 5, 5, 0.8) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #fff !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 180px 0 120px;
  /* More padding for hero impact */
  /* Tech web background image */
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay-gradient);
  z-index: 1;
}

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

.hero-title {
  font-size: 4.5rem;
  /* Larger font */
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 25px;
  background: linear-gradient(180deg, #ffffff 0%, #b0b0b0 100%);
  /* White gradient for better contrast on dark */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Buttons */
.btn-primary-gradient {
  background: var(--accent-gradient);
  border: none;
  color: white;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00d2ff 0%, #0d6efd 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-primary-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.5);
  color: white;
}

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

/* Features */
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(13, 110, 253, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.feature-card h3 {
  font-weight: 700;
  margin-bottom: 15px;
}

/* Dashboard Preview in About Section */
.dashboard-preview-container {
  position: relative;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-img {
  display: block;
  width: 100%;
  border-radius: 16px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.dashboard-preview-container:hover .dashboard-img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--primary-color);
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
  border-radius: 50%;
}

/* Mobile App Section */
.mobile-mockup-wrapper {
  position: relative;
  padding: 20px;
  text-align: center;
}

.mobile-img {
  max-height: 500px;
  object-fit: cover;
  transform: rotate(3deg);
  transition: transform 0.4s ease;
  border: 4px solid #333;
}

.mobile-mockup-wrapper:hover .mobile-img {
  transform: rotate(0deg);
}

.mobile-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: #00d2ff;
  filter: blur(80px);
  opacity: 0.2;
  z-index: -1;
  border-radius: 50%;
}

/* Terms Page Header */
.terms-header {
  position: relative;
  height: 400px;
  background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

/* Footer */
footer {
  background-color: #000;
  padding: 80px 0 40px;
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--primary-color);
}