﻿/* Alternative Light Academic Styles for DubbiOvi */

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

:root {
    --primary: #00C853;
    --primary-hover: #009E52;
    --lavender-light: #E8FBF0;
    --bg-base: #FFFFFF;
    --bg-section: #FAFAFC;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
}

body {
    background-color: var(--bg-base);
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Utilities */
.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px -5px rgba(0, 200, 83, 0.12);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover {
    background-color: var(--bg-section);
    border-color: #D1D5DB;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

/* Subtle Shadow Cards */
.premium-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 200, 83, 0.3);
    transform: translateY(-2px);
}

/* Ensure hero heading behaves correctly across viewports */
.hero-title {
    line-height: 1.05 !important;
}

@media (min-width: 768px) {
    .academic-dubbing-line,
    .made-simple-line {
        white-space: nowrap !important;
    }
}

@media (min-width: 1280px) {
    .hero-title-brand {
        font-size: 5rem !important; /* 80px */
    }
    .hero-title-sub {
        font-size: 3.5rem !important; /* 56px */
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-title-brand {
        font-size: 4rem !important; /* 64px */
    }
    .hero-title-sub {
        font-size: 2.85rem !important; /* 45px */
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title-brand {
        font-size: 3.5rem !important; /* 56px */
    }
    .hero-title-sub {
        font-size: 2.5rem !important; /* 40px */
    }
}

@media (max-width: 767px) {
    .hero-title-brand {
        font-size: 2.75rem !important; /* 44px */
    }
    .hero-title-sub {
        font-size: 2rem !important; /* 32px */
    }
}

/* Sleek, High-Fidelity MacBook Pro Mockup */
.laptop-container {
    position: relative;
    width: 100%;
    max-width: 760px; /* substantially increased visual presence */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Screen Lid */
.laptop-screen-wrapper {
    position: relative;
    width: 86%; /* MacBook screen is narrower than the base */
    aspect-ratio: 16/10;
    background: #050505;
    border: 8px solid #080808;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-radius: 16px 16px 0 0;
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    z-index: 2;
}

/* Screen Display */
.laptop-screen-display {
    position: relative;
    width: 100%;
    height: 100%;
    background: #030014;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.laptop-screen-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Glossy screen glare reflection */
.laptop-screen-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 40%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

/* Camera Notch / Sensor */
.laptop-camera-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 6px;
    background: #080808;
    border-radius: 0 0 4px 4px;
    z-index: 6;
}

.laptop-camera-sensor {
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: #0d2030;
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Laptop hinge connection */
.laptop-hinge {
    width: 76%;
    height: 6px;
    background: linear-gradient(to bottom, #111111, #222222);
    border-radius: 0 0 1px 1px;
    z-index: 2;
}

/* Aluminium Base */
.laptop-base-wrapper {
    position: relative;
    width: 100%;
    height: 12px;
    background: linear-gradient(to bottom, 
        #f3f4f6 0%, 
        #e5e7eb 25%, 
        #d1d5db 50%, 
        #9ca3af 85%, 
        #4b5563 100%);
    border-radius: 2px 2px 14px 14px;
    border-bottom: 2px solid #9ca3af;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

/* Top trim edge of aluminum base */
.laptop-base-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.2) 80%, 
        rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px 2px 0 0;
}

/* Notch to open the lid */
.laptop-base-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: #9ca3af;
    border-radius: 0 0 5px 5px;
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}

/* Drop shadow under the laptop */
.laptop-drop-shadow {
    position: absolute;
    bottom: -16px;
    left: 2%;
    right: 2%;
    height: 18px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.02) 70%, transparent 100%);
    filter: blur(5px);
    z-index: 1;
    pointer-events: none;
}

/* Lightbox Modal (Zoom overlay) */
#lightbox {
    transition: opacity 0.3s ease-in-out;
}
#lightbox.show {
    opacity: 1;
}
@keyframes scaleUp {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.animate-scale-up {
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animations hooks */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Workflow Styles */
.workflow-step-active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.2) !important;
}

.workflow-card-active {
    border-color: rgba(0, 200, 83, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.08) !important;
}

