/* ============================================
   Runnn.Online - Remote Career Platform
   Modern, Vibrant, Professional Design
   Color Scheme: Linear Gradient 90° #004aad, #cb6ce6
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-blue: #004aad;
    --primary-purple: #cb6ce6;
    --accent-pink: #ff6b9d;
    --accent-cyan: #00d4ff;
    --accent-orange: #ff9f43;
    --gradient-main: linear-gradient(135deg, #004aad 0%, #cb6ce6 50%, #ff6b9d 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    --gradient-button: linear-gradient(90deg, #004aad 0%, #cb6ce6 100%);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    
    --bg-primary: #f8faff;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #7a7a9a;
    --text-light: #ffffff;
    
    --border-color: rgba(0, 74, 173, 0.15);
    --shadow-soft: 0 4px 20px rgba(0, 74, 173, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 74, 173, 0.12);
    --shadow-strong: 0 15px 50px rgba(0, 74, 173, 0.18);
    --shadow-glow: 0 0 40px rgba(203, 108, 230, 0.25);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 74, 173, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(203, 108, 230, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.03) 0%, transparent 40%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.7rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
    transform: scaleX(0.7);
    transition: var(--transition-smooth);
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-button {
    padding: 0.8rem 2rem;
    background: var(--gradient-button);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 74, 173, 0.35);
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: var(--transition-slow);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(203, 108, 230, 0.5);
}

.nav-button:hover::before {
    left: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 5% 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8faff 0%, #fff5f8 50%, #f0f7ff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(203, 108, 230, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 950px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.hero-badge::before {
    content: '●';
    color: var(--accent-pink);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 6px 25px rgba(0, 74, 173, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 35px rgba(203, 108, 230, 0.5);
}

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

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.35);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 4rem 5%;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 74, 173, 0.03) 100%);
}

.stats-number {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    line-height: 1;
    text-shadow: 0 10px 40px rgba(203, 108, 230, 0.2);
}

.stats-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0.8rem;
    font-weight: 500;
}

/* ============================================
   JOB CARDS SECTION
   ============================================ */
.cards-section {
    padding: 5rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 3.5rem;
    font-weight: 800;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.job-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(203, 108, 230, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.job-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    border-color: rgba(203, 108, 230, 0.3);
}

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

.job-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 85px;
    height: 85px;
    background: var(--gradient-main);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(203, 108, 230, 0.35);
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 5rem 5%;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 74, 173, 0.03) 0%, transparent 100%);
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    scroll-snap-align: start;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.testimonial-card:hover {
    border-color: rgba(203, 108, 230, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.stars {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

/* ============================================
   REMOTE WORK SECTION
   ============================================ */
.remote-work-section {
    padding: 6rem 5%;
    position: relative;
}

.remote-work-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.remote-work-content {
    text-align: left;
}

.remote-work-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    margin-bottom: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
}

.remote-work-description {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-size: 1.1rem;
}

.remote-work-image {
    position: relative;
}

.remote-work-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    transition: var(--transition-smooth);
}

.remote-work-image::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: 25px;
    bottom: 25px;
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.25;
}

.remote-work-image:hover img {
    transform: scale(1.02);
}

/* ============================================
   COUNTRIES SECTION
   ============================================ */
.countries-section {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(203, 108, 230, 0.04) 50%, transparent 100%);
}

.countries-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 2.5rem auto 0;
}

.country-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.country-item:hover {
    transform: translateY(-8px);
}

.country-flag {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.country-item:hover .country-flag {
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    transform: scale(1.1);
}

.country-name {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-family: var(--font-heading);
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dashboard-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10rem 5% 5rem;
    background: linear-gradient(135deg, #f8faff 0%, #fff5f8 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(203, 108, 230, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.dashboard-title {
    font-size: clamp(2.5rem, 5.5vw, 3.5rem);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.login-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.login-card:hover {
    border-color: rgba(203, 108, 230, 0.4);
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    transform: translateY(-10px);
}

.login-card-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* ============================================
   INTERNSHIP/JOB PAGES
   ============================================ */
.steps-section {
    padding: 10rem 5% 5rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8faff 0%, #fff5f8 50%, #f0f7ff 100%);
    position: relative;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, rgba(0, 74, 173, 0.05) 0%, transparent 100%);
}

.video-card {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 1.2rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gradient-main);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.step-card:hover {
    border-color: rgba(203, 108, 230, 0.4);
    box-shadow: var(--shadow-medium);
    transform: translateX(10px);
}

.step-card:hover::before {
    transform: scaleY(1);
}

.step-number {
    width: 55px;
    height: 55px;
    background: var(--gradient-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(203, 108, 230, 0.4);
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-description {
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================================
   TASK PAGES
   ============================================ */
.tasks-section {
    padding: 10rem 5% 5rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8faff 0%, #fff5f8 50%, #f0f7ff 100%);
}

.tasks-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tasks-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    margin-bottom: 2.5rem;
    font-weight: 800;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.task-item:hover {
    background: white;
    border-color: rgba(203, 108, 230, 0.4);
    box-shadow: var(--shadow-medium);
    transform: translateX(8px);
}

.task-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.btn-download {
    padding: 0.8rem 1.8rem;
    background: var(--gradient-button);
    color: white;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
}

.btn-download:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(203, 108, 230, 0.45);
}

.submit-section {
    text-align: center;
    padding: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.submit-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 90%;
    max-width: 480px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-strong);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 1.1rem 1.4rem;
    background: #f8faff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 20px rgba(203, 108, 230, 0.2);
    background: white;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.error-message {
    color: #ff4757;
    font-size: 0.95rem;
    margin-top: 0.8rem;
    display: none;
    font-weight: 500;
    text-align: center;
}

.error-message.show {
    display: block;
}

.modal-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.modal-buttons .btn {
    flex: 1;
}

.btn-cancel {
    background: #f8faff;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-cancel:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: white;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-button {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-button:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 5rem 5% 2.5rem;
    background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(203, 108, 230, 0.4);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition-smooth);
}

.footer-nav a:hover {
    color: var(--primary-blue);
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    background: var(--gradient-main);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-medium);
    border-color: transparent;
}

.footer-social a:hover svg {
    fill: white;
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-blue);
    transition: var(--transition-smooth);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .remote-work-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .remote-work-content {
        text-align: center;
    }
    
    .remote-work-image::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 4%;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-button {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 8rem 4% 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        width: 100%;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .job-card {
        padding: 2.5rem 1.8rem;
    }

    .task-item {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-card {
        padding: 2rem;
    }
    
    .login-card {
        padding: 2.5rem 1.8rem;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }

    .footer-nav {
        gap: 1.5rem;
    }

    .modal {
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }
    
    .submit-section {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .job-card,
    .step-card,
    .login-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-card {
        flex: 0 0 280px;
    }

    .country-flag {
        width: 80px;
        height: 80px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    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 shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Selection Color */
::selection {
    background: rgba(203, 108, 230, 0.3);
    color: var(--text-primary);
}

/* Focus Styles */
:focus-visible {
    outline: 3px solid var(--primary-purple);
    outline-offset: 2px;
}
