@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    color-scheme: dark;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #4f46e5; /* Indigo */
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #0ea5e9; /* Light Blue */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
   --danger: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background visual effects */
body::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
}

body::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 60%);
    z-index: -1;
    filter: blur(80px);
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Make nav mobile friendly */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

nav a:hover {
    color: var(--text-main);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero .actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .actions {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Services / Features Grid */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.slider-wrapper {
    position: relative;
    margin: 0 -1rem; /* Allow cards to bleed out slightly */
    padding: 2rem 1rem;
}

.services-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0 3rem;
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.services-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.services-track .card {
    min-width: calc(33.333% - 1.35rem);
    flex: 0 0 auto;
    scroll-snap-align: center;
}

@media (max-width: 1024px) {
    .services-track .card { min-width: calc(50% - 1rem); }
}

@media (max-width: 768px) {
    .services-track .card { min-width: 100%; }
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: -1rem;
    margin-bottom: 4rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.1);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.card {
    background: #0f172a; /* Deeper terminal-like background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--bg-card-hover);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 70, 229, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(14, 165, 233, 0.2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card:hover .icon-box {
    transform: rotate(-5deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 20px var(--primary-glow);
    color: white;
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Premium Section Container */
.premium-section {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    border: 2px solid rgba(255, 255, 255, 0.3); /* Bold, prominent frame */
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.15);
    animation: pulseBorder 4s infinite ease-in-out;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

@keyframes pulseBorder {
    0% { border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 0 15px rgba(79, 70, 229, 0.1); }
    50% { border-color: rgba(79, 70, 229, 0.5); box-shadow: 0 0 30px rgba(79, 70, 229, 0.3); }
    100% { border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 0 15px rgba(79, 70, 229, 0.1); }
}

.premium-section:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

.premium-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.15; /* Subtler glows for cleaner look */
}

.premium-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

/* Forms */
.form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto 5rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    background: var(--bg-card);
}

select.form-control option {
    background: var(--bg-dark);
    color: var(--text-main);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--primary);
}

/* Spacey & Futuristic Animations */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes scanline {
    0% { top: -10%; opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { top: 110%; opacity: 0; }
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.floating-element {
    animation: floating 4s ease-in-out infinite;
}

.scanline-effect {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    z-index: 2;
    pointer-events: none;
    animation: scanline 3s linear infinite;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    animation: starPulse infinite ease-in-out;
}

/* Interactive Timeline Styles */
.timeline-wrapper {
    position: relative;
    padding: 4rem 2rem;
    margin-top: 2rem;
}

.timeline-line {
    position: absolute;
    top: 70px; /* Positioned behind the nodes */
    left: 15%;
    right: 15%;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 0;
    border-radius: 10px;
}

.timeline-line-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--primary), #38bdf8, transparent);
    animation: flowLine 3s infinite linear; /* Slightly faster for segments */
}

.timeline-connector {
    flex: 0.5;
    height: 3px;
    background: rgba(255,255,255,0.05);
    position: relative;
    top: 30px; /* Aligned with number center */
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

@keyframes flowLine {
    0% { width: 0; left: 0; }
    50% { width: 100%; left: 0; }
    100% { width: 0; left: 100%; }
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.step-card {
    flex: 1;
    background: rgba(30, 41, 59, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    padding: 2rem 1.5rem !important;
    text-align: center !important;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.step-node {
    width: 60px !important;
    height: 60px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    position: relative;
    z-index: 20;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

/* USP SECTION (Trust Board) */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.usp-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.usp-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 23, 42, 0.6);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(79, 70, 229, 0.1);
}

.usp-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(56, 189, 248, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.usp-card:hover .usp-icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--primary);
}

@media (max-width: 992px) {
    .timeline-steps {
        flex-direction: column;
        align-items: center;
    }
    .timeline-line {
        display: none;
    }
    .step-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Priority Badges */
.prio-low { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
.prio-normal { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.prio-high { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.prio-urgent { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* Interactive Ticket Form Styles */
.prio-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.prio-btn {
    padding: 0.75rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.prio-btn:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

.prio-btn.active[data-prio="low"] { border-color: #10b981; color: #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.05); }
.prio-btn.active[data-prio="normal"] { border-color: #3b82f6; color: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); background: rgba(59, 130, 246, 0.05); }
.prio-btn.active[data-prio="high"] { border-color: #f59e0b; color: #f59e0b; box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); background: rgba(245, 158, 11, 0.05); }
.prio-btn.active[data-prio="urgent"] { border-color: #ef4444; color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); background: rgba(239, 68, 68, 0.05); }

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.02);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.success-card {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(79, 70, 229, 0.2);
    animation: slideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.guest-code-display {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 5px;
    margin: 1.5rem 0;
    text-shadow: 0 0 20px var(--primary);
    font-family: monospace;
}
