/*
 * XynoTech - Premium Single Page Website
 * Advanced CSS with unique animations and effects
 */

/* ===== CSS Custom Properties ===== */
:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --dark-900: #030014;
    --dark-800: #0a0a1a;
    --dark-700: #12122a;
    --dark-600: #1a1a3a;
    --glow-primary: rgba(99, 102, 241, 0.5);
    --glow-purple: rgba(139, 92, 246, 0.5);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--dark-900);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--purple));
    border-radius: 3px;
}

::selection {
    background: var(--primary);
    color: white;
}

/* ===== Scroll Wheel Animation ===== */
@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(12px);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.animate-scroll-wheel {
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

/* ===== PREMIUM PRELOADER ===== */
#preloader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 60%);
    animation: preloaderBgPulse 3s ease-in-out infinite;
}

@keyframes preloaderBgPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.logo-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    animation: letterReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: calc(var(--i) * 0.08s);
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-letter.text-primary-400 {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(-90deg);
    }

    60% {
        opacity: 1;
        transform: translateY(-10px) rotateX(10deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.loader-line-container {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-line {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--purple), var(--pink));
    border-radius: 3px;
    animation: loadingLine 1.2s ease forwards;
    box-shadow: 0 0 20px var(--glow-primary);
}

@keyframes loadingLine {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.preloader-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.preloader-corner.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    animation: cornerPulse 2s ease-in-out infinite;
}

.preloader-corner.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    animation: cornerPulse 2s ease-in-out 0.5s infinite;
}

.preloader-corner.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
    animation: cornerPulse 2s ease-in-out 1s infinite;
}

.preloader-corner.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
    animation: cornerPulse 2s ease-in-out 1.5s infinite;
}

@keyframes cornerPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ===== NAVIGATION ===== */
.nav-glass {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-scrolled .nav-glass {
    background: rgba(10, 10, 26, 0.95);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.nav-link.active {
    color: white;
    background: rgba(99, 102, 241, 0.1);
}

/* ===== BUTTONS ===== */
.btn-glow {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px -5px var(--glow-primary);
}

.btn-glow::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 ease;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -5px var(--glow-primary);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* ===== BADGE ===== */
.badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--purple) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== HERO SECTION ===== */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.floating-shape {
    position: absolute;
    border: 1px solid rgba(99, 102, 241, 0.2);
    animation: shapeFloat 20s linear infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    border-radius: 20px;
    transform: rotate(45deg);
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 10%;
    border-radius: 50%;
    animation-delay: -7s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 25%;
    animation-delay: -14s;
}

@keyframes shapeFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== SECTION BACKGROUND ===== */
.section-bg-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ===== ABOUT SECTION ===== */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.about-visual {
    position: relative;
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 2rem;
    filter: blur(40px);
    z-index: -1;
}

.about-card {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .about-card {
        padding: 2rem;
    }
}

.about-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .about-item {
        padding: 1.5rem;
    }
}

.about-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.about-item i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: block;
    background: linear-gradient(135deg, var(--primary-light), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 640px) {
    .about-item i {
        font-size: 2rem;
    }
}

.about-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #d1d5db;
}

@media (min-width: 640px) {
    .about-item span {
        font-size: 0.875rem;
    }
}

/* ===== SERVICES ===== */
.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 640px) {
    .service-card {
        padding: 2rem;
    }
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .service-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon-1 {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
}

.service-icon-2 {
    background: linear-gradient(135deg, var(--purple) 0%, #7c3aed 100%);
}

.service-icon-3 {
    background: linear-gradient(135deg, var(--pink) 0%, #db2777 100%);
}

.service-icon-4 {
    background: linear-gradient(135deg, var(--cyan) 0%, #0891b2 100%);
}

.service-link {
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: white;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== PROCESS ===== */
.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .process-timeline {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        gap: 0;
        align-items: flex-start;
    }
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.25rem;
    position: relative;
}

.process-icon-1 {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
}

.process-icon-2 {
    background: linear-gradient(135deg, var(--purple) 0%, #7c3aed 100%);
}

.process-icon-3 {
    background: linear-gradient(135deg, var(--pink) 0%, #db2777 100%);
}

.process-icon-4 {
    background: linear-gradient(135deg, var(--cyan) 0%, #0891b2 100%);
}

.process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: var(--dark-900);
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon-1 .process-number {
    border-color: var(--primary);
    color: var(--primary);
}

.process-icon-2 .process-number {
    border-color: var(--purple);
    color: var(--purple);
}

.process-icon-3 .process-number {
    border-color: var(--pink);
    color: var(--pink);
}

.process-icon-4 .process-number {
    border-color: var(--cyan);
    color: var(--cyan);
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    margin-top: 55px;
}

/* ===== TEAM ===== */
.team-card {
    text-align: center;
}

.team-image {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 1rem;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.team-overlay-2 {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(236, 72, 153, 0.9) 100%);
}

.team-overlay-3 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9) 0%, rgba(249, 115, 22, 0.9) 100%);
}

.team-overlay-4 {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 0.75rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.team-card:hover .team-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-social a:nth-child(1) {
    transition-delay: 0s;
}

.team-social a:nth-child(2) {
    transition-delay: 0.05s;
}

.team-social a:nth-child(3) {
    transition-delay: 0.1s;
}

.team-social a:nth-child(4) {
    transition-delay: 0.15s;
}

.team-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .team-info h3 {
        font-size: 1.1rem;
    }
}

.team-info p {
    font-size: 0.75rem;
    color: var(--primary-light);
}

@media (min-width: 640px) {
    .team-info p {
        font-size: 0.875rem;
    }
}

/* ===== CONTACT ===== */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.contact-icon-1 {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
}

.contact-icon-2 {
    background: linear-gradient(135deg, var(--purple) 0%, #7c3aed 100%);
}

.contact-icon-3 {
    background: linear-gradient(135deg, var(--pink) 0%, #db2777 100%);
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form-card {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .contact-form-card {
        padding: 2rem;
    }
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #6b7280;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px -5px var(--glow-primary);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px -5px var(--glow-primary);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 640px) {
    .orb {
        filter: blur(60px);
    }

    .orb-1 {
        width: 200px;
        height: 200px;
    }

    .orb-2 {
        width: 180px;
        height: 180px;
    }

    .orb-3 {
        width: 150px;
        height: 150px;
    }

    .floating-shape {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    #preloader,
    #navbar,
    .back-to-top,
    .hero-bg {
        display: none !important;
    }
}