/* =========================================================
   Daycite — Marketing homepage styles
   Self-contained: does not depend on the dashboard stylesheet.
   ========================================================= */

:root {
    --primary: #6C5CE7;
    --primary-dark: #5847d1;
    --primary-light: #EDEAFB;
    --primary-soft: rgba(108, 92, 231, 0.12);
    --header-grad-top: #C9C1F5;
    --header-grad-bottom: #F6F5FC;

    --bg-primary: #F6F5FC;
    --bg-secondary: #ffffff;
    --text-primary: #1C1C1E;
    --text-secondary: #6f6e78;
    --border-color: #E8E6F5;
    --success: #34c759;
    --danger: #ff3b30;
    --shadow: 0 6px 24px rgba(108, 92, 231, 0.08);
    --shadow-hover: 0 14px 36px rgba(108, 92, 231, 0.16);
    --radius-card: 22px;
    --radius-pill: 999px;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-secondary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* =========================================================
   Nav
   ========================================================= */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.landing-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo i { color: var(--primary); font-size: 22px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(108, 92, 231, 0.36); }

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 15px 30px; font-size: 15px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-primary);
    cursor: pointer;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    background: linear-gradient(180deg, var(--header-grad-top) 0%, var(--header-grad-bottom) 60%, #fff 100%);
    padding: 72px 0 40px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--primary);
    margin-bottom: 18px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.hero h1 span { color: var(--primary); }

.hero p.lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-note i { color: var(--success); }

/* ----- Hero phone mockup (pure CSS, no screenshots needed) ----- */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mock {
    width: 280px;
    background: #fff;
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(76, 60, 160, 0.28);
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transform: rotate(2deg);
}

.phone-mock-header {
    background: linear-gradient(180deg, #C9C1F5, #F1EFFB);
    border-radius: 24px 24px 12px 12px;
    padding: 18px 16px 14px;
    text-align: center;
}

.phone-mock-header .greet {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    margin-top: 4px;
}

.phone-mock-header .sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.6px;
    margin-bottom: 2px;
}

.phone-mock-dates {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    gap: 4px;
}

.phone-mock-dates span {
    flex: 1;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 6px 0;
}

.phone-mock-dates span.active {
    background: var(--primary);
    color: #fff;
}

.phone-mock-body { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 8px; }

.mock-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary);
    border-radius: 14px;
    padding: 10px 12px;
}

.mock-card .mock-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.mock-card .mock-text { flex: 1; }
.mock-card .mock-title { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.mock-card .mock-sub { font-size: 10px; color: var(--text-secondary); margin-top: 1px; }

.mock-card .mock-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.floaty {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floaty 3.5s ease-in-out infinite;
}

.floaty i { font-size: 14px; }

.floaty-1 { top: 6%; left: -6%; color: var(--success); animation-delay: 0s; }
.floaty-2 { bottom: 10%; right: -8%; color: var(--primary); animation-delay: 1.2s; }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =========================================================
   Section shared styles
   ========================================================= */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-primary); }

.section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.section-eyebrow-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ----- Features grid ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 26px 22px;
    transition: all 0.25s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ----- How it works ----- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

.step h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 260px;
    margin: 0 auto;
}

/* ----- CTA banner ----- */
.cta-banner {
    background: linear-gradient(135deg, #7A6CF0, #5847d1);
    border-radius: 32px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
    margin: 0 24px;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 26px;
}

.cta-banner .btn-primary {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-primary:hover { transform: translateY(-2px); }

/* =========================================================
   Footer
   ========================================================= */
.landing-footer {
    padding: 48px 0 28px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand { max-width: 280px; }

.footer-brand .nav-logo { margin-bottom: 10px; }

.footer-brand p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 13.5px;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 12.5px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin: 0 auto 28px; }
    .hero-actions, .hero-note { justify-content: center; }
    .hero-visual { margin-top: 20px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 34px; }
    .cta-banner { margin: 0 16px; padding: 44px 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; }
    .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
    .hero { padding: 48px 0 32px; }
    .hero h1 { font-size: 28px; }
    .section { padding: 56px 0; }
    .phone-mock { width: 230px; }
    .floaty { font-size: 10px; padding: 8px 10px; }
    .floaty-1 { left: -2%; }
    .floaty-2 { right: -2%; }
}