/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --shadow-color: rgba(15, 23, 42, 0.1);

    /* Accent Colors */
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --secondary-500: #06b6d4;
    --secondary-600: #0891b2;
    --accent-500: #ec4899;
    --success-500: #10b981;
    --warning-500: #f59e0b;
    --error-500: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 var(--shadow-color);
    --shadow-md:
        0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
    --shadow-lg:
        0 10px 15px -3px var(--shadow-color), 0 4px 6px -4px var(--shadow-color);
    --shadow-xl:
        0 20px 25px -5px var(--shadow-color),
        0 8px 10px -6px var(--shadow-color);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;

    /* Enhanced Shadows */
    --shadow-flat: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-raised: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-elevated: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10);
    --shadow-floating: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    --shadow-inset: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Light Theme (Default) */
body {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --shadow-color: rgba(15, 23, 42, 0.1);
}

/* Dark Theme Variables */
.dark-theme {
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: #1e1e3f;
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --text-tertiary: #7d7d8a;
    --border-color: #2d2d44;
    --shadow-color: rgba(0, 0, 0, 0.3);

    /* Dark Theme Shadows */
    --shadow-flat: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-raised: 0 3px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-elevated: 0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3);
    --shadow-floating: 0 14px 28px rgba(0, 0, 0, 0.5), 0 10px 10px rgba(0, 0, 0, 0.4);
    --shadow-inset: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition:
        background-color var(--transition-base),
        color var(--transition-base);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section-tag {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-tertiary);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base), box-shadow var(--transition-base);
    white-space: nowrap;
    background: transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-raised);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-flat);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-flat);
}

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: var(--shadow-raised);
    transform: translateY(-1px);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: var(--shadow-flat);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: relative;
    cursor: pointer;
    background: var(--bg-card);
    border: 2px solid var(--primary-500);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    width: 70px;
    height: 40px;
    display: flex;
    align-items: center;
    margin-right: var(--space-md);
}

.theme-toggle:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.toggle-track {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.toggle-thumb {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dark-theme .toggle-thumb {
    left: calc(100% - 32px);
}

.sun-icon {
    opacity: 1;
    transition: all 0.3s ease;
    color: #f59e0b;
}

.moon-icon {
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease;
    color: #6366f1;
}

.dark-theme .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.dark-theme .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.light-theme .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.light-theme .moon-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-sticky);
    transition: all var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-theme .navbar {
    background: rgba(15, 15, 35, 0.95);
}

.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    box-shadow: var(--shadow-raised);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-icon {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: all var(--transition-base);
    border-radius: 10%;
    animation: imageReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
    opacity: 0;
    animation-fill-mode: both;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* Dark theme logo styling */

.dark-theme .logo:hover .logo-icon {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

@keyframes logoPulse {

    0%,
    100% {
        box-shadow: var(--shadow-sm);
    }

    50% {
        box-shadow:
            0 0 0 4px rgba(139, 92, 246, 0.1),
            var(--shadow-sm);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-500);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: nowrap;
}

.nav-actions .theme-toggle {
    order: 1;
    margin-right: var(--space-md);
}

.nav-actions .btn {
    order: 2;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    order: 3;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
}

.hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0.05;
}

.dark-theme .hero-bg {
    opacity: 0.1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 60%;
    animation-delay: 4s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    z-index: 2;
    position: relative;
    width: 100%;
}

.hero-title {
    margin-bottom: var(--space-lg);
    animation: textReveal 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    opacity: 0;
    animation-fill-mode: both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    animation: textReveal 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
    line-height: 1.6;
    opacity: 0;
    animation-fill-mode: both;
}

/* ===== INTRODUCTION AND ABOUT SECTION ===== */
.introduction-about {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.intro-about-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-section {
    background: var(--bg-card);
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    max-width: 800px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.intro-section:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.intro-section h2 {
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.intro-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.intro-section .section-tag {
    margin-bottom: var(--space-md);
    display: inline-block;
    color: var(--primary-500);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding-top: 2%;
    padding-bottom: 2%;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: slideInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
    flex-wrap: wrap;
    opacity: 0;
    animation-fill-mode: both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    animation: slideInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
    opacity: 0;
    animation-fill-mode: both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-500);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
    opacity: 0;
    animation-fill-mode: both;
}

.molecular-structure {
    position: relative;
    width: 400px;
    height: 300px;
}

.hexagon-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hexagon {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--bg-card);
    border: 2px solid var(--primary-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-raised);
}

.hexagon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-elevated);
}

.hex-1 {
    top: 50px;
    left: 50px;
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both, float 3s ease-in-out infinite 2s;
    opacity: 0;
    animation-fill-mode: both;
}

.hex-2 {
    top: 50px;
    right: 50px;
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s both, float 3s ease-in-out infinite 2.5s;
    opacity: 0;
    animation-fill-mode: both;
}

.hex-3 {
    bottom: 50px;
    left: 50px;
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.4s both, float 3s ease-in-out infinite 3s;
    opacity: 0;
    animation-fill-mode: both;
}

.hex-4 {
    bottom: 50px;
    right: 50px;
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.6s both, float 3s ease-in-out infinite 3.5s;
    opacity: 0;
    animation-fill-mode: both;
}

.hex-content {
    text-align: center;
    color: var(--primary-500);
}

.hex-content i {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    display: block;
}

.hex-content span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.connection-path {
    stroke: var(--primary-500);
    stroke-width: 2;
    fill: none;
    opacity: 0.3;
    stroke-dasharray: 5, 5;
    animation: dash 2s linear infinite;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.partners-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.partners-header p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base), box-shadow var(--transition-base);
    text-align: center;
    box-shadow: var(--shadow-flat);
    opacity: 0;
    transform: scale(0.9);
    animation-fill-mode: both;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-raised);
    border-color: var(--primary-500);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.partner-logo i {
    font-size: 2rem;
    color: var(--text-tertiary);
    transition: color var(--transition-base);
}

