:root {
    --bg: #0a0a0c;
    --primary: #a855f7;
    --accent: #22d3ee;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  /* Offset for fixed navigation */
}

body {
    background-color: var(--bg);
    color: white;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3 {
    font-weight: 700;
    color: white;
    font-family: "Plus Jakarta Sans", sans-serif;
}
body p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 50px;
    z-index: 1000;
    font-family: "Satoshi", sans-serif;
}
.logo { 
    font-weight: 800; 
    font-size: 1.5rem; 
    letter-spacing: -1px; 
}
.logo a { 
    text-decoration: none; 
    color: white; 
}
.logo a:hover {
    color: var(--accent);
    transition: color 0.3s ease;
}
.logo span { 
    color: var(--primary); 
}
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
}
.nav-links a { 
    text-decoration: none; 
    color: #ccc; 
    font-size: 1rem; 
    transition: 0.3s;
    text-transform: uppercase; 
}
.nav-links a:hover { 
    color: var(--primary); 
}
.nav-cta {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary);
}

/* About Page Hero Section */
.about-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
}
.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}
/* Enhanced styling for the highlighted span in the Hero section */
.about-hero h1 span {
    background: linear-gradient(
        120deg, 
        var(--primary) 0%, 
        var(--accent) 50%, 
        var(--primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none; /* Removing the old underline */
    position: relative;
    animation: shine 4s linear infinite;
    display: inline-block;
}

/* Subtle animated underline that doesn't touch the text */
.about-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary);
    opacity: 0.7;
}

/* Animation to move the gradient across the text */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}
.about-hero bg {
    width: 400px;
    height: 400px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    filter: blur(100px);
    opacity: 0.5;
}
.hero-cta {
    margin-top: 20px;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta a {
    text-decoration: none;
    color: white;
}
.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary);
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
}

.header-content {
    flex: 1;
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .pam-widget {
        max-width: 100%;
        width: 100%;
    }
}
/* Animated Background */
.bg-glow {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh; 
    background-color: (var(--bg)); 
    background-image: 
        radial-gradient(circle at var(--x1, 50%) var(--y1, -10%), rgba(59, 7, 100, 0.8), transparent 60%),
        radial-gradient(circle at var(--x2, 10%) var(--y2, 90%), rgba(8, 51, 68, 0.8), transparent 50%);
    z-index: -1;
    animation: liquid-move 15s infinite alternate ease-in-out;
}

@keyframes liquid-move {
    0% {
        --x1: 45%; --y1: -5%;
        --x2: 5%;  --y2: 85%;
    }
    50% {
        --x1: 55%; --y1: 10%;
        --x2: 15%; --y2: 70%;
    }
    100% {
        --x1: 50%; --y1: -10%;
        --x2: 10%; --y2: 90%;
    }
}
/* Sample Dashboard Section */
.pam-widget {
    --pw-card: rgba(255,255,255,0.06);
    --pw-border: rgba(255,255,255,0.10);
    --pw-purple: #a855f7;
    --pw-cyan: #22d3ee;
    --pw-text: #ffffff;
    --pw-muted: #9ca3af;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid var(--pw-border);
    padding: 22px;
    max-width: 340px;
    color: var(--pw-text);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  /* Widget hover effects */
.pam-widget:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}

.pw-account {
    transition: all 0.3s ease;
}
.pw-account:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-3px);
}

