/* GhostPing Custom Styles */

:root {
    --ghost-primary: #6f42c1;
    --ghost-secondary: #495057;
    --ghost-accent: #20c997;
    --ghost-dark: #212529;
    --ghost-light: #f8f9fa;
    --slack-green: #2eb886;
    --slack-purple: #4a154b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--ghost-secondary);
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--ghost-dark) 0%, var(--slack-purple) 100%);
    color: white;
    padding-top: 76px; /* Account for fixed navbar */
}

.hero-content h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-primary {
    color: var(--ghost-accent) !important;
}

.btn-primary {
    background: linear-gradient(45deg, var(--ghost-primary), var(--ghost-accent));
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--ghost-accent), var(--ghost-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Ghost Hero Image */
.ghost-hero {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon i {
    background: linear-gradient(45deg, var(--ghost-primary), var(--ghost-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* How It Works Steps */
.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--ghost-primary), var(--ghost-accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
}

/* Support Section */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--ghost-primary);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

/* Success Page */
.ghost-success {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.success-content {
    padding: 2rem;
}

/* Footer */
footer {
    background: var(--ghost-dark) !important;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .ghost-hero {
        max-width: 250px;
        margin-top: 2rem;
    }
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background: linear-gradient(45deg, rgba(46, 184, 134, 0.1), rgba(32, 201, 151, 0.1));
    color: var(--slack-green);
}

.alert-danger {
    background: linear-gradient(45deg, rgba(220, 53, 69, 0.1), rgba(255, 99, 132, 0.1));
    color: #dc3545;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Add to Slack Button */
.btn-primary:active {
    transform: scale(0.98);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--ghost-primary), var(--ghost-accent));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ghost-primary);
}
