/* =========================================================
   GLOBAL THEME & VARIABLES (Source of Truth)
   ========================================================= */
:root {
    /* Color Palette - Clean AI Dark Mode */
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --accent-primary: #14b8a6;   /* Teal */
    --accent-secondary: #06b6d4; /* Cyan */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: rgba(148, 163, 184, 0.1);
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    
    /* Typography */
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =========================================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul { list-style: none; }

/* Headings */
h1, h2, h3, h4, h5, h6, .hero-title, .logo-text {
    font-family: var(--font-stack);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* =========================================================
   SHARED COMPONENTS (Header/Footer)
   ========================================================= */

/* Top Header (Dashboard style) */
.i4c-header {
    background: rgba(17, 24, 39, 0.92);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 200;
}

.i4c-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Brand Styling --- */
.i4c-pages-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%); /* Teal Gradient */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text .name {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #f1f5f9;
}

.brand-text .tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 2px;
}



/* --- Back Button Styling --- */
.i4c-back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 50px; /* Pill shape */
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.i4c-back-btn svg {
    transition: transform 0.2s ease;
}

.i4c-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border-color: #f1f5f9;
}

.i4c-back-btn:hover svg {
    transform: translateX(-3px); /* Subtle left slide animation */
}

/* Unified Footer */
.i4c-footer {
    background: rgba(17, 24, 39, 0.92);
    border-top: 1px solid var(--border-color);
    padding: 1.25rem;
    margin-top: auto;
}

.i4c-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically align */
    font-size: 0.85rem;  /* Base size for footer text */
    color: var(--text-secondary);
}


/* Responsive */
@media (max-width: 768px) {
    .i4c-footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .i4c-footer-tagline {
        margin-left: 0;
    }
}



/* Footer brand (gold tone) */
.i4c-footer-brand {
    color: #C9A227; /* elegant gold */
    font-weight: 600;
}

/* Footer separators | */
.i4c-footer-sep {
    color: #000000; /* solid black */
    margin: 0 6px;
}


.i4c-heart{
  display:inline-block;
  transform-origin:center;
  animation:i4cPulse 1.4s ease-in-out infinite;
}

@keyframes i4cPulse{
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.18); }
  55%      { transform: scale(0.98); }
}


/* --- Mobile Responsive Fixes --- */
@media (max-width: 600px) {
    
    /* 1. Hide the long text inside the back button */
    .i4c-back-btn span {
        display: none;
    }

    /* 2. Turn the button into a neat circle/square for the icon */
    .i4c-back-btn {
        padding: 0;         /* Remove pill padding */
        width: 60px;        /* Fixed width */
        height: 60px;       /* Fixed height */
        justify-content: center; /* Center the icon */
        border-radius: 50%; /* Make it circular */
    }

    /* 3. (Optional) Hide the tagline to give the logo more breathing room */
    .brand-text .tagline {
        display: none;
    }
}