@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
    --primary-color: #0d9488;
    --secondary-color: #a3e635;
    --accent-color: #84cc16;
    --dark-bg: #0a1a18;
    --darker-bg: #040d0c;
    --light-text: #f0fdf4;
    --gray-text: #94a3b8;
    --gradient-1: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #a3e635 100%);
    --gradient-2: linear-gradient(135deg, #0a1a18 0%, #0f2922 100%);
    --shadow-sm: 0 2px 8px rgba(13, 148, 136, 0.1);
    --shadow-md: 0 4px 16px rgba(13, 148, 136, 0.2);
    --shadow-lg: 0 8px 32px rgba(13, 148, 136, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(4, 13, 12, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(13, 148, 136, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(4, 13, 12, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.logo-3d {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    transform-style: preserve-3d;
    animation: rotate3d 10s infinite linear;
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.4);
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(180deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

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

/* Language Toggle */
.nav-actions {
    display: flex;
    align-items: center;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: 50px;
    color: var(--light-text);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: rgba(13, 148, 136, 0.25);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.2);
}

.lang-option {
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    opacity: 0.6;
    transition: var(--transition);
}

.lang-option.active {
    opacity: 1;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
}

.lang-separator {
    opacity: 0.4;
    font-weight: 300;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    border-radius: 3px;
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 { width: 400px; height: 400px; background: var(--primary-color); top: 10%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: var(--secondary-color); top: 60%; right: 10%; animation-delay: 2s; }
.shape-3 { width: 350px; height: 350px; background: var(--accent-color); bottom: 10%; left: 50%; animation-delay: 4s; }
.shape-4 { width: 250px; height: 250px; background: var(--primary-color); top: 30%; right: 30%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.glitch { position: relative; }
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.glitch::before {
    animation: glitch-1 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
}
.glitch::after {
    animation: glitch-2 2s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}
@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}
.mouse::before {
    content: '';
    width: 6px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}
@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.tech-illustration {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}
.tech-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.4));
}

.brain-path { animation: brainPulse 4s ease-in-out infinite; }
@keyframes brainPulse {
    0%, 100% { stroke-width: 3; opacity: 0.6; }
    50% { stroke-width: 4; opacity: 1; }
}

.neural-node { animation: nodePulse 2s ease-in-out infinite; }
.neural-node:nth-child(1) { animation-delay: 0s; }
.neural-node:nth-child(2) { animation-delay: 0.2s; }
.neural-node:nth-child(3) { animation-delay: 0.4s; }
.neural-node:nth-child(4) { animation-delay: 0.6s; }
.neural-node:nth-child(5) { animation-delay: 0.8s; }
.neural-node:nth-child(6) { animation-delay: 1s; }
.neural-node:nth-child(7) { animation-delay: 1.2s; }
@keyframes nodePulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.connection-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawConnection 3s ease-in-out infinite;
}
.connection-line:nth-child(n) { animation-delay: calc(var(--i, 0) * 0.3s); }
@keyframes drawConnection {
    0%, 100% { stroke-dashoffset: 100; opacity: 0.2; }
    50% { stroke-dashoffset: 0; opacity: 0.8; }
}

.data-node-group {
    animation: orbitRotate 20s linear infinite;
    transform-origin: 300px 270px;
}
.data-node-group:nth-child(2) { animation-delay: -5s; }
.data-node-group:nth-child(3) { animation-delay: -10s; }
.data-node-group:nth-child(4) { animation-delay: -15s; }
@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.data-node { animation: dataNodePulse 2s ease-in-out infinite; }
@keyframes dataNodePulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hexagon { animation: hexRotate 8s ease-in-out infinite; transform-origin: center; }
.hexagon:nth-child(1) { animation-delay: 0s; }
.hexagon:nth-child(2) { animation-delay: 2s; }
.hexagon:nth-child(3) { animation-delay: 4s; }
.hexagon:nth-child(4) { animation-delay: 6s; }
@keyframes hexRotate {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.6; }
}

.binary-text { animation: binaryFloat 5s ease-in-out infinite; }
.binary-text:nth-child(1) { animation-delay: 0s; }
.binary-text:nth-child(2) { animation-delay: 1.25s; }
.binary-text:nth-child(3) { animation-delay: 2.5s; }
.binary-text:nth-child(4) { animation-delay: 3.75s; }
@keyframes binaryFloat {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-10px); }
}

.particle { animation: floatParticle 4s ease-in-out infinite; }
.particle:nth-child(n) { animation-delay: calc((var(--i, 0) - 1) * 0.8s); }
@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 1; }
}

.ai-illustration {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.ai-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
}

.ai-core { animation: coreRotate 10s linear infinite; transform-origin: center; }
.ai-core-inner { animation: coreRotate 8s linear infinite reverse; transform-origin: center; }
@keyframes coreRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ml-node { animation: mlNodePulse 3s ease-in-out infinite; }
@keyframes mlNodePulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

.ml-connection {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: mlConnectionFlow 4s ease-in-out infinite;
}
@keyframes mlConnectionFlow {
    0%, 100% { stroke-dashoffset: 200; opacity: 0.1; }
    50% { stroke-dashoffset: 0; opacity: 0.6; }
}

.flow-particle { animation: flowMove 5s ease-in-out infinite; }
.flow-particle:nth-child(n) { animation-delay: calc((var(--i, 0) - 1) * 1s); }
@keyframes flowMove {
    0% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(20px); }
}

.tech-bar { animation: barExtend 3s ease-in-out infinite; }
.tech-bar:nth-child(n) { animation-delay: calc((var(--i, 0) - 1) * 0.5s); }
@keyframes barExtend {
    0%, 100% { transform: scaleX(1); opacity: 0.2; }
    50% { transform: scaleX(1.5); opacity: 0.8; }
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
}

.services {
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before { opacity: 0.1; }
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon { margin-bottom: 1.5rem; }

.icon-3d {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transform-style: preserve-3d;
    transition: var(--transition);
}

.service-card:hover .icon-3d {
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--gray-text);
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.portfolio {
    background: var(--dark-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-10px); }

.portfolio-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: var(--transition);
}

.portfolio-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.portfolio-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.portfolio-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.portfolio-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
}

.portfolio-info h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.portfolio-info p { color: var(--gray-text); font-size: 0.9rem; }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h4 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.info-item p { color: var(--gray-text); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: var(--light-text);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea { resize: vertical; }

.form-group {
    position: relative;
}

.form-error {
    display: block;
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #f87171;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Container */
#toast-container {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    width: min(420px, calc(100% - 2rem));
}

html[dir="rtl"] #toast-container {
    left: 50%;
    right: auto;
}

/* Toast Notification */
.toast {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: toastSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.toast-hiding {
    animation: toastSlideOut 0.4s ease forwards;
}

@keyframes toastSlideOut {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

.toast-success {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.95) 0%, rgba(20, 184, 166, 0.95) 50%, rgba(163, 230, 53, 0.2) 100%);
    border: 1px solid rgba(163, 230, 53, 0.3);
}

.toast-success .toast-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}

.toast-error {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%);
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.toast-error .toast-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fecaca;
}

.toast-content {
    flex: 1;
}

.toast-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p { color: var(--gray-text); margin-top: 1rem; }
.footer-links h4, .footer-social h4 { margin-bottom: 1rem; color: var(--light-text); }
.footer-links ul { list-style: none; }
.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}
.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.social-links { display: flex; gap: 1rem; }

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--gray-text);
}

@media (max-width: 968px) {
    .nav-actions {
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .menu-toggle { display: flex; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .about-content { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .stats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero-content h1 { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
}