.partner-logo:hover i {
    color: var(--primary-500);
}

.partner-logo span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--space-3xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-xl);
    transition: all var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-flat);
    opacity: 0;
    transform: translateY(30px);
    animation-fill-mode: both;
}

.about-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-elevated);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

.card-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.expertise-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.expertise-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-500);
    margin-bottom: var(--space-xs);
}

.expertise-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 400px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.tech-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    animation: techItemFloat 3s ease-in-out infinite;
}

.tech-circle:nth-child(1) {
    animation-delay: 0s;
}

.tech-circle:nth-child(2) {
    animation-delay: 0.5s;
}

.tech-circle:nth-child(3) {
    animation-delay: 1s;
}

.tech-circle:nth-child(4) {
    animation-delay: 1.5s;
}

.tech-item {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    transition: all var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
}

.tech-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(139, 92, 246, 0.2),
            transparent);
    transition: left 0.6s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover,
.tech-item.active {
    border-color: var(--primary-500);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-elevated);
    background: linear-gradient(135deg,
            var(--bg-card) 0%,
            rgba(139, 92, 246, 0.05) 100%);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary-500);
    transition: all var(--transition-base);
    z-index: 2;
}

.tech-item:hover i {
    color: var(--primary-600);
    transform: scale(1.2);
}

.tech-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    z-index: 2;
}

.tech-item:hover span {
    color: var(--primary-600);
    transform: translateY(-2px);
}

@keyframes techItemFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== TECH STACK SECTION ===== */
.tech-stack {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(139, 92, 246, 0.02) 50%,
            transparent 100%);
    z-index: 1;
}

.tech-stack .container {
    position: relative;
    z-index: 2;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.tech-category {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.tech-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: left 0.6s ease;
}

.tech-category:hover::before {
    left: 100%;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-500);
}

.tech-category:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-category:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-category:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-category:nth-child(4) {
    animation-delay: 0.4s;
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.category-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.1) 0%,
            rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.tech-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-500);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    z-index: 2;
}

.tech-card:hover .tech-logo {
    color: var(--primary-600);
    transform: scale(1.1) rotate(5deg);
}

.tech-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: color var(--transition-base);
    z-index: 2;
}

