/* ==========================================
   ZamHack Landing Page Styles
   Color Palette: #FF9B87, #2C3E50, white
   ========================================== */

/* === CSS Variables === */
:root {
    --coral: #FF9B87;
    --coral-light: #FFB8A8;
    --coral-dark: #E8836F;
    --navy: #2C3E50;
    --navy-light: #3D5166;
    --navy-dark: #1A252F;
    --white: #ffffff;
    --gradient-coral: linear-gradient(135deg, #FF9B87 0%, #E8836F 100%);
    --gradient-navy: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%);
}

/* === Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy);
    background-color: var(--white);
    overflow-x: hidden;
}

/* === Typography === */
.font-display {
    font-family: 'Outfit', sans-serif;
}

.text-gradient {
    background: var(--gradient-coral);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Navigation === */
#navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    color: var(--navy);
    opacity: 0.7;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    color: var(--coral);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

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

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-coral);
    color: var(--white);
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 155, 135, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 155, 135, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-coral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--coral);
    color: var(--white);
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 155, 135, 0.3);
}

.btn-coral:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 155, 135, 0.4);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* === Hero Section === */
.hero-gradient {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 155, 135, 0.05) 50%, 
        rgba(44, 62, 80, 0.03) 100%);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--coral);
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--navy);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--coral);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(20px) rotate(-5deg); }
}

/* === Stats === */
.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--navy);
    opacity: 0.6;
    margin-top: 4px;
}

/* === Device Mockups === */
.device-laptop {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.laptop-screen {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    overflow: hidden;  /* Make sure this is present */
}

.laptop-screen video,
.laptop-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.laptop-base {
    width: 110%;
    height: 20px;
    background: linear-gradient(180deg, #e0e0e0 0%, #c0c0c0 100%);
    border-radius: 0 0 8px 8px;
    margin-left: -5%;
    position: relative;
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 4px;
    background: #a0a0a0;
    border-radius: 0 0 4px 4px;
}

.laptop-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.device-tablet {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.tablet-screen {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.tablet-screen video,
.tablet-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-phone {
    position: relative;
    width: 280px;
    padding: 12px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 36px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    position: relative;
    width: 100%;
    padding-top: 177%;  /* Changed from 200% - standard phone ratio 9:16 */
    background: #000;
    border-radius: 28px;
    overflow: hidden;
}

.phone-screen video,
.phone-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
}

/* === Floating Cards === */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.card-1 {
    top: 10%;
    right: -20px;
}

.card-2 {
    bottom: 20%;
    left: -30px;
}

@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
}

/* === Problem Cards === */
.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 155, 135, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--coral);
}

/* === Path Cards === */
.path-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.path-card.path-company:hover {
    border-color: var(--navy);
}

.path-card.path-student:hover {
    border-color: var(--coral);
}

.path-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-navy);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.path-icon.student {
    background: var(--gradient-coral);
}

.comparison-box {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.05) 0%, rgba(255, 155, 135, 0.05) 100%);
    border-radius: 16px;
    padding: 1.25rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 155, 135, 0.1) 0%, rgba(255, 155, 135, 0.05) 100%);
    border-radius: 16px;
    padding: 1.25rem;
}

.path-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(44, 62, 80, 0.05);
    border-radius: 12px;
    color: var(--navy);
    font-weight: 500;
    transition: all 0.3s ease;
}

.path-link:hover {
    background: rgba(255, 155, 135, 0.1);
    color: var(--coral);
    transform: translateX(5px);
}

.path-link i {
    width: 20px;
    color: var(--coral);
}

/* === Feature Cards === */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-navy);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.feature-card.student .feature-icon,
.feature-icon.student {
    background: var(--gradient-coral);
}

/* === Process Steps === */
.toggle-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: none;
}

.toggle-btn.active {
    background: var(--coral);
    color: var(--white);
}

.toggle-btn:hover:not(.active) {
    color: var(--white);
}

.process-content.hidden {
    display: none;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-coral);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.step-number.student {
    background: var(--coral);
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

/* === Persona Cards === */
.persona-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.persona-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.persona-header.company {
    background: var(--gradient-navy);
}

.persona-header.student {
    background: var(--gradient-coral);
}

.persona-avatar {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.persona-avatar.student {
    background: rgba(255, 255, 255, 0.2);
}

.persona-body {
    padding: 2rem;
}

.persona-pain,
.persona-solution {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 12px;
}

.persona-pain {
    background: rgba(239, 68, 68, 0.1);
    color: var(--navy);
}

.persona-solution {
    background: rgba(34, 197, 94, 0.1);
    color: var(--navy);
}

/* === Perfect For Cards === */
.perfect-for-card {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.03) 0%, rgba(255, 155, 135, 0.03) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: all 0.3s ease;
}

.perfect-for-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.perfect-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-navy);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.perfect-icon.student {
    background: var(--gradient-coral);
}

/* === Traction Cards === */
.traction-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(44, 62, 80, 0.08);
}

/* === Stat Cards === */
.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.stat-card-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-coral);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card-label {
    font-size: 0.9rem;
    color: var(--navy);
    opacity: 0.6;
}

/* === Edge Cards === */
.edge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.edge-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.edge-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-coral);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

/* === Pricing Cards === */
.pricing-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--coral);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 0 0 12px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
}

.pricing-price .currency {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 8px;
}

.pricing-price .amount {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--navy);
    opacity: 0.8;
}

.pricing-features li i {
    color: var(--coral);
    font-size: 0.9rem;
}

.pricing-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 155, 135, 0.1) 0%, rgba(255, 155, 135, 0.05) 100%);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--coral-dark);
    margin-bottom: 1.5rem;
}

/* === Impact Cards === */
.impact-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-coral);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.impact-stat {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.impact-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
}

.impact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--navy);
    opacity: 0.6;
    margin-top: 4px;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

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

.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* === Utility Classes === */
.clip-diagonal {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

/* === Responsive Adjustments === */
@media (max-width: 1024px) {
    .stat-number {
        font-size: 1.75rem;
    }
    
    .device-laptop {
        max-width: 500px;
    }
    
    .device-tablet {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .persona-header {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    .path-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .pricing-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .pricing-body {
        padding: 1.5rem;
    }
    
    .pricing-price .amount {
        font-size: 2.5rem;
    }
    
    .impact-card {
        padding: 1.5rem;
    }
    
    .device-phone {
        width: 220px;
    }
}

/* === Print Styles === */
@media print {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    #navbar {
        position: relative;
    }
}
