/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

/* CSS Variables for Easy Theme Management */
:root {
    --primary-blue: #0f4c75;
    --primary-teal: #2a9d8f;
    --accent-purple: #6366f1;
    --accent-pink: #ec4899;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --bg-light: #f8faff;
    --bg-white: #ffffff;
    --bg-section-light: #f0f7ff;
    --bg-section-alt: #fafcff;
    --gradient: linear-gradient(135deg, #0f4c75 0%, #2a9d8f 50%, #6366f1 100%);
    --gradient-hero: linear-gradient(135deg, #0f4c75 0%, #2a9d8f 50%, #6366f1 100%);
    --gradient-card: linear-gradient(135deg, rgba(15, 76, 117, 0.05) 0%, rgba(42, 157, 143, 0.05) 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ----------------------------- */
/* Splash Screen */
/* ----------------------------- */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f4c75 0%, #2a9d8f 50%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: splashFadeOut 0.8s ease-in-out 2.5s forwards;
}
.splash-screen::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
.splash-content {
    text-align: center;
    z-index: 1;
    animation: splashContentFadeIn 0.8s ease-out;
}
.splash-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
.splash-logo {
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
    animation: logoFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.3));
}
.splash-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 2rem 0;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.splash-accent {
    background: linear-gradient(135deg, #ffffff 0%, #90e0ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.splash-loader {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}
.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #90e0ef 100%);
    border-radius: 10px;
    animation: loaderProgress 2.5s ease-in-out forwards;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
.splash-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Splash Screen Animations */
@keyframes splashFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
@keyframes splashContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes loaderProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

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

/* ----------------------------- */
/* Navigation Bar */
/* ----------------------------- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(15, 76, 117, 0.08);
    border-bottom: 1px solid rgba(15, 76, 117, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar:hover {
    box-shadow: 0 4px 30px rgba(15, 76, 117, 0.12);
}
.navbar.sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
    padding: 0 2.5rem 0 1.5rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-right: auto;
}
.logo:hover {
    transform: translateY(-1px);
}
.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}
.logo:hover .logo-img {
    transform: scale(1.05);
}
.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.8px;
}
.logo-accent {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: block;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-links a:hover {
    color: var(--primary-teal);
    background: rgba(42, 157, 143, 0.06);
}
.nav-links a:hover::after {
    width: 60%;
}

.nav-btn {
    margin-left: 1rem;
    padding: 0.7rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(42, 157, 143, 0.25);
    border-radius: 8px;
}
.nav-btn:hover {
    box-shadow: 0 4px 20px rgba(42, 157, 143, 0.35);
    transform: translateY(-1px);
}

/* ----------------------------- */
/* Hero Section */
/* ----------------------------- */
.hero {
    color: var(--bg-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.wave {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}
@media (max-width: 768px) {
    .wave {
        height: 80px;
    }
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(5deg); }
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}
.hero-text {
    flex: 1;
    text-align: left;
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out;
}
.hero-title-accent {
    background: linear-gradient(135deg, #ffffff 0%, #90e0ef 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    opacity: 0.95;
    margin-top: 1.5rem;
    max-width: 580px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-text .btn {
    margin-top: 2rem;
}

.hero-mockup-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.2);
    border-radius: 2.5rem;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 20px 60px rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.6s both, floatImage 6s ease-in-out infinite;
    position: relative;
}
.hero-mockup-image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: 2.5rem;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}
@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
.hero-mockup-image {
    width: 110%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: block;
    transform: translateX(8%);
    object-fit: cover;
    object-position: center right;
    transition: transform 0.5s ease;
}
.hero-mockup-image-container:hover .hero-mockup-image {
    transform: translateX(8%) scale(1.05);
}

/* Utility & small helpers used across sections */
.section {
    padding: 5rem 0;
}
.section-title {
    font-size: 2.75rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}
.bg-light {
    background: linear-gradient(180deg, rgba(240, 247, 255, 0.6) 0%, rgba(250, 252, 255, 0.8) 100%);
}
.gradient-bg {
    background: var(--gradient-hero);
    position: relative;
}
.btn {
    padding: 0.875rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
    width: 300px;
    height: 300px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-purple) 100%);
    color: var(--bg-white);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #248a7f 0%, #5855eb 100%);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.5);
    transform: translateY(-3px) scale(1.02);
}
.btn-light {
    background-color: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid transparent;
}
.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-dark {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: var(--bg-white);
}
.btn-dark:hover {
    background: linear-gradient(135deg, #1a202c 0%, #0f1419 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transform: translateY(-3px) scale(1.02);
}
.animated-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.animated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.animated-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(15, 76, 117, 0.25),
                0 0 0 1px rgba(42, 157, 143, 0.1);
}
.animated-card:hover::before {
    opacity: 0.05;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------- */
/* Problem Statement Section */
/* ----------------------------- */
#
.overview-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,253,255,0.95) 50%, rgba(248,250,255,0.98) 100%);
    position: relative;
}
.overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0.2;
}

