/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Updated for Keyword Alchemist */
    --color-background: #ffffff;
    --color-foreground: #0a0a0a;
    --color-muted: #f8f4f1;
    --color-muted-foreground: #737373;
    --color-primary: #c77447;
    --color-primary-dark: #a05a36;
    --color-primary-light: #d89568;
    --color-secondary: #e8b4a3;
    --color-accent: #f4e4d8;
    --color-danger: #dc2626;
    --color-border: #e5e5e5;
    --color-footer-bg: #f8f4f1;
    --color-footer-bg: #f8f4f1;
    --color-footer-text: #5a5a5a;

    /* Missing Variables */
    --success: #10b981;
    --primary-orange: #f59e0b;

    /* Spacing */
    --container-max-width: 1152px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

/* .gradient-text removed to allow later definition (brown) to take precedence */
.text-primary {
    color: var(--color-primary);
}

.text-danger {
    color: var(--color-danger);
}

.text-muted {
    color: var(--color-muted-foreground);
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin: 0 auto var(--spacing-2xl);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(to bottom right, #c77447, #a05a36);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--color-foreground);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.icon-arrow {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 1rem;
    z-index: 50;
    padding: 0.5rem 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #c77447, #a05a36);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-login {
    font-weight: 500;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    color: #c77447;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #f4e4d8, #e8b4a3);

    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.gradient-text {
    background: linear-gradient(to right, #c77447, #a05a36);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-2xl);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.icon-check {
    width: 1.25rem;
    height: 1.25rem;
    color: #16a34a;
}

/* Testimonial Card */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(7px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    max-width: 42rem;
    margin: 0 auto;
}

.testimonial-avatars {
    display: flex;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    margin-left: -0.75rem;
}

.avatar:first-child {
    margin-left: 0;
}



.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.875rem;
}

.testimonial-text {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.testimonial-divider {
    width: 1px;
    height: 2rem;
    background: var(--color-border);
}

.testimonial-quote {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-muted-foreground);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-card {
    position: absolute;
    width: 5rem;
    height: 5rem;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.float-card svg {
    width: 3rem;
    height: 3rem;
    color: var(--color-primary);
}

.float-image {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.float-card:hover {
    transform: rotate(0deg) !important;
}

.float-logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #c77447, #a05a36);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating positions and animations */
.float-1 {
    top: 5rem;
    left: 15%;
    transform: rotate(12deg);
    animation: float-slow 6s ease-in-out infinite;
}

.float-2 {
    top: 8rem;
    right: 18%;
    width: 4rem;
    height: 4rem;
    transform: rotate(-6deg);
    animation: float-medium 5s ease-in-out infinite;
}

.float-3 {
    top: 33%;
    left: 12%;
    width: 7rem;
    height: 7rem;
    transform: rotate(-12deg);
    animation: float-fast 4s ease-in-out infinite;
}

.float-4 {
    top: 50%;
    right: 15%;
    transform: rotate(6deg);
    animation: float-slow 6s ease-in-out infinite;
}

.float-5 {
    bottom: 8rem;
    left: 18%;
    width: 4rem;
    height: 4rem;
    transform: rotate(12deg);
    animation: float-medium 5s ease-in-out infinite;
}

.float-6 {
    bottom: 6rem;
    right: 22%;
    transform: rotate(-6deg);
    animation: float-fast 4s ease-in-out infinite;
}

.float-7 {
    top: 6rem;
    left: 25%;
    width: 4rem;
    height: 4rem;
    transform: rotate(6deg);
    animation: float-medium 5s ease-in-out infinite;
}

.float-8 {
    bottom: 7rem;
    right: 28%;
    width: 4.5rem;
    height: 4.5rem;
    transform: rotate(-12deg);
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0px) rotate(12deg);
    }

    50% {
        transform: translateY(-20px) rotate(12deg);
    }
}

@keyframes float-medium {

    0%,
    100% {
        transform: translateY(0px) rotate(-6deg);
    }

    50% {
        transform: translateY(-15px) rotate(-6deg);
    }
}

@keyframes float-fast {

    0%,
    100% {
        transform: translateY(0px) rotate(6deg);
    }

    50% {
        transform: translateY(-25px) rotate(6deg);
    }
}

/* Hero Background Gradients */
.hero-bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.gradient-1 {
    top: 0;
    left: 25%;
    width: 500px;
    height: 500px;
    background: #c77447;
}

.gradient-2 {
    top: 5rem;
    right: 25%;
    width: 500px;
    height: 500px;
    background: #a05a36;
}

/* ===== LIVE ACTIVITY ===== */
.live-activity {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.live-activity .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.activity-carousel {
    position: relative;
    height: 3rem;
    width: 100%;
    max-width: 28rem;
    overflow: hidden;
}

.activity-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.5s ease-in-out;
}

.activity-item.active {
    opacity: 1;
    transform: translateY(0);
}

.activity-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid white;
    flex-shrink: 0;
}

.activity-item span {
    font-size: 0.875rem;
}

/* ===== VIDEO SHOWCASE ===== */
.video-showcase {
    padding: 6rem 0;
}

.video-container {
    position: relative;
    background: linear-gradient(to bottom right, #60a5fa, #22d3ee, #14b8a6);
    border-radius: var(--radius-3xl);
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
}

.video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    background: black;
    border-radius: var(--radius-2xl);
    border: 4px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 1.5rem;
    pointer-events: none;
}

.video-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.video-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.video-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(50px);
    pointer-events: none;
}

.decoration-1 {
    top: 1rem;
    right: 1rem;
    width: 8rem;
    height: 8rem;
}

.decoration-2 {
    bottom: 1rem;
    left: 1rem;
    width: 6rem;
    height: 6rem;
}

/* Demo section */
.hero-visual {
    margin-top: 80px;
    position: relative;
    animation: slideInUp 0.8s ease-out 1.4s both;
}

.demo-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.demo-window {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.demo-header {
    background: rgb(87 97 94 / 5%);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.202);
}

.demo-buttons {
    display: flex;
    gap: 8px;
}

.demo-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-btn.red {
    background: #ff5f57;
}

.demo-btn.yellow {
    background: #ffbd2e;
}

.demo-btn.green {
    background: #28ca42;
}

.demo-title {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-left: auto;
    margin-right: auto;
}

.demo-content {
    padding: 24px;
    min-height: 290px;
}

.search-result {
    background: var(--white);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgb(87 97 94 / 5%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    margin: 20px;
}

.search-icon {
    color: var(--gray-400);
}

.search-results {
    space-y: 16px;
    margin: 20px;

}

.result-item {
    padding: 16px;
    border-radius: var(--radius-lg);
    background: rgb(87 97 94 / 5%);
    position: relative;
}

.result-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.result-title {
    color: #1a0dab;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.result-url {
    color: var(--success);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.result-snippet {
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.result-position {
    background: #c77447;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Floating badges */
/* Floating badges */
.floating-badge {
    position: absolute;
    z-index: 10;
    background: white;
    border-radius: var(--radius-lg);
    padding: 10px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--gray-200);
    animation: float 6s ease-in-out infinite;
    /* Increased duration for smoother float */
}

.badge-1 {
    top: -40px;
    /* Moved up */
    left: 80px;
    animation-delay: 0s;
}

.badge-2 {
    top: 75%;
    right: -115px;
    /* Moved further right to avoid overlap */
    transform: translateY(-50%);
    animation-delay: 1s;
}

.badge-3 {
    bottom: -20px;
    left: -120px;
    /* Moved further left */
    transform: translateX(0);
    animation-delay: 2s;
}

.badge-content {
    text-align: left;
}

.badge-title {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: block;
    white-space: nowrap;
    /* Prevent wrapping */
}

.badge-value {
    font-size: 1rem;
    font-weight: 700;
    color: #c77447;
    display: block;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== PROBLEM & SOLUTION ===== */
.problem-solution {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.02);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.problems-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: border-color 0.2s;
}

.problem-card:hover {
    border-color: #e8b4a3;
}

.problem-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: linear-gradient(to bottom right, #d89568, #a05a36);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.problem-content p {
    margin-bottom: 0.5rem;
}

.problem-content p:last-child {
    margin-bottom: 0;
}

.solution-card {
    position: sticky;
    top: 6rem;
    padding: 2rem;
    background: linear-gradient(to bottom right, #c77447, #a05a36);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.solution-logo {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-logo::before {
    content: '';
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background: linear-gradient(to bottom right, #c77447, #a05a36);
}

.solution-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.solution-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
}

.solution-intro {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    font-weight: 500;
    margin-bottom: 1rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.icon-check-circle {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.solution-feature span {
    font-size: 0.875rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 6rem 0;
    background: var(--color-background);
}

.how-it-works-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.how-it-works-title .section-title {
    text-align: left;
    margin-bottom: 0;
}

.how-it-works-description p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.step-visual {
    margin-bottom: 1.5rem;
}

.step-image {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f4e4d8 0%, #e8b4a3 100%);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.step-mockup {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 280px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.step-card:hover .step-mockup {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted-foreground);
    margin-bottom: 0.75rem;
}

.mockup-input {
    background: var(--color-muted);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--color-muted-foreground);
}

.mockup-button {
    background: linear-gradient(to right, #c77447, #a05a36);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Step 2 - Grid */
.step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
}

.grid-item {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.grid-title {
    font-size: 0.625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
}

.grid-bar {
    height: 0.5rem;
    background: linear-gradient(to right, #c77447, #a05a36);
    border-radius: var(--radius-full);
    width: 80%;
}

/* Step 3 - Backlinks */
.backlink-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--color-muted);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.backlink-icon {
    font-size: 1rem;
}

.da-badge {
    margin-left: auto;
    background: linear-gradient(to right, #c77447, #a05a36);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--color-muted-foreground);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.how-it-works-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== ZIGZAG FEATURES ===== */
.zigzag-features {
    padding: 6rem 0;
}

.zigzag-features .section-title,
.zigzag-features .section-description {
    text-align: left;
}

.zigzag-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.zigzag-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(to right, #ffffff 0%, #f4e4d8 30%, #e8b4a3 70%, #ffffff 100%);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-3xl);
    overflow: hidden;
}

.zigzag-item.reverse {
    direction: rtl;
    background: linear-gradient(to left, #ffffff 0%, #f4e4d8 30%, #e8b4a3 70%, #ffffff 100%);
}

.zigzag-item.reverse>* {
    direction: ltr;
}

.zigzag-text {
    padding: 2rem;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zigzag-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.zigzag-text p {
    color: var(--color-muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.zigzag-visual {
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px solid #e8b4a3;
    border-radius: var(--radius-2xl);
    margin: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.zigzag-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: absolute;
    top: 0;
    left: 0;
}

.zigzag-visual svg {
    width: 6rem;
    height: 6rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.visual-label {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.02);
}

.features-grid .section-title,
.features-grid .section-description {
    text-align: left;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: #e8b4a3;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: #f4e4d8;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* ===== PRICING ===== */
.pricing {
    padding: 6rem 0;
}

.pricing .section-title,
.pricing .section-description {
    text-align: left;
}

.plan-selector {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 3rem 0 2rem;
    padding: 0.5rem;
    background: var(--color-muted);
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.plan-tab {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.2s;
    position: relative;
}

.plan-tab.active {
    background: linear-gradient(to bottom right, #c77447, #a05a36);
    color: white;
}

.popular-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #fbbf24;
    color: #78350f;
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.pricing-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pricing-avatars {
    display: flex;
}

.pricing-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-3xl);
    overflow: visible;
    max-width: 64rem;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.pricing-left {
    padding: 3rem;
    background: linear-gradient(to bottom, #f4e4d8, white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-3xl) 0 0 var(--radius-3xl);
}

.pricing-badge-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pricing-badge {
    background: linear-gradient(to right, #c77447, #c7744786, #c77447);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
}

.pricing-popular-badge {
    position: absolute;
    top: -0.75rem;
    right: 2rem;
    background: linear-gradient(to right, #c77447, #a05a36);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(199, 116, 71, 0.4);
    z-index: 10;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}


.pricing-limited {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-old {
    font-size: 1.5rem;
    color: var(--color-muted-foreground);
    text-decoration: line-through;
}

.pricing-period {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.5rem;
}

.pricing-save {
    font-size: 0.875rem;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 2rem;
}

.pricing-cancel {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    text-align: center;
    margin-top: 1rem;
}

.pricing-right {
    padding: 3rem;
    background: white;
    overflow: hidden;
    border-radius: 0 var(--radius-3xl) var(--radius-3xl) 0;
}

.pricing-right h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-feature span {
    font-size: 0.875rem;
    line-height: 1.6;
}

.pricing-guarantee {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ===== FAQ ===== */
.faq {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.02);
}

.faq .section-title,
.faq .section-description {
    text-align: left;
}

.faq-list {
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-footer-text);
    margin-top: 1rem;
    line-height: 1.6;
}

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

.footer-links h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
}

.footer-links a {
    color: var(--color-muted-foreground);
    transition: color 0.2s;
}

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
    .floating-elements {
        display: none;
    }
}

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

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

    .problem-grid,
    .zigzag-item,
    .pricing-card {
        grid-template-columns: 1fr;
    }

    .zigzag-item.reverse {
        direction: ltr;
    }

    .solution-card {
        position: static;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-divider {
        width: 100%;
        height: 1px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .video-container {
        padding: 1.5rem;
    }
}

/* Fixed Demo Slide Styles */
.demo-content {
    position: relative;
    /* Ensure absolute children position relative to this */
}

.demo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: white;
    /* Ensure it covers the slide below */
}

.demo-slide.active {
    opacity: 1;
    z-index: 2;
}

/* ===== REVIEWS SECTION ===== */
.reviews {
    padding: 6rem 0;
    background: var(--color-background);
}

.reviews .section-title,
.reviews .section-description {
    text-align: center;
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #e8b4a3;
}

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

.review-avatar {
    width: 3rem;
    height: 3rem;
    border: 2px solid white;
    object-fit: cover;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 2px solid white;
    object-fit: cover;
    margin-right: -0.5rem;
    background: #f3f4f6;
    /* light gray bg just in case */
}

/* Re-using avatar gradients if not appearing */
.avatar-1,
.avatar-2,
.avatar-3,
.avatar-4 {
    /* Kept for backward compatibility if needed, but overridden by img src */
    background-size: cover;
}


.review-info {
    flex: 1;
}

.review-name {
    display: block;
    font-weight: 700;
    color: var(--color-foreground);
    line-height: 1.2;
}

.review-role {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.review-rating {
    color: #fbbf24;
    font-size: 0.875rem;
}

.review-text {
    font-size: 0.9375rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
    font-style: italic;
}