:root {
    --primary: #1E3A5F;
    --primary-light: #2E5A8F;
    --accent: #00B4D8;
    --accent-glow: rgba(0, 180, 216, 0.3);
    --warm: #FF6B35;
    --success: #10B981;
    --dark: #0D1B2A;
    --navy: #1B263B;
    --light: #F7F9FC;
    --lighter: #FFFFFF;
    --text: #1F2937;
    --text-light: #64748B;
    --gradient-hero: linear-gradient(135deg, #1E3A5F 0%, #00B4D8 50%, #0D1B2A 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B35 0%, #FF8A5B 100%);
    --gradient-accent: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--lighter);
    line-height: 1.7;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-warm);
    color: var(--lighter);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--lighter);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--lighter);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.solutions-hero {
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solutions-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.solutions-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--lighter);
    margin-bottom: 20px;
    position: relative;
}

.solutions-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

/* Role Cards */
.role-cards-section {
    padding: 100px 0;
    background: var(--light);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.role-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.role-card {
    background: var(--lighter);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.role-card:hover,
.role-card.active {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.role-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: var(--transition);
}

.role-card:nth-child(1) .role-icon {
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
}

.role-card:nth-child(2) .role-icon {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
}

.role-card:nth-child(3) .role-icon {
    background: linear-gradient(135deg, #FFEDD5, #FED7AA);
}

.role-card:nth-child(4) .role-icon {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
}

.role-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.role-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Detailed Sections */
.role-detail-section {
    padding: 100px 0;
    position: relative;
}

.role-detail-section:nth-child(even) {
    background: var(--light);
}

.role-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.role-detail-grid.reverse {
    direction: rtl;
}

.role-detail-grid.reverse>* {
    direction: ltr;
}

.role-detail-content {
    padding: 20px 0;
}

.role-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(30, 58, 95, 0.1));
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.role-detail-content h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.role-detail-content>p {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--light);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-check {
    width: 28px;
    height: 28px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lighter);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list li span {
    font-size: 16px;
    color: var(--text);
}

.role-detail-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--lighter);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1), transparent 70%);
}

.visual-icon {
    font-size: 80px;
    margin-bottom: 24px;
    position: relative;
}

.visual-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.floating-stat {
    position: absolute;
    background: var(--lighter);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-stat-1 {
    top: 20px;
    left: -30px;
    animation-delay: 0s;
}

.floating-stat-2 {
    bottom: 40px;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-stat-icon.blue {
    background: #E0F2FE;
}

.floating-stat-icon.green {
    background: #D1FAE5;
}

.floating-stat-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.floating-stat-text span {
    font-size: 12px;
    color: var(--text-light);
}

/* Integrations Section */
.integrations-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--lighter);
    text-align: center;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.integration-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.integration-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.integration-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.integration-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--lighter);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--lighter);
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 40px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.footer-logo:hover {
    transform: translateX(5px);
}

.footer-logo img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
    transition: all 0.4s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 180, 216, 0.4);
}

.footer-brand .logo-text {
    font-size: 32px;
    color: var(--lighter);
    font-weight: 800;
    background: linear-gradient(135deg, var(--lighter) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand>p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
}

.footer-column h4 {
    color: var(--lighter);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 14px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1200px) {
    .role-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--lighter);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .role-detail-grid,
    .role-detail-grid.reverse {
        grid-template-columns: 1fr;
    }

    .role-detail-grid.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .role-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}