/* --- Global Variables & Reset --- */
:root {
    /* Linkvex Brand Colors extracted from Logo */
    --brand-primary: #2563eb;   /* Bright Blue */
    --brand-secondary: #7c3aed; /* Deep Purple */
    --brand-dark: #0f172a;      /* Navy/Black */
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--brand-dark); }

/* --- Navigation Bar --- */
.navbar {
    background: var(--white);
    height: 90px; /* Slightly taller for the logo */
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left { display: flex; align-items: center; gap: 40px; }

/* LOGO STYLING */
.logo { display: flex; align-items: center; }
.logo img { 
    height: 50px; /* Adjust height to fit navbar */
    width: auto; 
    object-fit: contain;
}

.nav-links { display: flex; gap: 25px; height: 90px; align-items: center; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text-main); }
.nav-item:hover { color: var(--brand-primary); }
.nav-item i { margin-left: 6px; font-size: 11px; opacity: 0.7; }

/* Mega Menu Dropdown */
.dropdown {
    position: absolute;
    top: 90px;
    left: -20px;
    background: var(--white);
    width: 280px;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--brand-primary);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin-bottom: 12px; }
.dropdown a { font-size: 14px; font-weight: 500; color: var(--text-light); display: block; padding: 4px 0; }
.dropdown a:hover { color: var(--brand-primary); transform: translateX(5px); }

/* Nav Buttons */
.nav-right { display: flex; align-items: center; gap: 20px; }
.btn-login { font-weight: 600; font-size: 15px; }
.btn-primary {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3); transform: translateY(-1px); }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    padding: 100px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
}
.hero-text { max-width: 650px; }
.hero h1 { font-size: 60px; line-height: 1.1; font-weight: 800; margin-bottom: 25px; letter-spacing: -1px; }
.text-gradient { background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 20px; color: var(--text-light); margin-bottom: 35px; max-width: 550px; }
.cta-group { display: flex; gap: 15px; }
.btn-outline { border: 2px solid var(--brand-dark); color: var(--brand-dark); padding: 12px 30px; border-radius: 50px; font-weight: 600; }
.btn-outline:hover { background: var(--brand-dark); color: white; }

/* Hero Card Graphic */
.hero-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    max-width: 450px;
    position: relative;
    border: 1px solid #e2e8f0;
}
.stat-row { display: flex; justify-content: space-between; margin-bottom: 20px; align-items: center; }
.stat-number { font-size: 32px; font-weight: 800; color: var(--brand-primary); }
.stat-label { font-size: 14px; color: var(--text-light); }

/* --- Stats Bar --- */
.stats-bar { background: var(--brand-dark); color: white; padding: 40px 5%; }
.stats-grid { display: flex; justify-content: space-around; text-align: center; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 30px; }
.stat-item h3 { color: white; font-size: 36px; margin-bottom: 5px; }
.stat-item p { color: #94a3b8; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* --- Lifecycle Features (Circle Grid) --- */
.lifecycle-section { padding: 100px 5%; background: white; text-align: center; }
.section-header { max-width: 800px; margin: 0 auto 60px; }
.section-header h2 { font-size: 42px; margin-bottom: 20px; }
.lifecycle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
.feature-box { text-align: left; padding: 30px; border-radius: 16px; border: 1px solid #f1f5f9; transition: 0.3s; }
.feature-box:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--brand-primary); }
.feature-icon { width: 50px; height: 50px; background: #eff6ff; color: var(--brand-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; }
.feature-box h4 { font-size: 20px; margin-bottom: 10px; }
.feature-box p { font-size: 15px; color: var(--text-light); }

/* --- Role Selection (3x2 Grid) --- */
.roles-section { padding: 80px 5%; background: #f8fafc; }
.grid-3x2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.role-card {
    background: white; padding: 40px 30px; border-radius: 16px; border: 1px solid #e2e8f0;
    transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
.role-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-top: 4px solid var(--brand-secondary); }
.role-link { color: var(--brand-primary); font-weight: 700; margin-top: 20px; display: inline-flex; align-items: center; gap: 5px; }

/* --- Footer --- */
footer { background: var(--brand-dark); color: #cbd5e1; padding: 80px 5% 30px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 16px; font-weight: 700; }
.footer-col a { display: block; margin-bottom: 12px; transition: 0.2s; color: #94a3b8; }
.footer-col a:hover { color: var(--white); transform: translateX(3px); }
.footer-logo img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); /* Makes logo white for dark footer */ opacity: 0.8; }

.newsletter-row { border-top: 1px solid #334155; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.social-icons a { color: white; font-size: 20px; margin-left: 20px; }
.btn-sub { background: white; color: var(--brand-dark); padding: 10px 20px; border-radius: 50px; font-weight: 600; border: none; cursor: pointer; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .lifecycle-grid, .grid-3x2 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 48px; }
}
@media (max-width: 768px) {
    .nav-links, .nav-right { display: none; } 
    .hero { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-card { margin-top: 50px; width: 100%; }
    .lifecycle-grid, .grid-3x2 { grid-template-columns: 1fr; }
    .newsletter-row { flex-direction: column; text-align: center; }
}