/* Landing Page Specific Styles */

/* Override body pseudo-elements for landing page */
.landing-page {
    overflow-x: hidden;
}

.landing-page::before,
.landing-page::after {
    display: none;
}

/* Animated Background Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
    animation: float-orb 20s ease-in-out infinite;
    will-change: transform;
}

.bg-orb-1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, var(--brand-green-light) 0%, var(--brand-green) 100%);
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
    bottom: 20%;
    left: -150px;
    animation-delay: -7s;
    opacity: 0.2;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-blue) 100%);
    top: 50%;
    right: -100px;
    animation-delay: -14s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* Landing Navigation */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.landing-nav .nav-brand {
    display: flex;
    flex-direction: column;
}

.landing-nav .nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 400;
    margin-top: 0.125rem;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

/* Floggy Hero Image */
.hero-floggy {
    margin-bottom: 1.5rem;
}

.floggy-hero {
    width: 120px;
    height: auto;
    animation: floggy-bounce 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(45, 80, 22, 0.2));
}

@keyframes floggy-bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-2deg);
    }
    75% {
        transform: translateY(-4px) rotate(2deg);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-title .highlight-love {
    color: var(--flog-green, #2D5016);
}

.hero-title .heart-o {
    display: inline-block;
    font-size: 0.68em;
    transform: translateY(-0.05em);
    margin: 0 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 14px;
}

/* Subtle pulse on hero CTA */
.hero-cta .btn-primary {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(86, 110, 61, 0.35);
    }
    50% {
        box-shadow: 0 4px 20px rgba(86, 110, 61, 0.5);
    }
}

.cta-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Hero Visual / Mock Dashboard */
.hero-visual {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.mock-dashboard {
    position: relative;
    padding: 1rem;
}

.mock-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
}

.mock-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

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

.mock-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mock-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mock-dish {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mock-dish-icon {
    font-size: 2.5rem;
}

.mock-dish-info {
    display: flex;
    flex-direction: column;
}

.mock-dish-name {
    font-weight: 600;
    color: var(--text-primary);
}

.mock-dish-restaurant {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.mock-rating {
    display: flex;
    gap: 2px;
    margin-top: 0.25rem;
}

.mock-rating .star {
    font-size: 0.875rem;
    color: #d1d1d6;
}

.mock-rating .star.filled {
    color: var(--star-color);
}

.mock-reminder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 280px;
}

.reminder-badge {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
}

.reminder-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Float Animation for Mock Cards */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

.float-animation.delay-float {
    animation-delay: -3s;
}

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

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Problem Section */
.problem-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 4rem 2rem;
}

.problem-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.problem-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.problem-pill:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pill-emoji {
    font-style: normal;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .problem-pills {
        flex-direction: column;
        align-items: center;
    }

    .problem-pill {
        white-space: normal;
        text-align: center;
        max-width: 100%;
    }
}

/* Features Section */
.features-section {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Secondary Features - Simple Rows */
.features-extras {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-row-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.feature-row-content {
    display: flex;
    flex-direction: column;
}

.feature-row-content strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-row-content span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .features-extras {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        text-align: center;
    }

    .feature-row {
        flex-direction: column;
        gap: 0.375rem;
    }

    .feature-row-content {
        align-items: center;
    }
}

/* How It Works Section */
.how-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, var(--bg-primary) 100%);
}

.timeline {
    max-width: 500px;
    margin: 3rem auto 0;
    position: relative;
}

/* Vertical connecting line */
.timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-green), var(--brand-blue));
    opacity: 0.4;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    position: relative;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--brand-green-light) 0%, var(--brand-green) 100%);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(86, 110, 61, 0.35);
}

.timeline-content {
    padding-top: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .timeline {
        max-width: 100%;
        padding-left: 0.5rem;
    }

    .timeline::before {
        left: 19px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.125rem;
    }

    .timeline-item {
        gap: 1rem;
    }
}

/* Perfect For Section */
.perfect-for-section {
    background: var(--bg-primary);
    padding: 4rem 2rem;
}

.personas {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.persona {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.persona-icon {
    font-size: 2rem;
}

.persona-text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
}

.persona-text strong {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}

.persona-text span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .personas {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .persona {
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .persona-text {
        flex-direction: column;
        align-items: center;
    }
}

/* Final CTA */
.final-cta {
    padding: 8rem 2rem;
}

.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.cta-card h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-card p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-card .btn {
    margin-bottom: 1rem;
}

.cta-subtext {
    display: block;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Objection Section */
.objection-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.objection-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.objection-card h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.objection-card p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.objection-punchline {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 4rem 2rem;
}

.trust-points {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.trust-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.125rem;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-text span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .trust-points {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .trust-point {
        max-width: 280px;
    }
}

/* Value Line Section */
.value-section {
    background: var(--bg-primary);
    padding: 2rem;
}

.value-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 1.0625rem;
    color: var(--text-primary);
    margin: 0;
}

.value-dot {
    color: var(--text-tertiary);
}

.value-highlight {
    font-weight: 600;
    color: var(--color-primary);
}

@media (max-width: 480px) {
    .value-line {
        flex-direction: column;
        gap: 0.25rem;
    }

    .value-dot {
        display: none;
    }
}

/* Footer */
.landing-footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-copyright {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* Legal Pages (Privacy & Terms) */
.legal-section {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
}

.legal-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.legal-card h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--divider);
}

.legal-card h2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-card ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

.legal-card a {
    color: var(--accent);
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 6rem 1.5rem 3rem;
    }

    .legal-card {
        padding: 2rem 1.5rem;
    }

    .legal-card h1 {
        font-size: 2rem;
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up.delay-1 {
    transition-delay: 0.2s;
}

.fade-in-up.delay-2 {
    transition-delay: 0.4s;
}

/* Initial visible state for hero elements (above the fold) */
.hero .fade-in-up {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero .fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

.hero .fade-in-up.delay-2 {
    animation-delay: 0.4s;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 2rem 4rem;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-floggy {
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta {
        align-items: center;
    }

    .hero-visual {
        max-width: 100%;
    }

}

@media (max-width: 768px) {
    .landing-nav {
        padding: 1rem 1.5rem;
    }

    .nav-tagline {
        display: none;
    }

    .objection-card,
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .objection-card h2 {
        font-size: 1.5rem;
    }

    .pricing-title {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }

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

    .mock-stats {
        gap: 1rem;
        justify-content: center;
    }

    .mock-stat-value {
        font-size: 1.5rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .step-connector {
        display: none;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .bg-orb {
        opacity: 0.25;
    }

    .bg-orb-1 {
        width: 400px;
        height: 400px;
    }

    .bg-orb-2 {
        width: 300px;
        height: 300px;
    }

    .bg-orb-3 {
        display: none; /* Hide third orb on mobile for performance */
    }
}

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

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .mock-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .features-grid,
    .problem-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}
