* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --shadow: rgba(0,0,0,0.08);
    --shadow-lg: rgba(0,0,0,0.15);
}

body.dark-mode {
    --text-color: #f1f5f9;
    --text-light: #94a3b8;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --shadow: rgba(0,0,0,0.3);
    --shadow-lg: rgba(0,0,0,0.5);
}

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-color);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary-color);
    color: white;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 50%;
    animation: float 20s infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 4s;
    width: 150px;
    height: 150px;
}

.particle:nth-child(3) {
    top: 30%;
    left: 50%;
    animation-delay: 8s;
    width: 80px;
    height: 80px;
}

.particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 12s;
    width: 120px;
    height: 120px;
}

.particle:nth-child(5) {
    top: 50%;
    left: 70%;
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.1s;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(20deg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-color);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px var(--shadow);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

body.dark-mode header {
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.logo span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Floating Shapes */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    top: 50%;
    right: -10%;
    animation-delay: 4s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent);
    bottom: -10%;
    left: 30%;
    animation-delay: 8s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent);
    top: 20%;
    right: 30%;
    animation-delay: 12s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent);
    bottom: 20%;
    right: 10%;
    animation-delay: 16s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
    padding-top: 2rem;
}

/* Hero Top Text */
.hero-top-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, 
        #6366f1 0%, 
        #8b5cf6 25%, 
        #ec4899 50%, 
        #f59e0b 75%, 
        #10b981 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowFlow 3s linear infinite, fadeInDown 1s ease;
    text-transform: uppercase;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

@keyframes rainbowFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Title */
.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 6rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-title .word {
    display: inline-block;
    animation: wordFadeIn 0.8s ease forwards;
    opacity: 1;
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .word:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-title .word:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes wordFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title .glow {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
    text-shadow: 0 0 80px rgba(99, 102, 241, 0.5);
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
}

.hero-title .tech {
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    animation: techGlow 2s ease-in-out infinite;
}

@keyframes techGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(236, 72, 153, 1));
    }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.3rem 3rem;
    font-size: 1.1rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.6);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button i {
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.2s forwards;
    opacity: 0;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Typing Animation */
.typing-text {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
    width: 0;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.fade-in {
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

section h2 img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6));
}

.section-desc {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Shift OS Section */
.shift-os {
    background: var(--bg-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

body.dark-mode .feature-card {
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(360deg);
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Browser Section */
.browser {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

.browser-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.browser-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .browser-card {
    border: 1px solid rgba(255,255,255,0.1);
}

.browser-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.browser-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.browser-card:hover .browser-icon {
    transform: rotateY(360deg) scale(1.1);
}

.browser-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.browser-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Health Section */
.health {
    background: var(--bg-color);
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.health-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

body.dark-mode .health-card {
    border: 1px solid rgba(255,255,255,0.1);
}

.health-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.health-card:hover::after {
    opacity: 0.05;
}

.health-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.health-card > * {
    position: relative;
    z-index: 1;
}

.health-icon {
    font-size: 3.5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
    transition: transform 0.4s;
}

.health-card:hover .health-icon {
    transform: scale(1.2);
}

.health-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.health-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.health-stat {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

/* Translator Section */
.translator {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

.translator-demo {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.translator-box {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

body.dark-mode .translator-box {
    border: 1px solid rgba(255,255,255,0.1);
}

.translator-box:hover {
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.lang-selector select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.translator-box textarea {
    width: 100%;
    height: 180px;
    padding: 1.2rem;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    resize: none;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s;
    line-height: 1.6;
}

body.dark-mode .translator-box textarea {
    border-color: rgba(255,255,255,0.1);
}

.translator-box textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.translate-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.translator-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trans-feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .trans-feature {
    border: 1px solid rgba(255,255,255,0.1);
}

.trans-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.trans-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s;
}

.trans-feature:hover i {
    transform: scale(1.2);
}

.trans-feature span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Entertainment Section */
.entertainment {
    background: var(--bg-color);
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.entertainment-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .entertainment-card {
    border: 1px solid rgba(255,255,255,0.1);
}

.entertainment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.ent-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    transition: transform 0.4s;
}

.entertainment-card:hover .ent-image {
    transform: scale(1.05);
}

.entertainment-card h3 {
    padding: 2rem 2rem 0.5rem;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.4rem;
}

.entertainment-card p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.ent-btn {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.ent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Tour Section */
.tour {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

.tour-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tour-search {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tour-search input {
    flex: 1;
    min-width: 250px;
    padding: 1.2rem 2rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    font-size: 1.05rem;
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s;
    font-weight: 500;
}

.tour-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-btn {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    letter-spacing: 0.3px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tour-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .tour-card {
    border: 1px solid rgba(255,255,255,0.1);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.tour-img {
    height: 200px;
    overflow: hidden;
}

.tour-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    transition: transform 0.4s;
}

.tour-card:hover .tour-placeholder {
    transform: scale(1.15);
}

.tour-info {
    padding: 2rem;
}

.tour-info h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.4rem;
}

.tour-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tour-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--success-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.tour-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.tour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 2rem;
}

footer i {
    color: #ff6b6b;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 15px var(--shadow);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    color: var(--text-color);
    margin: 0;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-banner button {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-banner button:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .translator-demo {
        flex-direction: column;
    }
    
    .translate-arrow {
        transform: rotate(90deg);
    }
    
    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Project Showcase */
.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.project-preview {
    position: relative;
}

.preview-window {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .preview-window {
    border: 1px solid rgba(255,255,255,0.1);
}

.preview-window:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.window-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.window-dots span:nth-child(1) {
    background: #ff5f56;
}

.window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.window-dots span:nth-child(3) {
    background: #27c93f;
}

.window-title {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.preview-content {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}

.preview-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.preview-content h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.preview-content p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .feature-item {
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px var(--shadow);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.feature-item span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    z-index: 0;
}

.project-link:hover::before {
    left: 100%;
}

.project-link:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.project-link:active {
    transform: translateY(-1px) scale(1.01);
}

.project-link span {
    position: relative;
    z-index: 2;
    color: white;
}

.project-link i {
    transition: transform 0.3s;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    color: white;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Responsive for Project Showcase */
@media (max-width: 968px) {
    .project-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .preview-content {
        padding: 3rem 1.5rem;
    }
    
    .preview-icon {
        font-size: 4rem;
    }
    
    .preview-content h3 {
        font-size: 1.5rem;
    }
}

/* Footer Updates */
.footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-link i {
    font-size: 1.3rem;
}

/* Contact Form Section */
.contact-section {
    background: var(--bg-color);
    padding: 6rem 2rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .contact-form {
    border: 1px solid rgba(255,255,255,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    border-color: rgba(255,255,255,0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1.3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.6);
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


/* Force button visibility */
.project-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.project-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* FIXED PROJECT LINK BUTTON */
a.project-link {
    display: inline-flex !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #ffffff !important; 

/* ====
====================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

/* Mobile Navigation */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 0.8rem 0;
    }
    
    nav {
       

/* VERTEX LAB Logo Styles */
.vertex-logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 18px;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vertex-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899, #f59e0b);
    border-radius: 10px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.vertex-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
}

.vertex-logo-small {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 14px;
    color: white;
    margin-right: 10px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    vertical-align: middle;
}
/* Section Logo Styles */
.section-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    transition: transform 0.3s ease;
}

.section-logo:hover {
    transform: scale(1.1) rotate(5deg);
}