/* Ah Liki Brand Colors */
:root {
    --primary: #1E88E5;
    --accent: #7CB342;
    --ocean: #00BCD4;
    --earth: #333333;
}

/* Typography */
/* Base typography also set inline in base.html; kept here so the stylesheet
   stands alone if the inline block is ever extracted. */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2937;
    background: white;
}

.brand-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1E88E5 0%, #00BCD4 50%, #7CB342 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #1E88E5;
    color: white;
}

.btn-primary:hover {
    background: #1565C0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #7CB342;
    color: white;
}

.btn-secondary:hover {
    background: #689F38;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #1E88E5;
    color: #1E88E5;
    background: transparent;
}

.btn-outline:hover {
    background: #E3F2FD;
}

/* Section Styling */
.section {
    padding: 60px 20px;
}

.section-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1E88E5;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

/* Brand Badge */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-primary {
    background: #1E88E5;
    color: white;
}

.badge-secondary {
    background: #7CB342;
    color: white;
}

.badge-accent {
    background: #00BCD4;
    color: white;
}

/* Navigation
   Scoped to .legacy-nav on purpose: a bare `nav` selector also matched the
   <nav> inside the site header, adding a stray white background, a second
   box-shadow and 16px of padding to it. */
.legacy-nav {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
}

.legacy-nav a {
    color: #1E88E5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.legacy-nav a:hover {
    color: #7CB342;
}

/* 3D Brand Cards */
.perspective {
    perspective: 1000px;
}

.brand-card-3d {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
}

.brand-showcase:nth-child(even) .brand-card-3d {
    transform: rotateY(-8deg) rotateX(5deg);
}

.brand-showcase:nth-child(odd) .brand-card-3d {
    transform: rotateY(8deg) rotateX(5deg);
}

.brand-showcase:hover .brand-card-3d {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px) !important;
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.brand-logo-container {
    animation: float 3s ease-in-out infinite;
}

.brand-showcase:nth-child(even) .brand-logo-container {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }

    .section-heading {
        font-size: 1.875rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
