/* Landing Page Styles - Kaffaway Admin Portal */

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

:root {
    /* Kafla Way Brand Colors */
    --primary-brown: #613B38;
    --secondary-brown: #8B6F47;
    --dark-brown: #4A2F2A;
    --cream-light: #FFF5E1;
    --cream-warm: #F5E6D3;
    --cream-beige: #FAEBD7;
    --gold-accent: #F4C95D;
    --gold-light: #FFD166;
    --text-dark: #2C1810;
    --text-medium: #613B38;
    --text-light: #613B38;
    --text-muted: rgba(97, 59, 56, 0.7);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: rgba(97, 59, 56, 0.15);
    --hover-shadow: rgba(97, 59, 56, 0.25);
}

/* Import Kafla Way Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

.landing-container {
    min-height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #FFEACC !important;
    position: relative;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(244, 201, 93, 0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(97, 59, 56, 0.05), transparent 50%);
    pointer-events: none;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Logo Section (Compact) */
.logo-section {
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    width: auto;
    height: auto;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 0;
    transition: 0.3s;
}

.logo-container:hover {
    transform: translateY(-3px) scale(1.03);
}

.brand-logo {
    object-fit: contain;
    background: none;
    border: none;
    border-radius: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.brand-name {
    font-family: 'Lora', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #613B38 !important;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: rgba(97, 59, 56, 0.7) !important;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Cards Layout (Compact) */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 550px;
    margin: 0 auto 2rem;
}

/* Action Cards - Kafla Way Style */
.action-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 25px var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(25px);
    backdrop-filter: blur(15px);
    position: relative;
    border: 1px solid rgba(97, 59, 56, 0.1);
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--hover-shadow);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    height: 4px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--primary-brown) 0%, var(--gold-accent) 100%);
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transition: 0.4s ease;
}

.action-card:hover::before {
    transform: scaleX(1);
}

/* Card Icon - Kafla Way Style */
.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-brown) 100%);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(97, 59, 56, 0.2);
}

.card-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.action-card:hover .card-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 6px 20px rgba(97, 59, 56, 0.3);
}

/* Text Styles - Kafla Way Typography */
.card-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.card-description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Buttons - Kafla Way Style */
.card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(97, 59, 56, 0.2);
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 59, 56, 0.3);
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
}

.button-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.card-button:hover .button-arrow {
    transform: translateX(3px);
}

/* Footer - Kafla Way Style */
.footer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    animation: fadeIn 1s ease-out 0.5s both;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
    .logo-container {
        width: auto;
        height: auto;
        background: none;
        border: none;
        border-radius: 0;
    }

    .brand-logo {
        width: 120px;
        height: auto;
        background: none;
        border: none;
        border-radius: 0;
    }

    .brand-name {
        font-size: 1.8rem;
    }

    .cards-container {
        gap: 1.25rem;
        max-width: 100%;
    }

    .action-card {
        padding: 1.75rem 1.25rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.6rem;
    }

    .brand-tagline {
        font-size: 0.8rem;
    }

    .action-card {
        padding: 1.5rem 1rem;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-button {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}