.tech-card:hover .tech-name {
    color: var(--primary-600);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.tech-card-animate {
    animation: fadeInUp 0.6s ease-out backwards;
}

.tech-category.animate-in {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-flat);
    opacity: 0;
    transform: translateY(50px);
    animation-fill-mode: both;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-floating);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover * {
    color: white !important;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: white;
    font-size: 1.5rem;
}

.service-card.premium .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.service-features i {
    color: var(--success-500);
    font-size: 0.75rem;
}

.service-footer {
    margin-top: auto;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    padding: var(--space-3xl) 0;
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.tab-button {
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-button:hover,
.tab-button.active {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.solution-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.solution-visual {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
}

.code-preview {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.code-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: var(--space-xs);
}

.code-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.code-dots span:nth-child(1) {
    background: var(--error-500);
}

.code-dots span:nth-child(2) {
    background: var(--warning-500);
}

.code-dots span:nth-child(3) {
    background: var(--success-500);
}

.code-content {
    padding: var(--space-md);
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-secondary);
    overflow-x: auto;
}

.solution-details h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.solution-details ul {
    list-style: none;
    margin-top: var(--space-lg);
}

.solution-details li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.solution-details li::before {
    content: "→";
    color: var(--primary-500);
    font-weight: 600;
}

/* ===== RESEARCH SECTION ===== */
.research {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.research-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.research-card:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.research-card:hover * {
    color: white !important;
}

.research-card.featured {
    background: var(--bg-card);
    border: 2px solid var(--primary-500);
    position: relative;
}

.research-card.featured::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.1;
}

.research-card.featured:hover {
    background: var(--gradient-primary);
    color: white;
    border: none;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.research-card.featured:hover * {
    color: white !important;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.research-type {
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary-500);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.research-card.featured .research-type {
    background: var(--primary-500);
    color: white;
}

.research-card.featured:hover .research-type {
    background: rgba(255, 255, 255, 0.2);
}

.research-date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.research-card h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.research-card p {
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.research-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.research-stats .stat {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.research-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto;
}

.research-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ===== TEAM SECTION ===== */
.team {
    padding: var(--space-3xl) 0;
}

.team-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
}

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-flat);
    opacity: 0;
    transform: translateX(-30px);
    animation-fill-mode: both;
}

.team-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-elevated);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: white;
    font-size: 2rem;
}

.team-content h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.team-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.feature i {
    color: var(--primary-500);
    width: 16px;
}

.excellence-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.excellence-metrics .metric {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.excellence-metrics .metric-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-500);
    margin-bottom: var(--space-xs);
}

