/* css/landing.css */
:root {
    --bg-main: #ffffff;
    --bg-light: #F8FAFC;
    --accent-color: #1a60d1; /* Cobalt blue */
    --accent-color-hover: #134db0;
    --text-dark: #18191B;
    --text-muted: #6E6F78;
    --border-color: #E5E6EA;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ticker wrap */
.ticker-wrap {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.ticker span {
    display: inline-block;
    padding-right: 2rem;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Header */
.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--accent-color);
}

.btn-nav {
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-nav-primary {
    background-color: var(--accent-color);
    color: white !important;
    border-color: var(--accent-color);
}

.btn-nav-primary:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-nav-secondary {
    background-color: transparent;
    color: var(--text-dark) !important;
}

.btn-nav-secondary:hover {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 60px auto 120px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 60px;
    }
    .hero-image-container {
        justify-content: center;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .hero-actions {
        justify-content: center;
    }
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-hero-primary:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background-color: transparent;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background-color: var(--bg-light);
    border-color: #D1D2D6;
}

/* Mockup Card (SaaS interactive preview) */
.hero-image-container {
    display: flex;
    justify-content: flex-end;
}

.mockup-card {
    background-color: #f6fdfd; /* Custom folder color */
    border: 1px solid var(--accent-color);
    border-radius: 24px;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.mockup-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.mockup-table {
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mockup-image {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mockup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.mockup-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
}

.mockup-price {
    font-weight: 800;
    color: var(--accent-color);
}

.mockup-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.mockup-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.mockup-qty {
    display: inline-flex;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 6px 12px;
    gap: 12px;
    font-weight: 800;
    font-size: 0.9rem;
}

.mockup-btn {
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    padding: 10px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mockup-btn:hover {
    background-color: var(--accent-color-hover);
}

.mockup-badge {
    position: absolute;
    top: 50px;
    right: -10px;
    background: #F59E0B;
    color: white;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    transform: rotate(15deg);
    box-shadow: var(--shadow-sm);
}

/* Features Section */
.features-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Steps section */
.steps-section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.step-num {
    background-color: var(--accent-color);
    color: white;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-section .btn-hero-primary {
    background-color: white;
    color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.cta-section .btn-hero-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
