:root {
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --success: #10b981;
  --danger: #ef4444;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
}

/* Animated Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    padding: 10px 15px;
    text-align: center;
    position: relative;
    z-index: 100;
    animation: slideDown 0.6s ease-out;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* No flex needed now – everything stacks naturally */
.promo-text {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.promo-subtext {
    margin: 4px 0 6px 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Link styled as button, at the bottom */
.promo-banner a.promo-btn,
.promo-banner a.promo-btn:link,
.promo-banner a.promo-btn:visited {
    display: inline-block;
    background: #ffffff !important;
    color: #ff0844 !important;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    margin-top: 4px;
    animation: promoPulse 2s infinite;
}

.promo-banner a.promo-btn:hover,
.promo-banner a.promo-btn:focus {
    background: #ffe6ee !important;
    color: #d40839 !important;
    text-decoration: none !important;
}

/* Animations (if not already defined elsewhere) */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Header */
header {
    position: relative;
    z-index: 10;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #6366f1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left h1 {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 1.3rem;
    color: #a5b4fc;
    margin-bottom: 15px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stars-rating {
    color: #fbbf24;
    font-size: 0.7rem;
}

.rating-text {
    color: #94a3b8;
    font-size: 0.95rem;
}

.hero-features {
    list-style: none;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #e2e8f0;
}

.hero-features i {
    color: #10b981;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-right {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Badges */
.badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.badge {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5b4fc;
    backdrop-filter: blur(10px);
}

/* Use Cases Section */
.use-cases {
    padding: 25px 5%;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.4s;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.use-case-card.reviews {
    border-left: 4px solid #fbbf24;
}

.use-case-card.social {
    border-left: 4px solid #ec4899;
}

.use-case-card.payments {
    border-left: 4px solid #10b981;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.use-case-card.reviews .use-case-icon {
    color: #fbbf24;
}

.use-case-card.social .use-case-icon {
    color: #ec4899;
}

.use-case-card.payments .use-case-icon {
    color: #10b981;
}

.use-case-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.use-case-card p {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.use-case-benefits {
    list-style: none;
}

.use-case-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.use-case-benefits i {
    color: #10b981;
    font-size: 1rem;
}

/* Products Section */
.products {
    padding: 25px 5%;
    position: relative;
    z-index: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Make sure cards stretch to fill grid cell */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-info p {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; /* Pushes the button down */
}

.product-info a.btn-primary {
    align-self: flex-start; /* Align button to left, change to flex-end if you want right */
    margin-top: auto; /* Ensure button stays at bottom */
}

/* Shop Section */
.shop-section {
    padding: 25px 5%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.shop-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.shop-btn {
    padding: 20px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.shop-btn.amazon {
    background: linear-gradient(135deg, #ff9900 0%, #ffb84d 100%);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.4);
}

.shop-btn.etsy {
    background: linear-gradient(135deg, #f56400 0%, #ff8533 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(245, 100, 0, 0.4);
}

.shop-btn.ebay {
    background: linear-gradient(135deg, #0064d2 0%, #3385e0 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 100, 210, 0.4);
}

.shop-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

/* FAQ ACCORDION STYLES */
.faq {
    padding: 25px 5%;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #fff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.faq-question {
    width: 100%;
    padding: 22px 26px;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #a5b4fc;
}

.faq-question span {
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    font-size: 1.3rem;
    color: #6366f1;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 22px;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

/* Footer */
footer {
    background: rgba(10, 10, 15, 0.9);
    padding: 40px 5%;
    text-align: center;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: #94a3b8;
}

/* COMPARISON SECTION */
.comparison {
    padding: 90px 5% 110px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-subtitle {
    text-align: center;
    color: #cbd5e1;
    max-width: 720px;
    margin: -30px auto 40px;
    font-size: 1rem;
}

.comparison-table {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, #1e293b 0%, #020617 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}

.comparison-col {
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-col--left {
    border-right: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.96);
}

.comparison-col--right {
    background: rgba(15, 23, 42, 0.9);
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #bbf7d0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.brand-pill--danger {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.brand-dot--danger {
    background: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(30, 64, 175, 0.3);
}

.comparison-row:nth-child(even) .comparison-col--left {
    background: rgba(15, 23, 42, 0.97);
}

.comparison-row:nth-child(even) .comparison-col--right {
    background: rgba(15, 23, 42, 0.93);
}

.comparison-row--highlight .comparison-col--left {
    background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.26), rgba(15, 23, 42, 0.98));
}

.comparison-row--highlight .comparison-col--right {
    background: radial-gradient(circle at top right, rgba(252, 165, 165, 0.2), rgba(15, 23, 42, 0.95));
}

.comparison-row span {
    font-size: 0.98rem;
    color: #e2e8f0;
}

.comparison-row strong {
    color: #facc15;
}

/* Yes / No icons as tiny circles */
.icon-yes,
.icon-no {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0b1120;
}

.icon-yes {
    background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
}

.icon-yes::before {
    content: "✓";
}

.icon-no {
    background: radial-gradient(circle at 30% 30%, #fecaca, #ef4444);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.7);
}

.icon-no::before {
    content: "✕";
}

/* CTA under table */
.comparison-cta {
    text-align: center;
    margin-top: 40px;
}

.comparison-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.comparison-cta p {
    color: #cbd5e1;
    max-width: 640px;
    margin: 0 auto 24px;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .comparison-row,
    .comparison-header {
        grid-template-columns: 1fr;
    }

    .comparison-col--left {
        border-right: none;
        border-bottom: 1px solid rgba(30, 64, 175, 0.4);
    }

    .comparison {
        padding-top: 70px;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2.3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .badges {
        justify-content: center;
    }

    .hero-features {
        display: inline-block;
        text-align: left;
    }

    nav a {
        margin-left: 15px;
        font-size: 0.9rem;
    }
}

/* MOBILE COMPARISON FIX */
@media (max-width: 768px) {
    .comparison {
        padding: 3rem 1rem;
    }

    /* Hide the header row on mobile */
    .comparison-header {
        display: none;
    }

    /* Make each row a card */
    .comparison-row {
        grid-template-columns: 1fr;
        /* margin-bottom: 16px; */
        /* background: rgba(15, 23, 42, 0.95); */
        /* border-radius: 16px; */
        /* border: 1px solid rgba(99, 102, 241, 0.3); */
        overflow: hidden;
    }

    /* Show TapJetPro column only */
    .comparison-col--right {
        display: none;
    }

    .comparison-col--left {
        border-right: none;
        border-bottom: none;
        padding: 20px;
        background: rgba(15, 23, 42, 0.98) !important;
    }

    /* Add a mini header inside each card */
    .comparison-col--left::before {
        /* content: "✓ TapJetPro"; */
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #10b981;
        margin-bottom: 8px;
        letter-spacing: 0.05em;
    }

    /* Style the icons */
    .comparison-col--left .icon-yes {
        margin-right: 8px;
    }

    /* Adjust text size */
    .comparison-col {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Adjust subtitle on mobile */
    .comparison-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
}

/* Mobile Toggle Buttons */
.mobile-toggle {
  display: none;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.toggle-btn {
  flex: 1;
  max-width: 200px;
  padding: 15px 25px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

/* FORCE the dot to be visible */
.toggle-btn .brand-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;  /* green */
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* Red dot for "Most of Them" */
.toggle-btn .brand-dot--danger {
  background: #ef4444;  /* red */
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* Active button state */
.toggle-btn--active {
  border-color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
  color: #e2e8f0;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

/* Mobile View Logic */
@media (max-width: 968px) {
  .mobile-toggle {
    display: flex !important;
  }

  /* Hide desktop header on mobile */
  .comparison-header {
    display: none !important;
  }

  .comparison-row {
    grid-template-columns: 1fr !important;
  }

  /* Default: Show only TapJetPro */
  .comparison-table .comparison-col--right {
    display: none !important;
  }

  .comparison-table .comparison-col--left {
    display: flex !important;
  }

  /* When "others" is selected, swap visibility */
  .comparison-table[data-mobile-view="others"] .comparison-col--right {
    display: flex !important;
  }

  .comparison-table[data-mobile-view="others"] .comparison-col--left {
    display: none !important;
  }

  .comparison-row .comparison-col {
    /* border-top: 1px solid var(--glass-border); */
  }
}

.california-footer {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); /* warm sunset gradient */
  color: #2c3e50; /* deep ocean blue */
  text-align: center;
  padding: 20px 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  box-shadow: 0 -4px 15px rgba(253, 160, 133, 0.5);
  user-select: none;
  transition: background 0.3s ease;
}

.california-footer p {
  margin: 0;
  color:rgba(255, 255, 255, 0.05)
}

.california-footer:hover {
  background: linear-gradient(135deg, #fda085 0%, #f6d365 100%);
  color: #1a252f;
  cursor: default;
}