.excellence-metrics .metric-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.contact-header p {
    margin: 0;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.contact-details {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-item i {
    color: var(--primary-500);
    font-size: 1.25rem;
    margin-top: 4px;
    width: 20px;
}

.contact-item strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-xs);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.internship-info {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.info-badge {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-badge i {
    color: var(--primary-500);
    font-size: 1.25rem;
    margin-top: 4px;
}

.info-badge strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-xs);
}

.info-badge p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes imageReveal {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 500px;
        margin: 0 auto;
    }

    .intro-about-grid {
        padding: 0 var(--space-md);
    }

    .intro-section {
        padding: var(--space-2xl);
        max-width: 100%;
    }

    .intro-section h2 {
        font-size: 1.75rem;
    }

    .intro-section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .solution-showcase {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .team-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
        max-width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-2xl);
        transition: left var(--transition-base);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo-icon {
        width: 65px;
        height: 65px;
    }

    .nav-container {
        padding: 0 var(--space-md);
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .theme-toggle {
        width: 60px;
        height: 35px;
        order: 1;
        margin-right: var(--space-sm);
    }

    .nav-actions .btn {
        order: 2;
        display: none;
    }

    .hero {
        padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
        text-align: center;
        min-height: 90vh;
    }

    .hero-content {
        gap: var(--space-xl);
        padding: 0;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        justify-items: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .molecular-structure {
        width: 300px;
        height: 250px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-tabs {
        flex-direction: column;
        align-items: center;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .tech-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
        max-width: 300px;
        padding: var(--space-md);
    }

    .tech-circle {
        width: 100px;
        height: 100px;
    }

    .tech-item i {
        font-size: 1.2rem;
    }

    .tech-item span {
        font-size: 0.65rem;
    }

    .tech-categories {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .tech-card {
        padding: var(--space-md);
    }

    .tech-logo {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .tech-name {
        font-size: 0.8rem;
    }

    .excellence-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
        max-width: 100%;
    }

    .logo-icon {
        width: 55px;
        height: 55px;
    }

    .nav-actions {
        gap: var(--space-xs);
        flex-wrap: wrap;
    }

    .theme-toggle {
        width: 50px;
        height: 30px;
        padding: 4px;
        order: 1;
        margin-right: var(--space-sm);
    }

    .nav-actions .btn {
        order: 2;
        display: none;
    }

    .mobile-toggle {
        order: 3;
    }

    .logo-text {
        font-size: 1.125rem;
    }

    .tech-showcase {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
        max-width: 250px;
        padding: var(--space-sm);
    }

    .tech-circle {
        width: 80px;
        height: 80px;
    }

    .tech-item i {
        font-size: 1rem;
    }

    .tech-item span {
        font-size: 0.6rem;
    }

    .tech-item:hover,
    .tech-item.active {
        transform: scale(1.05);
    }

    .tech-categories {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xs);
    }

    .tech-card {
        padding: var(--space-sm);
    }

    .tech-logo {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tech-name {
        font-size: 0.75rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .category-header h3 {
        font-size: 1.125rem;
    }

    .nav-container {
        padding: 0 var(--space-sm);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.875rem;
    }

    .btn-large {
        padding: var(--space-md) var(--space-lg);
    }

    .hero-visual {
        order: -1;
    }

    .molecular-structure {
        width: 250px;
        height: 200px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .research-actions {
        flex-direction: column;
    }

    .team-card {
        padding: var(--space-lg);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root:not(.light-theme) {
        --bg-primary: #0f0f23;
        --bg-secondary: #1a1a2e;
        --bg-tertiary: #16213e;
        --bg-card: #1e1e3f;
        --text-primary: #ffffff;
        --text-secondary: #a8a8b3;
        --text-tertiary: #7d7d8a;
        --border-color: #2d2d44;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.tab-button:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .theme-toggle,
    .navbar,
    .hero-bg,
    .floating-particles {
        display: none;
    }

    * {
        color: black !important;
        background: white !important;
        box-shadow: none !important;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-tertiary);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.company-info {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-500);
    transform: translateX(3px);
}

.contact-section {
    max-width: 350px;
}

.contact-details {
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    color: var(--primary-500);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.internship-info {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 2px solid var(--primary-500);
    position: relative;
    overflow: hidden;
}

.internship-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.info-badge {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-badge i {
    color: var(--primary-500);
    font-size: 1.5rem;
    margin-top: 2px;
}

.info-badge strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.info-badge p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary-500);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--space-xl);
    }

    .contact-section {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .contact-details {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .company-info {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer-content {
        gap: var(--space-lg);
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .contact-item i {
        width: auto;
        margin-top: 0;
    }

    .internship-info {
        padding: var(--space-md);
    }

    .info-badge {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ===== CONTACT FORM MODAL ===== */
.contact-btn {
    margin-top: var(--space-lg);
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
    box-shadow: var(--shadow-xl);
    animation: pulse 2s ease-in-out infinite;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.4);
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
}

.contact-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: none;
    opacity: 0;
    transition: all var(--transition-base);
}

.contact-form-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    z-index: 1;
    transform: translateY(30px);
    transition: all var(--transition-base);
}

.contact-form-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-xl);
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-base);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--error-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

/* Contact Form Responsive Design */
@media (max-width: 768px) {
    .contact-form-modal {
        padding: var(--space-md);
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-header,
    .modal-body {
        padding: var(--space-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .form-actions {
        flex-direction: column;
    }

    .contact-btn {
        padding: var(--space-md) var(--space-xl);
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .modal-header,
    .modal-body {
        padding: var(--space-md);
    }

    .modal-header h3 {
        font-size: 1.25rem;
    }

    .contact-form {
        gap: var(--space-md);
    }
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification {
    position: fixed;
    top: var(--space-xl);
    right: var(--space-xl);
    z-index: var(--z-tooltip);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    transform: translateX(400px);
    opacity: 0;
    transition: all var(--transition-base);
    max-width: 350px;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.notification-content i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-success {
    border-left: 4px solid var(--success-500);
}

.notification-success .notification-content i {
    color: var(--success-500);
}

.notification-error {
    border-left: 4px solid var(--error-500);
}

.notification-error .notification-content i {
    color: var(--error-500);
}

.notification-info {
    border-left: 4px solid var(--primary-500);
}

.notification-info .notification-content i {
    color: var(--primary-500);
}

.notification-content span {
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .notification {
        right: var(--space-md);
        left: var(--space-md);
        max-width: none;
        min-width: auto;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
}

/* ===== team SECTION ===== */
.team {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-photo {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-color);
    transition: all var(--transition-base);
}

.team-card:hover .team-photo {
    border-color: var(--primary-500);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-base);
}

.team-card:hover .member-image {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-base);
}

.team-card:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay .social-links {
    display: flex;
    gap: var(--space-md);
}

.photo-overlay .social-link {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
    text-decoration: none;
    transition: all var(--transition-base);
    transform: translateY(20px);
}

.team-card:hover .photo-overlay .social-link {
    transform: translateY(0);
}

.photo-overlay .social-link:nth-child(1) {
    transition-delay: 0.1s;
}

.photo-overlay .social-link:nth-child(2) {
    transition-delay: 0.2s;
}

.photo-overlay .social-link:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-5px);
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.position {
    color: var(--primary-500);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.tag {
    background: var(--bg-tertiary);
    color: var(--primary-500);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.tag:hover {
    background: var(--primary-500);
    color: white;
    transform: scale(1.05);
}

.team-cta {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.team-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: rotate 10s linear infinite;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.team-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: white;
}

.team-cta p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-cta .btn {
    background: white;
    color: var(--primary-500);
    border: none;
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
    font-weight: 600;
}

.team-cta .btn:hover {
    background: var(--bg-tertiary);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* team Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-xl);
    }

    .team-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .team-card {
        padding: var(--space-lg);
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }

    .team-info h3 {
        font-size: 1.25rem;
    }

    .team-cta {
        padding: var(--space-2xl);
    }

    .team-cta h3 {
        font-size: 1.5rem;
    }

    .team-cta p {
        font-size: 1rem;
    }

    .expertise-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .team-photo {
        width: 100px;
        height: 100px;
    }

    .photo-overlay .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .team-cta {
        padding: var(--space-xl);
    }

    .team-cta .btn {
        padding: var(--space-md) var(--space-xl);
        font-size: 1rem;
    }
}

/* Ripple Effect Animation */
@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }

    100% {
        transform: scale(50);
        opacity: 0;
    }
}

/* Enhanced magnetic button effects */
.btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

/* Loading spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Bounce effect for interactive elements */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Glowing text effect */
@keyframes glowText {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    }

    50% {
        text-shadow:
            0 0 20px rgba(139, 92, 246, 0.8),
            0 0 30px rgba(139, 92, 246, 0.6);
    }
}

/* Apply glow effect to gradient text */
.gradient-text {
    animation: gradientShift 4s ease-in-out infinite;
}

/* Enhanced hover effects for navigation */
.nav-link:hover {
    animation: bounce 0.6s ease-in-out;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

/* ===== APPLE-STYLE SCROLL ANIMATIONS ===== */

/* Base scroll reveal styles */
.scroll-reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade up animation */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from sides */
.scroll-fade-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animations */
.scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.scroll-scale-up {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-scale-up.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Rotate and scale */
.scroll-rotate {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-rotate.revealed {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Text split animation for words */
.text-split-wrapper {
    overflow: hidden;
    display: inline-block;
}

.text-split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-split-word.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Preserve gradient text styling for split words */
.gradient-text .text-split-word,
.gradient-text .text-split-wrapper {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure hero title gradient is always visible */
.hero-title .gradient-text,
.hero-title .gradient-text .text-split-word,
.hero-title .gradient-text .text-split-wrapper {
    color: var(--primary-500) !important;
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Stagger animation delays for children */
.stagger-children>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children>*:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children>*:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children>*:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children>*:nth-child(7) {
    transition-delay: 0.35s;
}

.stagger-children>*:nth-child(8) {
    transition-delay: 0.4s;
}

.stagger-children>*:nth-child(9) {
    transition-delay: 0.45s;
}

.stagger-children>*:nth-child(10) {
    transition-delay: 0.5s;
}

/* Parallax container */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Scroll progress indicator */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transform-origin: left;
    transition: transform 0.1s linear;
}

/* 3D card tilt effect */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease-out;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateZ(20px);
}

/* Glow pulse animation */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(139, 92, 246, 0.3), 0 0 10px rgba(139, 92, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
    }
}

.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

.glow-pulse.revealed {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Float animation */
@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-element {
    animation: floatAnimation 4s ease-in-out infinite;
}

/* Zoom on scroll */
.scroll-zoom {
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-zoom.revealed {
    transform: scale(1);
}

/* Blur reveal */
.scroll-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, filter 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-blur.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Counter glow effect */
.counter-glow {
    transition: text-shadow 0.5s ease-out, transform 0.3s ease-out;
}

.counter-glow.revealed {
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 60px rgba(139, 92, 246, 0.3);
}

/* Section sticky reveal styles */
.sticky-section {
    position: sticky;
    top: 100px;
}

/* Clip path reveal */
.clip-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clip-reveal.revealed {
    clip-path: inset(0 0 0 0);
}

/* Mask reveal from bottom */
.mask-reveal {
    position: relative;
    overflow: hidden;
}

.mask-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    transform: translateY(0);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mask-reveal.revealed::after {
    transform: translateY(100%);
}

/* Hero specific animations */
.hero-title .scroll-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(120%);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-title.revealed .scroll-word {
    opacity: 1;
    transform: translateY(0);
}

/* Service card enhanced animations */
.service-card.scroll-reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 0.6s ease-out,
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease-out;
}

.service-card.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card.scroll-reveal:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-floating);
}

/* Team card animations */
.team-card.scroll-reveal {
    opacity: 0;
    transform: translateY(40px) rotate(-2deg);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* About cards with alternating animations */
.about-card.scroll-fade-left,
.about-card.scroll-fade-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Partner logos with pop effect */
.partner-logo.scroll-scale {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.partner-logo.scroll-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Hexagon animations */
.hexagon.scroll-scale {
    opacity: 0;
    transform: scale(0.5) rotate(-30deg);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hexagon.scroll-scale.revealed {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Tech circle animations */
.tech-circle.scroll-reveal {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tech-circle.scroll-reveal.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Expertise numbers */
.expertise-number.counter-glow {
    display: inline-block;
    transition: text-shadow 0.5s ease-out, transform 0.3s ease-out;
}

.expertise-number.counter-glow.revealed {
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: scale(1.05);
}

/* Contact section pulse */
@keyframes attentionPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(139, 92, 246, 0);
    }
}

.contact-btn.revealed {
    animation: attentionPulse 2s ease-in-out infinite;
    animation-delay: 1s;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .scroll-reveal,
    .scroll-fade-up,
    .scroll-fade-left,
    .scroll-fade-right,
    .scroll-scale,
    .scroll-scale-up,
    .scroll-rotate,
    .scroll-blur,
    .scroll-zoom,
    .text-split-word,
    .parallax-element {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .glow-pulse,
    .float-element,
    .contact-btn.revealed {
        animation: none !important;
    }
}

/* Mobile optimizations for scroll animations */
@media (max-width: 768px) {

    .scroll-reveal,
    .scroll-fade-up,
    .scroll-fade-left,
    .scroll-fade-right {
        transform: translateY(40px);
    }

    .scroll-scale,
    .scroll-scale-up {
        transform: scale(0.9);
    }

    .parallax-element {
        transform: none !important;
    }

    .tilt-card:hover {
        transform: none;
    }
}

/* =========================================
   New Service Page Animations
   ========================================= */

/* AI Integration: Neural Network */
.neural-network-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.neural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    transform: rotate(45deg);
}

.neural-node {
    width: 20px;
    height: 20px;
    background: var(--primary-500);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-500);
    position: relative;
    animation: nodePulse 2s ease-in-out infinite;
}

/* Connecting line effect */
.neural-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), transparent);
    z-index: -1;
    transform-origin: left center;
    opacity: 0.3;
}

.neural-node:nth-child(3n)::before {
    display: none;
}

/* Hide lines on right edge */

.neural-node:nth-child(1) {
    animation-delay: 0s;
}

.neural-node:nth-child(2) {
    animation-delay: 0.3s;
}

.neural-node:nth-child(3) {
    animation-delay: 0.6s;
}

.neural-node:nth-child(5) {
    transform: scale(1.3);
    box-shadow: 0 0 25px var(--primary-400);
    animation-delay: 0.5s;
    border: 2px solid white;
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 25px var(--primary-300);
    }
}


/* LLM Services: Streaming Text */
.llm-visual {
    position: relative;
    width: 380px;
    height: 260px;
    background: rgba(var(--bg-card-rgb), 0.5);
    /* Assuming fallback or card bg */
    background: var(--bg-card);
    border: 1px solid var(--primary-500);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.llm-content-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.llm-line {
    height: 12px;
    background: var(--text-tertiary);
    border-radius: 4px;
    opacity: 0.3;
    animation: typingLine 2s infinite ease-in-out;
}

.llm-line:nth-child(1) {
    width: 90%;
    animation-delay: 0s;
}

.llm-line:nth-child(2) {
    width: 75%;
    animation-delay: 0.5s;
    background: var(--primary-500);
    opacity: 0.5;
}

.llm-line:nth-child(3) {
    width: 85%;
    animation-delay: 1.0s;
}

.llm-line:nth-child(4) {
    width: 60%;
    animation-delay: 1.5s;
}

.llm-cursor {
    width: 10px;
    height: 20px;
    background: var(--primary-500);
    margin-top: 10px;
    animation: blinkCursor 0.8s infinite;
}

@keyframes typingLine {

    0%,
    100% {
        opacity: 0.3;
        width: 0;
    }

    50% {
        opacity: 0.8;
        width: 100%;
    }

    /* Simplified width animation */
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


/* Precision Analytics: Dynamic Charts */
.analytics-visual {
    position: relative;
    width: 400px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

.chart-bar {
    width: 40px;
    background: var(--gradient-primary);
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    animation: barGrow 3s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

.chart-bar:nth-child(1) {
    height: 120px;
    animation-delay: 0s;
}

.chart-bar:nth-child(2) {
    height: 180px;
    animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
    height: 150px;
    animation-delay: 0.4s;
}

.chart-bar:nth-child(4) {
    height: 220px;
    animation-delay: 0.1s;
}

.chart-bar:nth-child(5) {
    height: 140px;
    animation-delay: 0.5s;
}

.analytics-floating-pie {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-500) 0deg 240deg, transparent 240deg 360deg);
    border: 4px solid var(--bg-card);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    animation: spinPie 8s linear infinite;
}

@keyframes barGrow {
    0% {
        transform: scaleY(0.5);
    }

    100% {
        transform: scaleY(1.1);
    }
}

@keyframes spinPie {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== edERP CUSTOM VISUALS ===== */

/* ERP Hub Visual (Hero) */
.erp-hub-visual {
    width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.hub-center {
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    border: 2px solid var(--primary-500);
    position: relative;
    z-index: 10;
    animation: pulseGlow 3s infinite alternate;
}

.hub-center i {
    font-size: 3rem;
    color: var(--primary-500);
}

.hub-satellite {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    z-index: 5;
    transition: all 0.3s ease;
}

.hub-satellite i {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.hub-satellite:hover {
    transform: scale(1.1);
    border-color: var(--primary-500);
}

.hub-satellite:hover i {
    color: var(--primary-500);
}

/* Satellite Positions with animation */
.sat-1 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatSat 4s ease-in-out infinite;
}

.sat-2 {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation: floatSat 4s ease-in-out 1s infinite;
}

.sat-3 {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatSat 4s ease-in-out 2s infinite;
}

.sat-4 {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    animation: floatSat 4s ease-in-out 3s infinite;
}

/* Connecting Lines */
.hub-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
    opacity: 0.3;
    z-index: 0;
}

.line-v {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.line-h {
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    }

    100% {
        box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
    }
}

@keyframes floatSat {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -10px;
    }
}

/* Web Portal Visual (Browser Mockup) */
.browser-mockup {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.browser-mockup:hover {
    transform: translateY(-5px);
}

.browser-header {
    background: var(--bg-secondary);
    padding: 12px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.browser-content {
    padding: 20px;
    background: var(--bg-card);
}

.mock-sidebar {
    width: 20%;
    height: 150px;
    background: var(--bg-secondary);
    border-radius: 4px;
    float: left;
    margin-right: 5%;
}

.mock-main {
    width: 75%;
    float: left;
}

.mock-card {
    background: var(--bg-tertiary);
    height: 40px;
    margin-bottom: 10px;
    border-radius: 4px;
    width: 100%;
}

.mock-card.lg {
    height: 80px;
}

/* Mobile App Visual (Phone Mockup) */
.phone-mockup {
    width: 280px;
    height: 500px;
    /* Taller */
    background: #111;
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
    border: 8px solid #333;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.phone-header {
    height: 60px;
    background: var(--primary-500);
    margin-bottom: 20px;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.app-grid {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.app-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-card i {
    font-size: 1.5rem;
    color: var(--primary-500);
    margin-bottom: 5px;
}

.app-line {
    height: 4px;
    width: 60%;
    background: var(--border-color);
    border-radius: 2px;
}

/* Security Visual (Enhanced Shield) */
.security-visual {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.shield-icon {
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
}

.shield-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px dashed var(--primary-500);
    border-radius: 50%;
    animation: spinSlow 10s linear infinite;
    opacity: 0.3;
}

.shield-ring.outer {
    width: 260px;
    height: 260px;
    border-style: solid;
    border-width: 1px;
    animation-direction: reverse;
    opacity: 0.2;
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .erp-hub-visual {
        width: 300px;
        height: 300px;
    }

    .hub-center {
        width: 80px;
        height: 80px;
    }

    .hub-center i {
        font-size: 2rem;
    }

    .hub-satellite {
        width: 50px;
        height: 50px;
    }

    .hub-satellite i {
        font-size: 1rem;
    }
}

/* ===== FAKE UI DETAILS ===== */

/* Browser Mockup Details */
.mock-sidebar-item {
    height: 10px;
    width: 60%;
    background: var(--border-color);
    margin-bottom: 15px;
    border-radius: 2px;
    opacity: 0.5;
}

.mock-sidebar-item.active {
    background: var(--primary-500);
    width: 80%;
    opacity: 1;
}

.mock-chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    padding: 0 10px;
}

.mock-bar {
    width: 15%;
    background: var(--primary-500);
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
}

.mock-bar:nth-child(1) {
    height: 40%;
}

.mock-bar:nth-child(2) {
    height: 70%;
}

.mock-bar:nth-child(3) {
    height: 50%;
}

.mock-bar:nth-child(4) {
    height: 90%;
}

.mock-bar:nth-child(5) {
    height: 60%;
}

.mock-table-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}

.mock-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--border-color);
}

.mock-text-line {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    flex-grow: 1;
}

/* Phone Mockup Details */
.app-notification {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

.notif-icon {
    width: 30px;
    height: 30px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-500);
    font-size: 0.8rem;
}

.notif-content {
    flex-grow: 1;
}

.notif-title {
    height: 8px;
    width: 70%;
    background: var(--text-primary);
    opacity: 0.8;
    margin-bottom: 4px;
    border-radius: 2px;
}

.notif-sub {
    height: 6px;
    width: 40%;
    background: var(--text-secondary);
    opacity: 0.5;
    border-radius: 2px;
}

/* Feature Grid */
.feature-grid-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-card-sm {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card-sm:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-500);
}

.feature-icon-sm {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-md);
    color: var(--primary-500);
    font-size: 1.25rem;
}

.feature-card-sm h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.feature-card-sm p {
    font-size: 0.9rem;
    margin-bottom: 0;
}