@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #e6f7ff, #ffffff);
    overflow-x: hidden;
    position: relative;
}

/* Floating background circles */

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.bg1 {
    width: 250px;
    height: 250px;
    background: #7fd4ff;
    top: 10%;
    left: 15%;
}

.bg2 {
    width: 180px;
    height: 180px;
    background: #ffbf66;
    bottom: 15%;
    right: 20%;
    animation-delay: 2s;
}

.bg3 {
    width: 120px;
    height: 120px;
    background: #7fd4ff;
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-25px);
    }
}

/* Header & Tab Bar Navigation */

.header-nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.logo {
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
}

.ayos {
    color: #2bb3ff; /* light blue */
}

.kita {
    color: #ffb347; /* amber */
}

.nav-tabs {
    display: flex;
    gap: 12px;
}

.tab-link {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: #2bb3ff;
    background: rgba(43, 179, 255, 0.08);
}

.tab-link.active {
    color: #ffffff;
    background: #2bb3ff;
    box-shadow: 0 4px 12px rgba(43, 179, 255, 0.3);
}

/* Card & Main Content Container */

.main-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 40px 20px;
}

.container {
    background: white;
    padding: 60px 70px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1.2s ease;
    max-width: 650px;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Loading Dots */

.loader {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffb347;
    animation: bounce 1.2s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer */

.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #888;
}


/* ==========================================================================
   PLAYFUL CARD LAYOUT SYSTEM
   ========================================================================== */

.home-wrapper {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Base Card Style */
.card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 12px 30px rgba(43, 179, 255, 0.08);
  border: 2px solid #edf7ff;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(43, 179, 255, 0.15);
}

/* Hero Card Specifics */
.hero-card {
  text-align: left;
  background: linear-gradient(145deg, #ffffff 0%, #f4faff 100%);
  border-color: #d1eeff;
}

.pill-badge {
  display: inline-block;
  background: #e6f7ff;
  color: #2bb3ff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.amber-pill {
  background: #fff4e5;
  color: #ffb347;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 16px;
}

.highlight-blue {
  color: #2bb3ff;
  background: linear-gradient(120deg, rgba(43, 179, 255, 0.15) 0%, rgba(43, 179, 255, 0) 100%);
  padding: 0 6px;
  border-radius: 6px;
}

.hero-description {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Hero Actions */
.hero-action-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #2bb3ff;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(43, 179, 255, 0.35);
}

.btn-primary:hover {
  background: #1aa5f0;
  transform: scale(1.03);
}

.micro-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-weight: 700;
  color: #ffb347;
  font-size: 18px;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

/* Media/Image Holder Cards */
.media-card {
  padding: 24px;
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 36px;
  z-index: 2;
  background: #ffb347;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
}

.image-holder {
  width: 100%;
  height: 280px;
  background: #f8fcff;
  border: 2px dashed #bce3ff;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.compact-holder {
  height: 180px;
  margin-top: 20px;
}

.image-holder:hover {
  background: #fffdf7;
  border-color: #ffb347;
}

.image-content {
  text-align: center;
}

.big-emoji {
  font-size: 42px;
  display: block;
  margin-bottom: 6px;
}

.holder-title {
  font-weight: 600;
  font-size: 15px;
  color: #2bb3ff;
  margin-bottom: 2px;
}

.holder-subtitle {
  font-size: 12px;
  color: #94a3b8;
}

/* 3-Column Feature Grid */
.card-grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  text-align: left;
  padding: 28px;
}

.emoji-bubble {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.blue-accent .emoji-bubble {
  background: #e6f7ff;
}

.amber-accent .emoji-bubble {
  background: #fff4e5;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

/* Workflow Section */
.workflow-card {
  text-align: center;
}

.workflow-card h2 {
  font-size: 24px;
  color: #1e293b;
  margin-bottom: 20px;
}

.steps-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.step-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: #334155;
}

.step-num {
  width: 24px;
  height: 24px;
  background: #2bb3ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.step-arrow {
  color: #ffb347;
  font-weight: bold;
}

/* ==========================================================================
   DROPDOWN MENU STYLES
   ========================================================================== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.caret {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.dropdown:hover .caret {
    transform: rotate(180deg);
}

/* Dropdown Content Box */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #edf7ff;
    z-index: 100;
    margin-top: 8px;
    animation: fadeIn 0.2s ease;
}

/* Hover trigger to show menu */
.dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-item {
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:hover {
    background: #f0f9ff;
    color: #2bb3ff;
}

.dropdown-item.active-item {
    background: #e6f7ff;
    color: #2bb3ff;
    font-weight: 600;
}
/* ==========================================================================
   MOBILE & RESPONSIVE COMPATIBILITY
   ========================================================================== */

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    z-index: 1001;
}

/* Base Adjustments for Smaller Desktop / Tablets */
@media screen and (max-width: 900px) {
    .home-wrapper {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 26px;
    }

    .card-grid3 {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Mobile Devices (Smartphones under 768px) */
@media screen and (max-width: 768px) {
    /* Header Adjustments */
    .header-nav {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block; /* Show hamburger toggle on mobile */
    }

    /* Transform navigation into slide-down mobile menu */
    .nav-tabs {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid #e2f2fe;
        display: none; /* Hidden by default until toggled */
        z-index: 1000;
    }

    .nav-tabs.is-active {
        display: flex; /* Shown when toggled */
        animation: fadeIn 0.25s ease forwards;
    }

    .tab-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    /* Mobile Dropdown Styling */
    .dropdown {
        width: 100%;
    }

    .dropdown-btn {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid #e0f2fe;
        margin-top: 6px;
        background: #f8fcff;
    }

    .dropdown-item {
        text-align: center;
    }

    /* Mobile Cards & Containers */
    .card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-action-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .micro-stat {
        align-items: center;
    }

    /* Single Column Grid for Mobile */
    .card-grid3 {
        grid-template-columns: 1fr;
    }

    /* Steps Stack Adjustment */
    .steps-row {
        flex-direction: column;
        width: 100%;
    }

    .step-chip {
        width: 100%;
        justify-content: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 4px 0;
    }

    /* Hide background circles on small screens to reduce visual clutter */
    .bg-circle {
        display: none;
    }
}