/* CSS Variables for Nori-inspired color scheme */
:root {
    --primary-white: #ffffff;
    --secondary-gray: #f8f9fa;
    --accent-green: #2d5a47;
    --text-dark: #1a1a1a;
    --text-medium: #555555;
    --text-light: #777777;
    --border-color: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --birdy-red: #f72121;
    --birdy-red-dark: #a51818;
    --birdy-green: #63e763;
    --birdy-green-dark: #3d8f3d;
    --birdy-blue: #30c3e5;
    --birdy-blue-dark: #1d7589;
    --birdy-yellow: #ffd731;
    --birdy-yellow-dark: #b38f1f;
    --birdy-red-secondary: rgba(247, 33, 33, 0.6);
    --birdy-green-secondary: rgba(99, 231, 99, 0.6);
    --birdy-blue-secondary: rgba(48, 195, 229, 0.6);
    --birdy-yellow-secondary: rgba(255, 215, 49, 0.6);
    --birdy-red-tertiary: #fee9e9;
    --birdy-green-tertiary: #effeef;
    --birdy-blue-tertiary: #eaf9fc;
    --birdy-yellow-tertiary: #fffbea;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--birdy-blue-tertiary);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.nav-logo {
    height: 80px;
    width: auto;
}

.nav-brand-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--birdy-blue-dark);
}

.nav-brand-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--birdy-blue-dark);
    margin-top: 2px;
}

.nav-links, .nav-links-logo {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a, .nav-links-logo a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links-logo a:hover {
    color: var(--birdy-yellow);
}

.nav-links a.header-cta-button {
    color: var(--text-dark);
}

.nav-links a.header-cta-button:hover {
    color: var(--birdy-yellow-dark);
}

.nav-links-logo {
    text-decoration: none;
}

.cta-button {
    background-color: var(--birdy-yellow);
    max-width: 200px;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-variant-caps: all-small-caps;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid var(--birdy-yellow);
}

.cta-button:hover {
    background-color: var(--primary-white);
    color: var(--birdy-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--birdy-yellow);
    border: 2px solid var(--accent-green);
}

.cta-button.secondary:hover {
    background-color: var(--birdy-yellow);
    color: var(--primary-white);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 16px;
}

.header .cta-button {
    max-width: 200px;
    font-weight: 600;
    font-size: 0.975em;
    padding: 9px;
    margin: 0;
    text-align: left;
    line-height: 1;
}

/* Header Pricing Card */
.header-pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-white);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px var(--shadow);
    border: 1px solid var(--birdy-yellow);
    position: relative;
}

.header-free-trial {
    display: block;
    font-size: 1.2rem;
    font-variant-caps: all-small-caps;
    font-weight: 800;
    color: var(--birdy-yellow-dark);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.header-cta-button {
    background-color: var(--birdy-yellow);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 2px solid var(--birdy-yellow);
    white-space: nowrap;
    display: inline-block;
    cursor: pointer;
    width: auto;
    min-width: fit-content;
}

.header-cta-button:hover {
    background-color: var(--primary-white);
    color: var(--birdy-yellow-dark);
    border-color: var(--birdy-yellow-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-hover);
}

/* Sections */
section {
    padding: 132px 0;
    min-height: 60vh;
}

/* Hero Section */
.hero {
    background-color: var(--primary-white);
    padding-top: 180px; /* Account for fixed header */
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--birdy-blue-dark);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--birdy-blue-dark);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pricing-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
    max-width: 300px;
    margin: 0 auto 2rem;
    border: 1px solid var(--birdy-yellow);
}

.pricing-offer {
    margin-bottom: 1.5rem;
}
.header-pricing-offer {
    font-size: 0.8rem;
    margin-bottom: 0rem;
}

.free-trial {
    display: block;
    font-size: 2.5rem;
    font-variant-caps: all-small-caps;
    font-weight: 800;
    color: var(--birdy-yellow-dark);
    margin-bottom: 0.5rem;
}

.pricing-text {
    display: block;
    font-size: 1.2rem;
    color: var(--text-medium);
    font-weight: 400;
    font-style: italic;
}