/* Main Title */
.overview-main-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4rem;
    letter-spacing: -1.5px;
}

/* Problem Section */
#problem.section {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.6) 0%, var(--bg-white) 100%);
    padding: 5rem 0;
}

.problem-section {
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.05) 0%, rgba(255, 87, 87, 0.02) 100%);
    border-left: 4px solid #ff5757;
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(255, 87, 87, 0.08);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.problem-icon {
    background: linear-gradient(135deg, #ff5757 0%, #ff8c8c 100%);
    color: white;
}

.solution-icon {
    background: var(--gradient);
    color: white;
}

.section-label {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0;
}

.problem-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.problem-challenges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.challenge-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.875rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid rgba(255, 87, 87, 0.15);
    transition: all 0.3s ease;
}

.challenge-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 87, 87, 0.15);
    border-color: rgba(255, 87, 87, 0.3);
}

.challenge-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.challenge-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.challenge-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Solution Section */
.solution-section {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-left: 4px solid var(--primary-teal);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.08);
}

.solution-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.role-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.role-access-card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(42, 157, 143, 0.15);
    transition: all 0.3s ease;
}

.role-access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(42, 157, 143, 0.2);
    border-color: var(--primary-teal);
}

.role-access-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.role-badge {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.doctor-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.pharmacist-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.lab-badge {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.ems-badge {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.role-access-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.role-access-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gradient);
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

.feature-tag svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Preview & Security Grid */
.preview-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(248, 250, 255, 0.9) 100%); 
    padding: 2rem; 
    border-radius: 1.25rem; 
    box-shadow: 0 15px 40px rgba(15, 76, 117, 0.1),
                0 0 0 1px rgba(42, 157, 143, 0.1); 
    transition: all 0.4s ease;
    border-top: 3px solid transparent;
    border-image: var(--gradient) 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 76, 117, 0.15);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}
.role-buttons { display:flex; gap:0.5rem; flex-wrap:wrap; margin:0.5rem 0 1rem 0 }
.role-btn { 
    padding:0.6rem 1rem; 
    border-radius:999px; 
    border:2px solid rgba(15,76,117,0.2); 
    background:#ffffff; 
    cursor:pointer; 
    font-weight:600; 
    color:var(--primary-blue);
    transition: all 0.3s ease;
}
.role-btn:hover {
    background: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}
.role-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.3);
}
.role-preview { 
    border-radius:12px; 
    padding:1.5rem; 
    background:linear-gradient(135deg, rgba(251,254,255,0.9) 0%, rgba(241,252,251,0.9) 100%); 
    color:var(--text-dark); 
    margin-top:1rem; 
    min-height:150px;
    border: 1px solid rgba(42, 157, 143, 0.15);
    box-shadow: inset 0 2px 8px rgba(15, 76, 117, 0.05);
}

.role-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    gap: 0.75rem;
}

.role-preview-placeholder svg {
    width: 3rem;
    height: 3rem;
    color: var(--primary-teal);
    opacity: 0.5;
}

.role-preview-placeholder strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.role-preview-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.highlight-eyebrow { 
    font-size: 1rem; 
    color: var(--primary-teal); 
    font-weight: 700; 
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-stat { 
    font-size: 1.5rem;
    color: var(--primary-blue); 
    margin-bottom: 1rem;
    font-weight: 800;
}

.security-explanation {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.security-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.security-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 50%;
}

.security-point h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.security-point p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.role-preview.flash { animation: roleFlash 0.65s ease; }
@keyframes roleFlash {
    0% { transform: translateY(0); box-shadow: none }
    30% { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(15,76,117,0.08) }
 100% { transform: translateY(0); box-shadow: none }
}

@media (max-width: 980px) {
    .preview-security-grid {
        grid-template-columns: 1fr;
    }
    .overview-main-title {
        font-size: 2.25rem;
    }
    .problem-challenges,
    .role-access-grid {
        grid-template-columns: 1fr;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(248, 250, 255, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 76, 117, 0.08),
                0 0 0 1px rgba(42, 157, 143, 0.1);
    border-top: 4px solid transparent;
    border-image: var(--gradient) 1;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: var(--text-light);
}

/* ----------------------------- */
/* Innovation Section */
/* ----------------------------- */
#innovation.section.bg-light,
#team.section.bg-light,
#testimonials.section.bg-light {
    background: linear-gradient(180deg, rgba(240, 247, 255, 0.6) 0%, rgba(250, 252, 255, 0.8) 100%);
}

.innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.innovation-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(248, 250, 255, 0.6) 100%);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid rgba(42, 157, 143, 0.1);
    position: relative;
    overflow: hidden;
}
.innovation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.05) 0%, transparent 70%);
    transition: transform 0.6s ease;
    transform: scale(0);
}
.innovation-card:hover::after {
    transform: scale(1);
}
.innovation-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}
.innovation-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.innovation-icon-bg {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.innovation-card:hover .innovation-icon-bg {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(42, 157, 143, 0.4);
}
.innovation-icon-bg svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ----------------------------- */
/* Benefits Section */
/* ----------------------------- */
#benefits.section {
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.4) 0%, var(--bg-white) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.benefit-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(248, 250, 255, 0.8) 100%);
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    text-align: center;
    border: 1px solid rgba(42, 157, 143, 0.1);
    position: relative;
    transition: all 0.4s ease;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.benefit-card > * {
    position: relative;
    z-index: 1;
}
.benefit-card:hover::before {
    opacity: 0.05;
}
.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}
.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ----------------------------- */
/* Team Section */
/* ----------------------------- */
#team.section {
    background: linear-gradient(180deg, rgba(240, 247, 255, 0.7) 0%, rgba(250, 252, 255, 0.9) 100%);
}

