/* Pico fixes */
/* =============================================== */
:root {
    --pico-font-family-sans-serif: Inter, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji);
    /* Original: 100% */
    --pico-font-size: 100%;
    /* Original: 1.5 */
    --pico-line-height: 1.5;
    /* Original: 1rem */
    --pico-form-element-spacing-vertical: 1rem;
    /* Original: 1.25rem */
    --pico-form-element-spacing-horizontal: 1.25rem;
    /* Original: 0.25rem */
    --pico-border-radius: 0.25rem;
}

@media (min-width: 576px) {
    :root {
        --pico-font-size: 87.5%;
        /* Original: 106.25% */
    }
}

@media (min-width: 768px) {
    :root {
        --pico-font-size: 87.5%;
        /* Original: 112.5% */
    }
}

@media (min-width: 1024px) {
    :root {
        --pico-font-size: 100%;
        /* Original: 118.75% */
    }
}

@media (min-width: 1280px) {
    :root {
        --pico-font-size: 100%;
        /* Original: 125% */
    }
}

@media (min-width: 1536px) {
    :root {
        --pico-font-size: 100%;
        /* Original: 131.25% */
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    --pico-font-weight: 600;
    /* Original: 700 */
}

article {
    border: 1px solid var(--pico-muted-border-color);
    /* Original doesn't have a border */
    border-radius: calc(var(--pico-border-radius) * 2);
    /* Original: var(--pico-border-radius) */
}

article>footer {
    border-radius: calc(var(--pico-border-radius) * 2);
    /* Original: var(--pico-border-radius) */
}

/* Navbar */
nav {
    --nav-element-spacing-horizontal: 1.5rem;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    nav > ul:not(:first-child) {
        display: none;
    }
    nav > ul:first-child {
        margin-right: auto;
    }
}

/* General */
/* =============================================== */

.label {
    color: white;
    background-color: var(--pico-color-cyan-650);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .0625em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
}

button,a[role="button"] {
    transition: transform .2s ease-in-out;
}
button:hover,a[role="button"]:hover {
    transform: translateY(-2px);
}

/* Navbar */
/* =============================================== */
.navbar .logo {
    font-size: 2.0rem;
}

.navbar .logo img {
    width: 2rem;
    height: 2rem;
}

/* Add a hover effect on the anchor containing the logo */
.navbar .logo:hover img {
    animation: wave 1s ease-in-out infinite;
    transform-origin: center bottom; /* Pivot point for waving motion */
  }
  
  /* Define the waving animation */
  @keyframes wave {
    0%   { transform: rotate(0deg) skewX(0deg); }
    20%  { transform: rotate(5deg) skewX(2deg); }
    40%  { transform: rotate(-4deg) skewX(-2deg); }
    60%  { transform: rotate(3deg) skewX(1deg); }
    80%  { transform: rotate(-2deg) skewX(-1deg); }
    100% { transform: rotate(0deg) skewX(0deg); }
  }
  


/* Footer */
/* =============================================== */
footer {
    --spacing: 2rem;
    padding: calc(var(--spacing) * 2) 0;
    margin-top: calc(var(--spacing) * 2);
    background: var(--card-background-color);
    color: var(--card-text-color);
}

.footer-brand {
    margin-bottom: var(--spacing);
}

.footer-brand strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--muted-color);
    transition: color 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: calc(var(--spacing) * 1.5) 0;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted-color);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: var(--spacing);
    padding-top: var(--spacing);
    border-top: 1px solid var(--card-border-color);
    text-align: center;
}

/* Landing Page */
/* =============================================== */
:root {
    --hero-min-height: 80vh;
    --section-spacing: 4rem;
    --card-spacing: 1.5rem;
    --border-radius: 0.5rem;
    --transition-speed: 0.2s;
    --section-min-height: 80vh;
}

/* Base styles */
section {
    padding: var(--section-spacing) 0;
}

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

.section-header {
    color: var(--primary);
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

/* Hero section */
.hero-section {
    min-height: var(--hero-min-height);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background-color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin: 1.5rem auto;
    line-height: 1.5;
    max-width: 42rem;
    background-color: white;
}

.button-group {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
    margin-top: 2rem;
}

.button-group a.outline {
    background: white;
}

.page-section {
    min-height: var(--section-min-height);
}

.feature {
    padding: 2rem;
}

.feature-icon {
    background: var(--primary);
    color: var(--primary-text-color);
    width: 3rem;
    height: 3rem;
    display: inline;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Pricing */
.price {
    margin: 1rem 0;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.price-period {
    font-size: 1rem;
    color: var(--muted-color);
}

.price-discount {
    background: var(--mark-background-color);
    color: var(--mark-color);
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    display: inline-block;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

/* Steps */
.step {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --section-spacing: 3rem;
        --card-spacing: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}