.hero-image {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-logo {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.hero-video {
    max-width: 230px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0rem;
}

.hero-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 0rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--birdy-yellow);
    color: var(--text-dark);
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: 2px solid var(--birdy-yellow);
    box-shadow: 0 4px 15px var(--shadow);
    cursor: pointer;
    min-width: 200px;
    animation: bounce 2s infinite;
}

.scroll-button:hover {
    background-color: var(--primary-white);
    color: var(--birdy-yellow-dark);
    border-color: var(--birdy-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    animation: none;
}

.scroll-text {
    font-size: 1.125rem;
    color: inherit;
    font-weight: 600;
    margin: 0;
}

.scroll-button svg {
    width: 24px;
    height: 24px;
    color: inherit;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Section Headings */
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.cta-section h2 {
    color: var(--text-dark);
}

/* Features Section */
.features {
    background-color: var(--birdy-blue-secondary);
    scroll-margin-top: 70px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 50px;
    height: 50px;
    align-self: center;
    justify-self: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 1.125rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--primary-white);
    scroll-margin-top: 120px;
    padding-top: 40px;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.how-it-works-card {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.how-it-works-content {
    min-height: 375px;
    display: flex;
    flex-direction: column;
}

.how-it-works-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.how-it-works-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.how-it-works-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--birdy-blue-dark);
    text-align: center;
}

.how-it-works-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-style: italic;
}

.how-it-works-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.how-it-works-research {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

.how-it-works-link {
    display: inline-block;
    color: var(--birdy-blue-dark);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.how-it-works-link:hover {
    color: var(--birdy-yellow-dark);
}

.how-it-works-links {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.how-it-works-links h4 {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.how-it-works-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-it-works-links li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.how-it-works-links li:last-child {
    margin-bottom: 0;
}

.how-it-works-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.5;
    display: block;
    transition: color 0.3s ease;
    font-style: normal;
}

.how-it-works-links a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.how-it-works-links .link-source {
    font-weight: 400;
    color: var(--text-medium);
    font-size: 0.8rem;
    font-style: italic;
}

/* About Section */
.about {
    background-color: var(--birdy-yellow-tertiary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--birdy-green-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--birdy-yellow);
}

/* CTA Section */
.cta-section {
    background-color: var(--birdy-green-tertiary);
    text-align: center;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--birdy-blue-tertiary);
    color: var(--text-dark);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-dark);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--text-dark);
}

.social-link svg {
    background-color: #000000;
    color: #ffffff;
    padding: 2px;
    border-radius: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover svg {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.footer-bottom p {
    color: var(--text-dark);
    font-size: 0.875rem;
}

.nav-brand-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Trademark */
.trademark {
    font-size: 0.3em;
    font-weight: normal;
    vertical-align: super;
    position: relative;
    margin-left: 2px;
    top: -0.7em;
    left: -0.0em;
}
h1 .trademark {
    font-size: 0.2em;
    top: -1.1em;
    left: -0.1em;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--birdy-blue-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background-color: var(--birdy-blue-tertiary);
    box-shadow: 0 4px 10px var(--shadow);
    z-index: 999;
    padding: 1rem 0;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--birdy-blue-dark);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: color 0.3s ease;
    width: 100%;
    text-align: center;
}

.mobile-menu a:hover {
    color: var(--birdy-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link-desktop {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links .header-pricing-card {
        display: flex;
    }

    .nav-brand-subtitle {
        font-size: 0.75rem;
    }

    .header-pricing-card {
        padding: 0.5rem 0.75rem;
        gap: 0.25rem;
    }

    .header-pricing-offer {
        font-size: 0.7rem;
    }

    .header-free-trial {
        font-size: 1rem;
    }

    .header-cta-button {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .scroll-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .scroll-text {
        font-size: 1rem;
    }

    .features-grid,
    .testimonials-grid,
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-logo {
        max-width: 100px;
    }

    .pricing-card {
        padding: 1.5rem;
        max-width: 280px;
    }

    .header .cta-button {
        max-width: 80px;
    }

    .header-pricing-card {
        padding: 0.4rem 0.6rem;
    }

    .header-free-trial {
        font-size: 1rem;
    }

    .header-cta-button {
        padding: 3px 6px;
        font-size: 0.7rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 18px;
    }

    .cta-button.large {
        padding: 14px 28px;
        font-size: 15px;
    }
}
