/* iEnterprise Buddy Website — Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0e1a;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient border */
.gradient-border {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
}

/* Glow effect */
.glow {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15), 0 0 60px rgba(59, 130, 246, 0.1);
}

.glow-sm {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

/* Animated gradient background for hero */
.hero-gradient {
    background: radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                #0a0e1a;
}

/* Card hover effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.12);
}

/* Feature icon container */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
    color: #06b6d4;
    font-size: 24px;
    flex-shrink: 0;
}

/* Pricing card highlight */
.pricing-highlight {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Step connector line */
.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #06b6d4, #3b82f6);
    margin: 0 auto;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    background: rgba(10, 14, 26, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Navbar blur */
.nav-blur {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(10, 14, 26, 0.85);
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Docs sidebar */
.docs-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.docs-sidebar::-webkit-scrollbar {
    width: 4px;
}
.docs-sidebar::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 2px;
}

.docs-sidebar a.active {
    color: #06b6d4;
    border-left-color: #06b6d4;
    background: rgba(6, 182, 212, 0.08);
}

/* Code blocks in docs */
.docs-content pre {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.docs-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

.docs-content p code {
    background: #1f2937;
    padding: 2px 6px;
    border-radius: 4px;
    color: #06b6d4;
}

/* Contact form focus states */
.form-input:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #f9fafb;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #374151;
    transition: border-color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: #06b6d4;
    transform: translateY(-1px);
}

/* Legal pages */
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9fafb;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content p {
    color: #9ca3af;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.legal-content ul {
    color: #9ca3af;
    line-height: 1.75;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}
.legal-content li {
    margin-bottom: 0.5rem;
}
