/* DayPeer — Custom Styles
 * Brand: Indigo (#4f46e5) + Emerald (#10b981), Inter font
 */

:root {
    --df-primary: #4f46e5;
    --df-primary-dark: #3730a3;
    --df-primary-light: #818cf8;
    --df-accent: #10b981;
    --df-accent-dark: #059669;
    --df-dark: #1e1b4b;
    --df-bg: #f8fafc;
    --df-card-bg: #ffffff;
    --df-text: #334155;
    --df-text-muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--df-bg);
    color: var(--df-text);
}

/* Navbar */
.layout-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
}

.app-brand-text {
    color: var(--df-dark) !important;
    font-size: 1.25rem;
}

.nav-link.active {
    color: var(--df-primary) !important;
}

/* Buttons */
.btn-primary {
    background: var(--df-primary) !important;
    border-color: var(--df-primary) !important;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--df-primary-dark) !important;
    border-color: var(--df-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-outline-primary {
    color: var(--df-primary) !important;
    border-color: var(--df-primary) !important;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background: var(--df-primary) !important;
    color: #fff !important;
}

.btn-success {
    background: var(--df-accent) !important;
    border-color: var(--df-accent) !important;
    border-radius: 8px;
}

.btn-success:hover {
    background: var(--df-accent-dark) !important;
}

/* Hero */
.df-hero {
    background: linear-gradient(135deg, var(--df-dark) 0%, #312e81 50%, #4338ca 100%);
    color: #fff;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.df-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.df-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.df-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Cards */
.df-card {
    background: var(--df-card-bg);
    border-radius: 12px;
    border: 1px solid rgba(79, 70, 229, 0.08);
    padding: 2rem;
    transition: all 0.3s;
}

.df-card:hover {
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
    transform: translateY(-2px);
}

.df-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.df-card-icon.primary {
    background: rgba(79, 70, 229, 0.1);
    color: var(--df-primary);
}

.df-card-icon.accent {
    background: rgba(16, 185, 129, 0.1);
    color: var(--df-accent);
}

/* Stats */
.df-stat {
    text-align: center;
    padding: 1.5rem;
}

.df-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--df-primary);
    line-height: 1;
}

.df-stat-label {
    font-size: 0.875rem;
    color: var(--df-text-muted);
    margin-top: 0.5rem;
}

/* Schedule view */
.df-schedule {
    background: var(--df-card-bg);
    border-radius: 12px;
    border: 1px solid rgba(79, 70, 229, 0.08);
    overflow: hidden;
}

.df-schedule-header {
    background: var(--df-primary);
    color: #fff;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.df-time-slot {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f1f5f9;
    min-height: 60px;
}

.df-time-label {
    width: 80px;
    padding: 0.75rem;
    font-size: 0.8rem;
    color: var(--df-text-muted);
    border-right: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.df-time-content {
    flex: 1;
    padding: 0.5rem;
}

.df-block {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 2px 0;
}

.df-block.work { background: rgba(79, 70, 229, 0.08); color: var(--df-primary); border-left: 3px solid var(--df-primary); }
.df-block.personal { background: rgba(16, 185, 129, 0.08); color: var(--df-accent-dark); border-left: 3px solid var(--df-accent); }
.df-block.focus { background: rgba(245, 158, 11, 0.08); color: #b45309; border-left: 3px solid #f59e0b; }
.df-block.meeting { background: rgba(139, 92, 246, 0.08); color: #6d28d9; border-left: 3px solid #8b5cf6; }
.df-block.buffer { background: rgba(100, 116, 139, 0.05); color: var(--df-text-muted); border-left: 3px solid #94a3b8; }

/* Booking slots */
.df-slot {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    margin: 0.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--df-primary);
    transition: all 0.2s;
    background: transparent;
}

.df-slot:hover, .df-slot.selected {
    background: var(--df-primary);
    color: #fff;
    border-color: var(--df-primary);
}

/* How it works */
.df-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--df-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* Pricing */
.df-pricing-card {
    background: var(--df-card-bg);
    border-radius: 16px;
    border: 2px solid rgba(79, 70, 229, 0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.df-pricing-card.featured {
    border-color: var(--df-primary);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
    transform: scale(1.02);
}

.df-pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--df-dark);
    line-height: 1;
}

.df-pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--df-text-muted);
}

.df-pricing-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.df-pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.df-pricing-card ul li::before {
    content: '\2713';
    color: var(--df-accent);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Section spacing */
.df-section {
    padding: 5rem 0;
}

.df-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--df-dark);
    margin-bottom: 0.75rem;
}

.df-section-subtitle {
    color: var(--df-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Onboarding */
.df-onboarding-step {
    display: none;
}

.df-onboarding-step.active {
    display: block;
}

.df-progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.df-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s;
}

.df-progress-dot.active {
    background: var(--df-primary);
    transform: scale(1.2);
}

.df-progress-dot.completed {
    background: var(--df-accent);
}

/* Footer */
.footer-link {
    color: var(--df-text-muted) !important;
}

.footer-link:hover {
    color: var(--df-primary) !important;
}

/* Badges */
.badge-primary {
    background: rgba(79, 70, 229, 0.1);
    color: var(--df-primary);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.badge-accent {
    background: rgba(16, 185, 129, 0.1);
    color: var(--df-accent-dark);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

/* Endpoint share */
.df-endpoint-url {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--df-primary);
    word-break: break-all;
}

/* Responsive */
@media (max-width: 768px) {
    .df-hero h1 { font-size: 2rem; }
    .df-hero { padding: 4rem 0 3rem; }
    .df-section { padding: 3rem 0; }
}
