:root {
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --secondary: #818cf8;
    --accent: #f472b6;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

.flex-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    flex: 1;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex: 2;
    justify-content: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btns {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass-border);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    display: flex;
    align-items: center;
    min-height: 90vh;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(129, 140, 248, 0.1), transparent);
}

.hero-content {
    flex: 1;
}

.hero-badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.ai-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.ai-status-dot {
    background: #10b981;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
}

.stat-item p {
    color: var(--text-muted);
}

/* Features Section */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.ai-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.ai-card {
    margin-bottom: 1.5rem;
}

.ai-card-content {
    display: flex;
    gap: 1.5rem;
}

.ai-visual {
    flex: 1;
    text-align: center;
}

.ai-visual-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.ai-visual-box i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.ai-visual-box p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.cert-image-box {
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.cert-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cert-card:hover .cert-image-box img {
    transform: scale(1.1);
}

.industry-card {
    padding-top: 0;
    overflow: hidden;
}

.industry-img {
    height: 150px;
    margin-bottom: 1.5rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Step Cards */
.step-card {
    flex: 1;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* Comparison Table */
.comparison-container {
    margin-top: 4rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: rgba(15, 23, 42, 0.8);
    font-family: var(--font-heading);
    font-weight: 700;
}

.comparison-table .active-col {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    font-weight: 600;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    70% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Certificates Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: var(--glass);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.3s;
}

.cert-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cert-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cert-card h4 {
    padding: 1.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #070b14;
    padding: 4rem 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-about p {
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-btns {
        display: none; /* Hide buttons in header, maybe move to mobile menu later */
    }

    .flex-group {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ai-badge {
        right: 0;
        bottom: -10px;
        padding: 0.75rem;
    }

    .ai-visual-box {
        padding: 2rem;
    }
}