/* Team Header */
.team-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}
.team-header .section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.team-member {
    background: #ffffff;
    padding: 0;
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(15, 76, 117, 0.08);
    border: 1px solid rgba(15, 76, 117, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.team-member::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.team-member:hover::before {
    opacity: 1;
}
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(15, 76, 117, 0.15);
}

/* Photo Wrapper */
.team-member-photo-wrapper {
    position: relative;
    width: 100%;
    padding-top: 110%; /* Slightly taller aspect ratio */
    overflow: hidden;
    border-radius: 1.25rem 1.25rem 0 0;
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.05), rgba(42, 157, 143, 0.05));
}
.team-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 76, 117, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.25rem;
}
.overlay-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.team-member:hover .team-photo {
    transform: scale(1.08);
}
.team-member:hover .photo-overlay {
    opacity: 1;
}

/* Content Section */
.team-member-content {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
}
.team-member h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.team-member p.role {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Expertise Tags */
.expertise-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}
.expertise-tags .tag {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(99, 102, 241, 0.1));
    color: var(--primary-teal);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    transition: all 0.3s ease;
}
.expertise-tags .tag:hover {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-purple));
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* LinkedIn Link Styling */
.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}
.linkedin-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.5);
    background: linear-gradient(135deg, #005582 0%, #0077b5 100%);
}
.linkedin-icon {
    width: 22px;
    height: 22px;
}

/* ----------------------------- */
/* Footer Section */
/* ----------------------------- */
.footer {
    color: var(--bg-white);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}
.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}
.footer > .container {
    position: relative;
    z-index: 1;
}

/* Footer CTA Section */
.footer-cta {
    text-align: center;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}
.footer-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
}
.footer-buttons .btn svg {
    width: 20px;
    height: 20px;
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0 2.5rem;
    text-align: left;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
}

/* Footer About */
.footer-about {
    max-width: 350px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.footer-logo-img {
    height: 45px;
    width: auto;
}
.footer-logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}
.footer-logo-accent {
    background: linear-gradient(135deg, #90e0ef 0%, #caf0f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}
.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: width 0.3s ease;
}
.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}
.footer-links a:hover::before {
    width: 100%;
}

/* Legal Links with Icons */
.footer-legal a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.legal-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.3s ease;
}
.footer-legal a:hover .legal-icon {
    transform: translateX(3px);
}

/* Footer Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}
.footer-contact-item .contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    word-break: break-word;
}
.footer-contact-item a:hover {
    color: #ffffff;
}
.footer-contact-item span {
    font-size: 0.9rem;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}
.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: 0.3px;
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}
.footer-note.mandate {
    font-weight: 600;
    opacity: 1;
}

/* ----------------------------- */
/* How It Works Section */
/* ----------------------------- */
#how-it-works.section {
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.4) 0%, var(--bg-white) 100%);
    padding: 5rem 0;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 76, 117, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(15, 76, 117, 0.15);
    border-color: var(--primary-teal);
}
.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
}
.step-icon {
    font-size: 4rem;
    margin: 1.5rem 0 1rem;
    display: block;
}
.step-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}
.step-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ----------------------------- */
/* Testimonials Section */
/* ----------------------------- */
#testimonials.section {\n    background: linear-gradient(180deg, rgba(240, 247, 255, 0.6) 0%, rgba(250, 252, 255, 0.8) 100%);\n    padding: 5rem 0;\n}\n\n.testimonials-container {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}
.testimonial-card {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.testimonial-card.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.testimonial-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 76, 117, 0.1);
    position: relative;
}
.testimonial-quote {
    font-size: 5rem;
    color: var(--primary-teal);
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}
.testimonial-author h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-weight: 700;
}
.testimonial-author p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.testimonial-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.testimonial-btn:hover {
    background: var(--primary-teal);
    transform: scale(1.1);
}
.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 76, 117, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* ----------------------------- */
/* FAQ Section */
/* ----------------------------- */
#faq.section {
    background: linear-gradient(180deg, var(--bg-white) 0%, rgba(248, 250, 255, 0.4) 100%);
    padding: 5rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}
