:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --dark-color: #2a2a72;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1 0 auto;
}

.navbar {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
}

.hero-section {
    background: radial-gradient(circle at center, #2b0a4e, #0a0a2a);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="150" cy="120" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="300" cy="80" r="1.5" fill="rgba(255,255,255,0.3)"/><circle cx="250" cy="250" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="100" cy="300" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="350" cy="350" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="200" cy="150" r="1.5" fill="rgba(255,255,255,0.3)"/></svg>');
    background-size: 400px 400px;
    animation: moveParticles 60s linear infinite;
}

@keyframes moveParticles {
    0% { background-position: 0 0; }
    100% { background-position: 400px 400px; }
}
        
.feature-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.support-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.device-img {
    max-height: 150px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 10;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--primary-color);
}

.auth-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
}

html, body {
    height: 100%;
}

/* Smaller carousel for homepage */
.carousel-small {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  height: 300px;
}
.carousel-small .carousel-inner {
  height: 100%;
}
.carousel-small .carousel-item,
.carousel-small .carousel-item img {
  height: 300px;
  object-fit: cover;
}
