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

:root {
    /* Primary Colors */
    --deep-navy: #0B1F3A;
    --silver-steel: #C5C9D1;
    --charcoal: #1A1A1A;
    --muted-blue: #2F5D8C;
    --cool-cyan: #3FA9F5;
    
    /* Backgrounds & Overlays */
    --bg-dark: #071527;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

section {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    .container {
        padding: 0 1.5rem;
    }
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--silver-steel);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--cool-cyan);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--silver-steel);
}

.nav-links a:hover {
    color: var(--cool-cyan);
}

.nav-cta {
    background: var(--cool-cyan);
    color: var(--deep-navy);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63, 169, 245, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--cool-cyan);
    color: var(--deep-navy);
    box-shadow: 0 4px 15px rgba(63, 169, 245, 0.2);
}

.btn-primary:hover {
    background: #2a94df;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(63, 169, 245, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--cool-cyan) 50%, var(--silver-steel) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s linear infinite;
}

@keyframes gradientText {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero p {
    font-size: 1.25rem;
    color: var(--silver-steel);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Background Gradients & Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.1); opacity: 0.12; }
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(63, 169, 245, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    animation: pulse 10s ease-in-out infinite;
}

.blob-1 { top: -200px; right: -100px; animation-delay: -2s; }
.blob-2 { bottom: -100px; left: -200px; }

/* Content Cards & Shimmer Effect */
@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(200%) skewX(-20deg); }
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
    transform: translateX(-100%) skewX(-20deg);
}

.card:hover::after {
    animation: shimmer 1s ease forwards;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cool-cyan);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card:hover i {
    transform: scale(1.1);
    transition: var(--transition-smooth);
}

.card i {
    font-size: 2rem;
    color: var(--cool-cyan);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.card p {
    color: var(--silver-steel);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--charcoal);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1.5rem;
    color: var(--silver-steel);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--silver-steel);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--cool-cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--silver-steel);
    font-size: 0.85rem;
}

/* Target Clients Layout */
.target-clients .grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

.target-clients .grid > div {
    flex: 1;
}

@media (max-width: 968px) {
    .target-clients .grid {
        flex-wrap: wrap;
    }
    .target-clients .grid > div {
        flex: 1 1 40%;
    }
}

@media (max-width: 480px) {
    .target-clients .grid > div {
        flex: 1 1 100%;
    }
}

/* Responsive */
/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--silver-steel);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 968px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--deep-navy);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .nav-cta {
        display: none;
    }

    /* General Typography Scaling */
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    h3 { font-size: 1.5rem !important; }
    
    .hero {
        text-align: center;
        padding-top: 120px;
    }
    
    .hero p { margin: 0 auto 2.5rem; }

    /* Flex layouts into stacks */
    .hero-content, 
    .industries-item,
    .contact-container {
        flex-direction: column !important;
        text-align: center;
    }
    
    .industries-item {
        gap: 2rem !important;
    }

    .industries-item > div {
        flex: none !important;
        width: 100% !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Stats Ribbon */
.stats-ribbon {
    background: var(--charcoal);
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-ribbon .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stats-ribbon .flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--cool-cyan);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--silver-steel);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-ribbon .grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .stat-item h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stats-ribbon .flex-container {
        flex-wrap: wrap;
        gap: 3rem;
    }
    .stat-item {
        flex: 1 1 40%;
    }
    .stat-item h2 {
        font-size: 2.5rem;
    }
}

/* Dashboard & Portal Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.sidebar {
    background: var(--charcoal);
    border-right: 1px solid var(--glass-border);
    padding: 2rem;
}

.sidebar-nav li {
    margin-bottom: 1rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--silver-steel);
}

.sidebar-nav a.active, .sidebar-nav a:hover {
    background: var(--glass-bg);
    color: var(--cool-cyan);
}

.dashboard-main {
    padding: 3rem;
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.stat-card h4 {
    font-size: 0.85rem;
    color: var(--silver-steel);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

/* Tickets Table */
.ticket-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--charcoal);
    border-radius: 12px;
    overflow: hidden;
}

.ticket-table th, .ticket-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.ticket-table th {
    background: rgba(255,255,255,0.03);
    color: var(--silver-steel);
    font-size: 0.9rem;
    font-weight: 600;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-open { background: rgba(63, 169, 245, 0.2); color: var(--cool-cyan); }
.badge-progress { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.badge-closed { background: rgba(40, 167, 69, 0.2); color: #28a745; }
.badge-high { background: rgba(220, 53, 69, 0.2); color: #dc3545; }

/* FAQ Section */
.faq-sec {
    background: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--cool-cyan);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--cool-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: rgba(255,255,255,0.02);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--silver-steel);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
}