.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 76, 117, 0.08);
    border: 1px solid rgba(15, 76, 117, 0.1);
    transition: all 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(15, 76, 117, 0.12);
}
.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.faq-question:hover {
    color: var(--primary-teal);
}
.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}
.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* ----------------------------- */
/* Responsive Design (kept at end) */
/* ----------------------------- */
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1024px) {
    .hero-mockup-image {
        transform: translateX(4%); 
    }
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .container {
        padding: 0 1.5rem;
    }
    .innovation-card,
    .feature-card,
    .benefit-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 4.5rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 4.5rem);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
        overflow-y: auto;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(15, 76, 117, 0.1);
    }
    .nav-btn {
        display: none;
    }
    
    /* Hero Section */
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-text {
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-mockup-image {
        width: 100%;
        max-width: 350px;
        transform: translateX(0%);
    }
    
    /* Grid Layouts */
    .features-grid, 
    .innovations-grid, 
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .team-member-photo-wrapper {
        padding-top: 100%;
    }
    .expertise-tags {
        gap: 0.4rem;
    }
    .expertise-tags .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }
    /* Footer */
    .footer-cta h2 {
        font-size: 1.75rem;
    }
    .footer-cta p {
        font-size: 1rem;
    }
    .footer-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 0 2rem;
    }
    .footer-about {
        max-width: 100%;
    }
    .footer-contact-list {
        display: grid;
        gap: 0.75rem;
    }
    .footer-social {
        justify-content: flex-start;
    }
    
    .overview-main-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
    .problem-section,
    .solution-section {
        padding: 1.5rem;
    }
    .section-label {
        font-size: 1.5rem;
    }
    .section-icon {
        width: 3rem;
        height: 3rem;
    }
    .section-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    .problem-description,
    .solution-intro {
        font-size: 1rem;
    }
    .challenge-item {
        flex-direction: column;
        text-align: center;
    }
    .challenge-icon {
        font-size: 2.5rem;
    }
    .role-access-card {
        padding: 1.5rem;
    }
    .preview-security-grid {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 1.5rem;
    }
    .role-buttons {
        gap: 0.5rem;
    }
    .role-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.9rem;
    }
    .solution-features {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .feature-tag {
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Logo */
    .logo-img {
        height: 40px;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    
    /* Splash Screen */
    .splash-text {
        font-size: 2.5rem;
    }
    .splash-logo {
        width: 80px;
        height: 80px;
    }
    .splash-tagline {
        font-size: 0.9rem;
    }
    
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .testimonial-content {
        padding: 2rem;
    }
    .testimonial-text {
        font-size: 1rem;
    }
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 1.5rem;
    }
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .overview-main-title {
        font-size: 1.5rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .role-buttons {
        grid-template-columns: 1fr;
    }
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    .logo-text {
        font-size: 1.25rem;
    }
    .logo-img {
        height: 35px;
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    .step-card {
        padding: 2rem 1.5rem;
    }
    .testimonial-content {
        padding: 1.5rem;
    }
    .testimonial-quote {
        font-size: 3rem;
        top: 0.5rem;
        left: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .splash-screen {
        padding: 2rem;
    }
    .nav-links.active {
        height: 100vh;
        overflow-y: auto;
    }
}

/* =================================
   Legal Modal Styles
================================= */

.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.legal-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #64748b;
}

.legal-modal-close:hover {
    background: #f1f5f9;
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.legal-modal-header {
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.legal-modal-header .modal-icon {
    color: var(--primary-teal);
    flex-shrink: 0;
}

.legal-modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.legal-modal-body {
    padding: 2rem 2.5rem 2.5rem;
    overflow-y: auto;
    flex: 1;
    color: var(--text-light);
    line-height: 1.8;
}

/* Custom Scrollbar for Modal */
.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 10px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Modal Content Styles */
.legal-modal-body h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.legal-modal-body h3:first-child {
    margin-top: 0;
}

.legal-modal-body h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.legal-modal-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-modal-body ul, .legal-modal-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.legal-modal-body li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-modal-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-modal-body .last-updated {
    display: inline-block;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(99, 102, 241, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .legal-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .legal-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .legal-modal-body {
        padding: 1.5rem;
    }
    
    .legal-modal-close {
        right: 15px;
        top: 15px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .legal-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .legal-modal-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
}
