/* Custom CSS Variables */
:root {
  --primary-color: #5879ff;
  --primary-dark: #4a68e6;
  --primary-light: #7691ff;
  --accent-color: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --gradient-bg: linear-gradient(135deg, #5879ff 0%, #4a68e6 100%);
}

/* Global Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}
.phone-container {
  flex: 0 0 auto;
  max-width: 120px;
}

.phone-mockup {
  width: 100%;
  height: auto;
  max-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .phone-container {
    max-width: 100px;
  }

  .phone-mockup {
    max-width: 100px;
  }
}

@media (min-width: 992px) {
  .phone-container {
    max-width: 140px;
  }

  .phone-mockup {
    max-width: 140px;
  }
}
/* Custom Navbar */
.custom-navbar {
  background: var(--gradient-bg) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(88, 121, 255, 0.3);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--accent-color) !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.text-accent {
  color: var(--accent-color) !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.phone-mockup {
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(88, 121, 255, 0.4);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Demo Section */
.demo-container {
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(88, 121, 255, 0.1);
  position: relative;
}

.demo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(88, 121, 255, 0.05) 0%,
    rgba(74, 104, 230, 0.05) 100%
  );
  border-radius: 20px;
  z-index: -1;
}

.demo-container iframe {
  transition: all 0.3s ease;
}

.demo-container:hover iframe {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive Demo Section */
@media (max-width: 768px) {
  .demo-container {
    padding: 20px;
    margin: 0 15px;
  }

  .demo-container .phone-container {
    max-width: 100% !important;
  }

  .demo-container iframe {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .demo-container iframe {
    height: 280px;
    border-radius: 10px;
  }

  .demo-container {
    padding: 15px;
  }
}

/* Features Section */
.feature-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(88, 121, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(88, 121, 255, 0.2);
}

.feature-icon i {
  color: var(--primary-color);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text Styling */
.text-primary {
  color: var(--primary-color) !important;
}

.display-4,
.display-5 {
  font-weight: 700;
  color: var(--text-dark);
}

.hero-section .display-4 {
  color: white;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-bg);
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

/* Footer */
footer {
  background: #1a1a1a !important;
}

footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section .container {
    padding-top: 80px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .phone-mockup {
    max-width: 200px;
    margin-top: 30px;
  }

  .feature-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    text-align: center;
  }

  .display-4 {
    font-size: 2rem;
  }

  .btn-lg {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}
.navbar-brand {
    display: flex !important;
    align-items: center !important;
}

.navbar-brand img {
    vertical-align: middle;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
