/* ===== CUSTOM VARIABLES ===== */
:root {
  --primary-color: #2C5F7C;
  --secondary-color: #4CAF50;
  --accent-color: #FF6B35;
  --dark-color: #343A40;
  --light-color: #F8F9FA;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-600: #6C757D;
  --font-family: 'Inter', sans-serif;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--dark-color);
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

/* ===== NAVIGATION ===== */
.custom-navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a5f 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(44, 95, 124, 0.3);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand .logo {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.dropdown-menu {
  border: none;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--light-color);
  color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a5f 50%, var(--secondary-color) 100%);
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  animation: float 6s ease-in-out infinite;
  margin: 2rem 0;
}

.floating-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.floating-card h4 {
  margin-bottom: 1rem;
  color: white;
}

.floating-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.bg-light {
  background: var(--gray-100) !important;
}

/* ===== FEATURE ITEMS ===== */
.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.service-card h4 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== TOOL CATEGORIES ===== */
.tool-category {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
}

.tool-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.tool-category h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.5rem;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  padding-left: 2rem;
  color: var(--gray-600);
}

.tool-list li:last-child {
  border-bottom: none;
}

.tool-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* ===== COLLECTION CARDS ===== */
.collection-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--gray-200);
}

.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.collection-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color), #66bb6a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.collection-card h4 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.collection-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== SIGNUP SECTION ===== */
#signup {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a5f 100%);
  position: relative;
}

.signup-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 3rem;
}

.modern-form .form-floating > .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.modern-form .form-floating > .form-control:focus {
  background: white;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.modern-form .form-floating > label {
  color: var(--gray-600);
}

.modern-form .form-select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
}

.modern-form .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.modern-form .form-check-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.modern-form h5 {
  color: white;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #1e4a5f);
  border: none;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e4a5f, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 95, 124, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

.btn-light {
  background: white;
  color: var(--primary-color);
  border: none;
}

.btn-light:hover {
  background: var(--gray-100);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-color);
  color: white;
  border-top: 4px solid var(--primary-color);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
  
  .signup-form-container {
    padding: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-item,
  .service-card,
  .collection-card,
  .tool-category {
    margin-bottom: 2rem;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), #1e4a5f) !important;
}

.shadow-custom {
  box-shadow: var(--box-shadow) !important;
}