.pw-insight {
    transition: all 0.3s ease;
}
.pw-insight:hover {
    border-color: rgba(168, 85, 247, 0.6);
    background: rgba(168, 85, 247, 0.08);
}
  .pam-widget * { box-sizing: border-box; margin: 0; padding: 0; }

  .pw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }
  .pw-logo { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: var(--pw-purple); }
  .pw-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; }

  .pw-balance-label { font-size: 11px; color: var(--pw-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
  .pw-balance { font-size: 34px; font-weight: 700; letter-spacing: -1px; margin-bottom: 4px; }
  .pw-balance-change { font-size: 12px; color: #22c55e; margin-bottom: 18px; }

  .pw-accounts {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
  }
  .pw-account {
    flex: 1;
    background: var(--pw-card);
    border: 1px solid var(--pw-border);
    border-radius: 12px;
    padding: 12px;
  }
  .pw-account-dot {
    width: 10px; height: 10px; border-radius: 50%;
    margin-bottom: 8px;
  }
  .pw-account-name { font-size: 10px; color: var(--pw-muted); margin-bottom: 4px; }
  .pw-account-amt { font-size: 14px; font-weight: 600; }

  .pw-bar-section { margin-bottom: 18px; }
  .pw-bar-label {
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--pw-muted);
    margin-bottom: 6px;
  }
  .pw-bar-track {
    height: 6px; background: rgba(255,255,255,0.08);
    border-radius: 99px; overflow: hidden;
  }
  .pw-bar-fill {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--pw-purple), var(--pw-cyan));
    transition: width 1s ease;
  }

  .pw-insight {
    background: var(--pw-card);
    border: 1px solid rgba(168,85,247,0.3);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .pw-insight-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .pw-insight-label { font-size: 10px; color: var(--pw-purple); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
  .pw-insight-text { font-size: 12px; color: #d1d5db; line-height: 1.5; }
/* Sample Insight Section */
.sample-insight {
    display: flex;
    flex-direction: column;
}
.chat-bubble {
    display: flex;
    margin-bottom: 20px;
    gap: 12px;
    align-items: flex-end;
}
.chat-bubble-user {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: flex-end;
}
.chat-bubble-pam {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: flex-start;
}
.chat-bubble .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.chat-bubble-user .icon {
    order: 2;
    color: var(--primary);
}
.chat-bubble-pam .icon {
    order: 1;
    color: var(--accent);
}
.chat-bubble p {
    color: #ccc;
    font-family: "Satoshi", sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 15px 18px;
    border-radius: 18px;
    max-width: 480px;
    border: 1px solid var(--border);
}
.chat-bubble-user p {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-color: rgba(168, 85, 247, 0.3);
    color: #e0e0e0;
}
.chat-bubble-pam p {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(34, 211, 238, 0.2);
    color: #ccc;
}

/* Header layout with h1 left and dashboard right */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.header-content h1 {
    flex: 0 1 45%;
    flex-shrink: 0;
}

.header-content .pam-dashboard-stage {
    flex: 1;
    padding: 0;
}

/* Below hero section with sample-insight left and description right */
.below-hero {
    padding: 80px 10%;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.hero-bottom .sample-insight {
    flex: 1;
    padding: 0;
    margin: 0;
}

.hero-description {
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-description p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 100%;
    background: var(--glass);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* Product Details Section */
.product-details {
    padding: 80px 10%;
    max-width: 1200px;
    margin: 0 auto;
}
.product-details h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--glass);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-card:hover { 
    transform:translateY(-5px); 
    border-color:var(--primary); 
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Specific styling for the large Stat numbers in market.html */
.feature-card .big-number {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.feature-card p {
    color: #ccc;
    font-family: "Satoshi", sans-serif;
    font-size: 0.95rem;
}
.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent);
}

#monthlySpend {
    background: rgba(255,255,255,0.1); 
    border: 1px solid var(--border); 
    color: white; 
    padding: 10px; 
    border-radius: 8px; 
    width: 60%;     
}
/* Business Strategy Section */
.business-strategy {
    padding: 80px 10%;
    max-width: 1200px;
    margin: 0 auto;
}
.business-strategy h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.business-strategy p {
    color: #ccc;
    font-family: "Satoshi", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
}
.business-strategy ul {
    list-style: disc inside;
    margin-top: 20px;
}
.business-strategy ul li {
    margin-bottom: 10px;
    font-family: "Satoshi", sans-serif;
}
.business-strategy ul li::marker {
    color: var(--primary);
}
.business-strategy h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}
/* Adjusting the grid for the audience/revenue sections */
.target-audience, .business-strategy {
    padding-top: 40px;
    padding-bottom: 40px;
}
/* Business & Audience List Styling */
.business-strategy ul, .target-audience ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.business-strategy li, .target-audience li {
    background: var(--glass);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    transition: 0.3s ease;
}

.business-strategy li:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.business-strategy li strong {
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
    font-family: "Satoshi", sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    background: var(--glass);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}