/* Premium Landing Page Design */

:root {
    --brand-dark: #1a4d4a; /* MyDesk Dark Green */
    --brand-accent: #00b289; /* MyDesk Mint Green */
    --brand-accent-hover: #009975;
    --text-on-dark: #ffffff;
    --text-body: #1a1a1a;
    --bg-gray: #f9fbfb;
    --glass: rgba(255, 255, 255, 0.05);
}

.landing-page {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-body);
    background: white;
}

.landing-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.landing-navbar.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 8%;
}

.landing-navbar.scrolled .nav-links a {
    color: var(--brand-dark);
}

.landing-navbar.scrolled .brand-name {
    color: var(--brand-accent);
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-accent) !important;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-accent);
}

.nav-links a.active {
    color: var(--brand-accent);
}

.badge-new {
    background: var(--brand-accent);
    color: white;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.6;
}

.hero-section {
    background: var(--brand-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 10% 280px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 100% 180px;
    border-bottom-right-radius: 100% 180px;
}

/* Removed simple circle arc to use hero-section border-radius directly for a cleaner flow */

.hero-tag {
    background: var(--brand-accent);
    color: var(--brand-dark);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    animation: fadeInDown 0.8s ease backwards;
}

.hero-title {
    color: var(--text-on-dark);
    font-size: 84px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 32px;
    max-width: 900px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title span {
    color: var(--brand-accent);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn-landing-primary {
    background: var(--brand-accent);
    color: var(--brand-dark);
    padding: 16px 40px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-landing-primary:hover {
    transform: scale(1.02);
    background: var(--brand-accent-hover);
    box-shadow: 0 10px 25px rgba(0, 178, 137, 0.2);
}

.btn-landing-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 40px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.btn-landing-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.floating-mockup {
    margin-top: -240px;
    position: relative;
    z-index: 10;
    padding: 0 12%;
    animation: float 6s ease-in-out infinite;
}

.mockup-container {
    background: white;
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.mockup-container img {
    border-radius: 20px;
    width: 100%;
    display: block;
}

.section {
    padding: 120px 8%;
}

.section-tag {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--brand-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.feature-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--bg-gray);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #eee;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--gray-text);
    line-height: 1.6;
}

.how-it-works {
    background: var(--brand-dark);
    color: white;
    border-radius: 48px;
    margin: 0 4%;
    padding: 100px 8%;
}

.steps-list {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step-item {
    position: relative;
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    opacity: 0.1;
    margin-bottom: -20px;
    display: block;
}

.step-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.footer {
    padding: 80px 8% 40px;
    background: #f9fbfb;
    border-top: 1px solid #eee;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--brand-dark);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    text-decoration: none;
    color: var(--gray-text);
    font-size: 14px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    color: var(--gray-text);
    font-size: 14px;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 1024px) {
    .features-grid, .steps-list { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 48px; }
}

@media (max-width: 768px) {
    .features-grid, .steps-list, .footer-main { grid-template-columns: 1fr; }
    .landing-navbar { flex-wrap: wrap; padding: 16px 5%; gap: 16px; }
    .landing-navbar .logo-group { width: 100%; justify-content: center; }
    .nav-links { width: 100%; justify-content: center; gap: 16px; }
    .nav-links:first-of-type { display: none; } /* Hide Home/Features, keep Login/Signup */
    .hero-section { padding: 80px 5% 100px; border-bottom-left-radius: 60px; border-bottom-right-radius: 60px; }
    .hero-title { font-size: 36px; margin-bottom: 24px; }
    .hero-desc { font-size: 16px; margin-bottom: 32px; }
    .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
    .btn-landing-primary, .btn-landing-secondary { width: 100%; padding: 14px 24px; font-size: 15px; }
    
    .floating-mockup { margin-top: -80px; padding: 0 4%; }
    .mockup-container { padding: 6px; border-radius: 12px; }
    .mockup-container img { border-radius: 8px; }
    
    .section { padding: 60px 5%; }
    .section-title { font-size: 28px; }
    
    .how-it-works { padding: 60px 6%; margin: 0; border-radius: 0; }
    .footer { padding: 60px 6% 30px; }
}
