/* DMD Inventory Landing Page Styles */

:root {
    --primary-blue: #0066FF;
    --secondary-blue: #4A90E2;
    --light-blue: #E3F2FD;
    --dark-navy: #2C3E50;
    --medium-gray: #5A6C7D;
    --light-gray: #F7F9FC;
    --white: #FFFFFF;
    --text-dark: #1a1a1a;
    --orange: #FF6B35;
    --green: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--light-gray);
    line-height: 1.6;
}

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header */
.header {
    padding: 1.5rem 0;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-navy);
    line-height: 1;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--medium-gray);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    flex: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 400px;
}

.hero-left {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--medium-gray);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

    .cta-button:hover {
        background: var(--secondary-blue);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
    }

    .cta-button svg {
        transition: transform 0.3s ease;
    }

    .cta-button:hover svg {
        transform: translateX(4px);
    }

.hero-right {
    animation: fadeInRight 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.illustration-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Features Section */
.features-section {
    padding: 3rem 0 4rem;
    background: var(--white);
}

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

.feature-card {
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

    .feature-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .feature-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .feature-card:nth-child(3) {
        animation-delay: 0.3s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon-1 {
    background: #FFF4E6;
    color: #FF9800;
}

.feature-icon-2 {
    background: #E3F2FD;
    color: var(--primary-blue);
}

.feature-icon-3 {
    background: #F3E5F5;
    color: #9C27B0;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--white);
    border-top: 1px solid #E5E7EB;
    margin-top: auto;
}

.footer-text {
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-right {
        order: -1;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-illustration {
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .features-section {
        padding: 2rem 0 3rem;
    }

    .feature-card {
        padding: 1.5rem 1.25rem;
    }

    .hero-illustration {
        max-width: 320px;
    }
}

/* Animation on scroll */
@media (prefers-reduced-motion: no-preference) {
    .feature-card {
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
