/* Framework Base Styles - Premium Version */
:root {
    /* Core colors */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --accent: #7c3aed;
    --accent-dark: #6d28d9;
    --accent-light: #a78bfa;
    
    /* UI colors */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --background: #f9fafb;
    --card-bg: #ffffff;
    
    /* Status colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

.mt-6 {
    margin-top: 3rem;
}

/* Header Styles */
header {
    background-color: rgba(15, 23, 42, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.logo i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin: 0 0.5rem;
}

nav ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: color 0.3s, background-color 0.3s;
}

nav ul li a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Profile Dropdown Styles */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown .profile-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #e2e8f0;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: color 0.3s, background-color 0.3s;
}

.profile-dropdown .profile-btn i {
    margin-right: 0.5rem;
}

.profile-dropdown .profile-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 100;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.dropdown-content a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #f1f5f9;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

.logout-item {
    color: var(--error) !important;
    border-top: 1px solid #e2e8f0;
}

.logout-item:hover {
    background-color: #fef2f2 !important;
}

/* Hero section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: patternShift 60s linear infinite;
}

@keyframes patternShift {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge i {
    margin-right: 0.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 160px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Navigation */
.page-nav {
    background: var(--card-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 0;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item:hover::after,
.nav-item.active::after {
    transform: scaleX(1);
}

.nav-item.active {
    color: var(--primary);
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Content sections */
.content-section {
    margin-bottom: 5rem;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.content-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

/* Importance grid */
.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.importance-item {
    border-radius: 1rem;
    padding: 2rem;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.importance-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.item-header i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.item-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover i {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.benefit-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* Levels grid */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.level-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.level-header {
    margin-bottom: 1.5rem;
}

.level-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.level-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.level-features {
    list-style: none;
}

.level-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.level-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Table styles */
.table-container {
    overflow-x: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1.5rem;
}

.use-cases-table,
.challenges-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.use-cases-table th,
.challenges-table th {
    background: var(--primary-dark);
    color: white;
    text-align: left;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.use-cases-table td,
.challenges-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.use-cases-table tr:last-child td,
.challenges-table tr:last-child td {
    border-bottom: none;
}

.use-cases-table tr:nth-child(even),
.challenges-table tr:nth-child(even) {
    background: #f9fafb;
}

.use-cases-table tr:hover td,
.challenges-table tr:hover td {
    background: rgba(79, 70, 229, 0.05);
}

/* Feature list items */
.feature-list-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list-items li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-list-items li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Step list */
.step-list {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
}

.step-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
}

/* Enablers grid */
.enablers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.enabler-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enabler-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.enabler-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.enabler-card:hover .enabler-icon {
    background: var(--primary);
    color: white;
}

.enabler-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.enabler-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Implementation steps */
.implementation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.step-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid var(--primary);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

/* Use cases grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.use-case-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.5rem;
}

.use-case-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* Integration grid */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.integration-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--primary);
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.framework-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.25rem;
}

.integration-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.final-insight {
    background: rgba(79, 70, 229, 0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 3px solid var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .importance-grid,
    .levels-grid,
    .enablers-grid,
    .benefits-grid,
    .implementation-steps,
    .use-cases-grid,
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .integration-card {
        border-left: none;
        border-top: 3px solid var(--primary);
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.importance-item,
.level-card,
.enabler-card,
.benefit-item,
.step-card,
.use-case-card,
.integration-card {
    opacity: 0;
    animation: slideInUp 0.6s forwards;
}

/* Staggered animations */
.importance-item:nth-child(1),
.level-card:nth-child(1),
.enabler-card:nth-child(1),
.benefit-item:nth-child(1),
.step-card:nth-child(1),
.use-case-card:nth-child(1),
.integration-card:nth-child(1) {
    animation-delay: 0.1s;
}

.importance-item:nth-child(2),
.level-card:nth-child(2),
.enabler-card:nth-child(2),
.benefit-item:nth-child(2),
.step-card:nth-child(2),
.use-case-card:nth-child(2),
.integration-card:nth-child(2) {
    animation-delay: 0.2s;
}

.importance-item:nth-child(3),
.level-card:nth-child(3),
.enabler-card:nth-child(3),
.benefit-item:nth-child(3),
.step-card:nth-child(3),
.use-case-card:nth-child(3),
.integration-card:nth-child(3) {
    animation-delay: 0.3s;
}

.importance-item:nth-child(4),
.level-card:nth-child(4),
.enabler-card:nth-child(4),
.benefit-item:nth-child(4),
.step-card:nth-child(4) {
    animation-delay: 0.4s;
}

.importance-item:nth-child(5),
.level-card:nth-child(5),
.enabler-card:nth-child(5),
.benefit-item:nth-child(5),
.step-card:nth-child(5) {
    animation-delay: 0.5s;
}

.enabler-card:nth-child(6) {
    animation-delay: 0.6s;
}

.enabler-card:nth-child(7) {
    animation-delay: 0.7s;
}
