html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    direction: rtl;
    /* background-color: #ffffff; */
    background-color: #f8fafc;
    color: #1a1a1a;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 27px;
    z-index: 1000;
}

.navbar {
    padding: 0 0.75rem;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    align-content: center;
    height: 70px;
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 0.5rem 0 0.2rem; */
}

.nav-brand {
    justify-self: start;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    justify-self: center;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
}

.nav-brand .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand .logo a:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 80px;
    height: auto;
    transition: filter 0.3s ease;
}

.nav-item {
    text-decoration: none;
    color: #6b7280;
    /* font-weight: 500; */
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #1a1a1a;
}

/* Header light mode (for dark backgrounds) */
.header-light .nav-item {
    color: #ffffff !important;
}

.header-light .nav-item:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

.header-light .logo-icon {
    filter: brightness(0) invert(1);
}

.header-light .hamburger-line {
    background: #ffffff !important;
}

/* Header dark mode (for light backgrounds) */
.header-dark .nav-item {
    color: #6b7280 !important;
}

.header-dark .nav-item:hover {
    color: #1a1a1a !important;
}

.header-dark .logo-icon {
    filter: none !important;
}

.header-dark .hamburger-line {
    background: #1a1a1a !important;
}

.btn-primary {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 18px;
    /* font-weight: 600; */
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    /* padding-left: 0.5rem; */
    margin-left: 1rem;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease, background 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

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

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Desktop/Mobile visibility */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Hero Section */
.hero {
    padding: 9rem 2rem 2rem;
    /* max-width: 1200px; */
    margin: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    position: relative;
    background: #f8fafc;
    border-radius: 32px;
    /* gap: 0.5rem; */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    /* right: 0; */
    bottom: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 70px 20px;
    z-index: -1;
    opacity: 0.6;
}

.hero-content-centered {
    max-width: 800px;
    width: 100%;
    justify-self: center;
}

.hero-title {
    font-size: 5.2rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* background-image: url('assets/excel_tiles.png'); */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
}

/* Typing Animation Styles */
.typing-word {
    font-weight: 800;
    /* color: #22c55e; */
    position: relative;
    display: inline;
    min-width: 120px;
    white-space: nowrap;
}

/* Underlined text with needle decoration */
.underlined-text {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.needle-underline {
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: auto;
    max-width: 390px;
    z-index: -1;
    filter: invert(64%) sepia(8%) saturate(3000%) hue-rotate(65deg) brightness(90%) contrast(101%);
}

/* .typing-word::after {
    content: '|';
    color: #22c55e;
    animation: blink 1s infinite;
    position: absolute;
    right: -5px; */
/* } */

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.typing-word.typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #22c55e;
    animation: typing 2s steps(40, end);
}

.highlight {
    position: relative;
    color: #1a1a1a;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 0;
    left: 0;
    height: 8px;
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    border-radius: 4px;
    z-index: -1;
}

.rating-section {
    margin-bottom: 1.5rem;
}

.rating-rectangles {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.rating-rect {
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
    text-align: center;
    border: none;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Minimal Color Schemes */
.rect-amber {
    background: #fef3c7;
    color: #d97706;
}

.rect-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

/* Remove old complex styling */
.rect-number,
.rect-stars,
.rect-label {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;
    opacity: 1;
    line-height: inherit;
}

.rating-rect::before {
    display: none;
}

/* Rectangle Color Themes */
.rect-blue {
    border: 2px solid #3b82f6;
}

.rect-blue::before {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.rect-blue .rect-number,
.rect-blue .rect-label {
    color: #1d4ed8;
}

.rect-green {
    border: 2px solid #03bf62;
}

.rect-green::before {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
}

.rect-green .rect-stars {
    color: #fbbf24;
}

.rect-green .rect-label {
    color: #02a055;
}

.rect-purple::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.rect-purple .rect-number,
.rect-purple .rect-label {
    color: #7c3aed;
}

.rect-orange {
    border: 2px solid #f59e0b;
}

.rect-orange::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.rect-orange .rect-number,
.rect-orange .rect-label {
    color: #d97706;
}

.user-count {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
    /* background: rgba(255, 255, 255, 0.9); */
    /* padding: 0.75rem 1.5rem; */
    /* border-radius: 25px; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
}

.hero-description {
    /* font-size: 1.25rem; */
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
    margin-bottom: 2rem;
}

.btn-cta {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    color: white;
    border: none;
    padding: 0.7rem 3.5rem;
    border-radius: 25px;
    font-size: 1.05rem;
    /* font-weight: 600; */
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 191, 98, 0.3);
}

.trial-text {
    color: #a7abb4;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Main Image */
.main-image-container {
    width: 100%;
    max-width: 1200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

@media (max-width: 768px) {
    .main-image-container {
        border-radius: 8px;
    }

    .needle-underline {
        bottom: -12px;
        max-width: 230px;
    }
}

/* .main-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
} */

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Social Proof Section */
.social-proof {
    margin-top: 4rem;
    padding-bottom: 0rem;
    background: white;
    /* background: #ffffff; */
}

.social-proof-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #f8fafc;
    text-align: center;
}

.social-proof-title {
    font-size: 1rem;
    justify-self: center;
    font-weight: 600;
    margin-right: 4rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.testimonials-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 3rem;
    padding-top: 1rem;
    scrollbar-width: none;
    scrollbar-color: #03bf62 #f1f1f1;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

.testimonials-wrapper::-webkit-scrollbar {
    height: 8px;
}

.testimonials-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonials-wrapper::-webkit-scrollbar-thumb {
    background: #03bf62;
    border-radius: 10px;
}

.testimonials-wrapper::-webkit-scrollbar-thumb:hover {
    background: #02a055;
}

.testimonials-grid {
    display: flex;
    gap: 1rem;
    animation: scroll 480s linear infinite;
    width: calc(28 * (300px + 2rem));
    transform: translateX(0);
}

.testimonials-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(21 * (300px + 2rem)));
    }
}

.testimonial-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
    text-align: right;
    height: 400px;
    width: 300px;
    min-width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.testimonial-card.dark {
    background: #1a1a1a;
    color: white;
}

.testimonial-card.light-green {
    background: #CDE06A;
    color: black;
}

.testimonial-card.light-gray {
    background: #f5f5f5;
    color: #374151;
}

.testimonial-card.purple {
    background: #8D8AFF;
    color: white;
}

.testimonial-stars {
    margin-bottom: 1.5rem;
    justify-content: center;
    text-align: center;
}

.stars {
    font-size: 1.25rem;
}

.stars.green {
    color: #10b981;
}

.stars.white {
    color: white;
}

.stars.purple {
    color: #8b5cf6;
}

.stars.yellow {
    color: #fbbf24;
}

.stars.dark-green {
    color: #047857;
}

.stars.amber {
    color: #f59e0b;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: right;
    align-content: center;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    font-weight: 600;
}

.testimonial-card.featured .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card.dark .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card.light-green .testimonial-author {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.testimonial-card.light-gray .testimonial-author {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.testimonial-card.purple .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card.light-green .author-name {
    color: #374151;
}

.testimonial-card.light-grey .author-name {
    color: #374151;
}

.author-name {
    font-size: 0.875rem;
}

/* Created With Section */
.created-with {
    padding: 4rem 2rem;
    /* background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); */
}

.created-with-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.created-with-title {
    font-size: 1rem;
    justify-self: baseline;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #6b7280;
}

.tools-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 4rem;
    margin-bottom: 2rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tool-item:hover {
    opacity: 1;
}

.tool-logo {
    /* width: 60px; */
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.tool-item:hover .tool-logo {
    filter: grayscale(0%);
}

.tool-name {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.created-with-subtitle {
    font-size: 1rem;
    color: #9ca3af;
    margin-top: 2rem;
}

/* Visualization Features Section */
.visualization-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.visualization-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    text-align: center;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.shape-circle {
    border-radius: 50%;
}

.shape-triangle {
    width: 0;
    height: 0;
    background: transparent !important;
}

.shape-diamond {
    transform: rotate(45deg);
    border-radius: 4px;
}

/* Individual shape positioning and colors */
.shape-1 {
    top: 15%;
    left: 14%;
    width: 20px;
    height: 20px;
    background: #fbb6ce;
    animation-delay: 0s;
}

.shape-2 {
    top: 8%;
    left: 5%;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid #a78bfa;
    animation-delay: 1s;
}

.shape-3 {
    top: 20%;
    right: 12%;
    width: 18px;
    height: 18px;
    background: #fde68a;
    animation-delay: 2s;
}

.shape-4 {
    top: 5%;
    right: 20%;
    width: 16px;
    height: 16px;
    background: #60a5fa;
    animation-delay: 3s;
}

.shape-5 {
    top: 10%;
    right: 5%;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #34d399;
    animation-delay: 4s;
    transform: rotate(180deg);
}

.shape-6 {
    top: 5%;
    left: 20%;
    width: 22px;
    height: 22px;
    background: #fed7d7;
    animation-delay: 5s;
}

@keyframes float {

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

    25% {
        transform: translateY(-10px) rotate(90deg);
    }

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

    75% {
        transform: translateY(-10px) rotate(270deg);
    }
}

/* Special animation for triangles */
.shape-triangle {
    animation: floatTriangle 8s ease-in-out infinite;
}

@keyframes floatTriangle {

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

    25% {
        transform: translateY(-15px) rotate(60deg);
    }

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

    75% {
        transform: translateY(-15px) rotate(180deg);
    }
}

/* Special animation for diamonds */
.shape-diamond {
    animation: floatDiamond 7s ease-in-out infinite;
}

@keyframes floatDiamond {

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

    25% {
        transform: translateY(-12px) rotate(135deg);
    }

    50% {
        transform: translateY(-18px) rotate(225deg);
    }

    75% {
        transform: translateY(-12px) rotate(315deg);
    }
}

.visualization-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.visualization-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    /* ensure horizontal centering consistency */
    flex-direction: column;
    align-items: center;
    /* centers children even if width calc is odd */
}

.visualization-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 900px;
    /* constrain width */
    width: 100%;
    /* flex child fills then constrained */
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    /* background: white; */
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); */
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
    position: relative;
    z-index: 2;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    text-align: right;
    direction: rtl;
}

/* Accent Colors for Each Card */
.cost-savings {
    background: rgba(239, 68, 68, 0.1);
}

.full-control {
    background: rgba(34, 197, 94, 0.1);
}

.flexibility {
    background: rgba(245, 158, 11, 0.1);
}

.security {
    background: rgba(59, 130, 246, 0.1);
}

.deep-understanding {
    background: rgba(139, 92, 246, 0.1);
}

.powerful-tool {
    background: rgba(236, 72, 153, 0.1);
}

.cost-savings .benefit-icon {
    color: #ef4444;
}

.full-control .benefit-icon {
    color: #22c55e;
}

.flexibility .benefit-icon {
    color: #f59e0b;
}

.security .benefit-icon {
    color: #3b82f6;
}

.deep-understanding .benefit-icon {
    color: #8b5cf6;
}

.powerful-tool .benefit-icon {
    color: #ec4899;
}

/* Custom Icon Drawings */
.dollar-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.dollar-sign {
    font-size: 24px;
    font-weight: bold;
    color: #ef4444;
    line-height: 40px;
    text-align: center;
}

.dollar-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid #ef4444;
    border-radius: 50%;
}

.target-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.target-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid #22c55e;
}

.target-ring.outer {
    width: 40px;
    height: 40px;
    top: 0;
    left: 0;
}

.target-ring.middle {
    width: 28px;
    height: 28px;
    top: 6px;
    left: 6px;
}

.target-ring.inner {
    width: 16px;
    height: 16px;
    top: 12px;
    left: 12px;
}

.target-center {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    position: absolute;
    top: 17px;
    left: 17px;
}

.clock-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.clock-face {
    width: 40px;
    height: 40px;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    position: relative;
}

.clock-hand {
    position: absolute;
    background: #f59e0b;
    transform-origin: bottom center;
    border-radius: 2px;
}

.clock-hand.hour {
    width: 2px;
    height: 12px;
    top: 8px;
    left: 19px;
    transform: rotate(45deg);
}

.clock-hand.minute {
    width: 1px;
    height: 16px;
    top: 4px;
    left: 19.5px;
    transform: rotate(90deg);
}

.shield-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.shield-body {
    width: 30px;
    height: 35px;
    background: #3b82f6;
    border-radius: 15px 15px 0 50%;
    position: absolute;
    top: 2px;
    left: 5px;
}

.shield-lock {
    position: absolute;
    top: 8px;
    left: 14px;
}

.lock-body {
    width: 12px;
    height: 8px;
    background: white;
    border-radius: 2px;
}

.lock-shackle {
    width: 8px;
    height: 6px;
    border: 2px solid white;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    position: absolute;
    top: -6px;
    left: 2px;
}

.bulb-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.bulb-top {
    width: 20px;
    height: 25px;
    background: #8b5cf6;
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: 2px;
    left: 10px;
}

.bulb-middle {
    width: 16px;
    height: 8px;
    background: #8b5cf6;
    position: absolute;
    top: 25px;
    left: 12px;
}

.bulb-base {
    width: 12px;
    height: 5px;
    background: #8b5cf6;
    position: absolute;
    top: 33px;
    left: 14px;
    border-radius: 0 0 2px 2px;
}

.bulb-glow {
    position: absolute;
    top: 0;
    left: 8px;
    width: 24px;
    height: 24px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        opacity: 0.3;
        transform: scale(1);
    }

    to {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.chart-icon {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    width: 40px;
    height: 40px;
    justify-content: center;
    padding-bottom: 5px;
}

.chart-bar {
    background: #ec4899;
    border-radius: 2px 2px 0 0;
    width: 6px;
}

.chart-bar.bar1 {
    height: 15px;
}

.chart-bar.bar2 {
    height: 25px;
}

.chart-bar.bar3 {
    height: 20px;
}

.chart-bar.bar4 {
    height: 30px;
}

/* Responsive Design for Benefits Grid */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        padding: 0 1rem;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .benefits-grid::-webkit-scrollbar {
        display: none;
    }

    .benefit-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
        scroll-snap-align: center;
    }

    .benefit-description {
        text-align: center;
    }

    .visualization-title {
        font-size: 2rem;
        line-height: 1.3;
    }
}

.visualization-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.vis-tile {
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vis-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.vis-dashboards {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
}

.vis-reports {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #8b5cf6;
}

.vis-charts {
    background: linear-gradient(135deg, #fed7d7 0%, #fbb6ce 100%);
    border-color: #f56565;
}

.vis-budgets {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.vis-tracking {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.tile-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.tile-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.tile-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dashboard Mockup */
.dashboard-mockup {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.dash-stat {
    font-size: 1.125rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.dash-chart {
    height: 20px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 4px;
    opacity: 0.7;
}

/* Report Mockup */
.report-mockup {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.report-line {
    height: 8px;
    background: #8b5cf6;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.report-line.short {
    width: 60%;
}

.report-chart {
    height: 15px;
    background: linear-gradient(90deg, #8b5cf6 20%, #a78bfa 60%, #c4b5fd 80%);
    border-radius: 4px;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Chart Mockup */
.chart-mockup {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pie-chart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(#f56565 0deg 120deg, #fbb6ce 120deg 240deg, #fed7d7 240deg 360deg);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legend-item {
    width: 20px;
    height: 6px;
    border-radius: 3px;
}

.legend-item.orange {
    background: #f56565;
}

.legend-item.blue {
    background: #fbb6ce;
}

.legend-item.green {
    background: #fed7d7;
}

/* Budget Mockup */
.budget-mockup {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.budget-bar {
    height: 12px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.budget-fill {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 6px;
}

.budget-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    text-align: center;
}

/* Tracking Mockup */
.tracking-mockup {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.track-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    opacity: 0.5;
}

.track-dot.active {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

.track-line {
    flex: 1;
    height: 4px;
    background: rgba(245, 158, 11, 0.3);
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .visualization-section {
        padding: 4rem 1rem;
    }

    .visualization-title {
        width: 100%;
        font-size: 2.25rem;
    }

    .visualization-subtitle {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .visualization-description {
        font-size: 1.125rem;
    }

    .visualization-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .vis-tile {
        padding: 1.5rem 1rem;
        min-height: 220px;
    }

    .tile-title {
        font-size: 1.125rem;
    }

    /* Hide some shapes on mobile for cleaner look */
    .shape-2,
    .shape-5 {
        display: none;
    }

    /* Adjust remaining shapes for mobile */
    .shape-1 {
        top: 10%;
        left: 5%;
        width: 15px;
        height: 15px;
    }

    .shape-3 {
        top: 15%;
        right: 8%;
        width: 14px;
        height: 14px;
    }

    .shape-4 {
        bottom: 15%;
        right: 5%;
        width: 12px;
        height: 12px;
    }

    .shape-6 {
        bottom: 20%;
        left: 6%;
        width: 16px;
        height: 16px;
    }
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #034C36 0%, #003332 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

.feature-content strong {
    font-weight: 700;
    color: #CDE06A;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Special styling for different cards */
.card-beige {
    background: linear-gradient(135deg, rgba(3, 76, 54, 0.3) 0%, rgba(0, 51, 50, 0.2) 100%);
    border: 1px solid rgba(3, 76, 54, 0.4);
}

.card-purple {
    background: linear-gradient(135deg, rgba(3, 76, 54, 0.4) 0%, rgba(0, 51, 50, 0.3) 100%);
    border: 1px solid rgba(3, 76, 54, 0.5);
}

.card-white {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(3, 76, 54, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-black {
    background: linear-gradient(135deg, rgba(0, 51, 50, 0.6) 0%, rgba(3, 76, 54, 0.4) 100%);
    border: 1px solid rgba(0, 51, 50, 0.7);
}

.card-lime {
    background: linear-gradient(135deg, rgba(205, 224, 106, 0.2) 0%, rgba(3, 76, 54, 0.3) 100%);
    border: 1px solid rgba(205, 224, 106, 0.4);
}

/* Features Mobile Responsive */
@media (max-width: 768px) {
    .features-section {
        padding: 4rem 1rem;
    }

    .features-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .features-grid {
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
        border-radius: 16px;
    }

    .feature-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

/* Dashboard Gallery Section */
.dashboard-gallery {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.gallery-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 400px;
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-text {
    padding: 3rem;
}

.gallery-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.gallery-text p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Alternate layout for even items */
.gallery-item:nth-child(even) .gallery-content {
    grid-template-columns: 1fr 1fr;
}

.gallery-item:nth-child(even) .gallery-image {
    order: 2;
}

.gallery-item:nth-child(even) .gallery-text {
    order: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        top: 1rem;
        left: 0.5rem;
        right: 1rem;
        /* width: calc(95% - 1rem); */
        border-radius: 12px;
    }

    .navbar {
        padding: 0 1rem;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        padding: 0 0rem;
        height: 60px;
    }

    .nav-brand {
        justify-self: unset;
        height: auto;
    }

    .nav-menu {
        justify-self: unset;
        height: auto;
        gap: 1rem;
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-actions {
        justify-self: unset;
        height: auto;
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        border-radius: 22px;
        margin-right: 1rem;
        margin-left: 1rem;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        gap: 1rem;
        z-index: 1001;
        animation: slideInDown 0.3s ease-out;
    }

    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu.active .nav-item {
        color: #6b7280 !important;
        font-weight: 500;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.2s ease;
        transform: translateX(0);
        opacity: 0;
        animation: fadeInRight 0.3s ease-out forwards;
    }

    .nav-menu.active .nav-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active .nav-item:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-menu.active .nav-item:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-menu.active .nav-item:nth-child(4) {
        animation-delay: 0.25s;
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-menu.active .nav-item:hover {
        color: #1a1a1a !important;
        background: rgba(3, 191, 98, 0.1);
        transform: translateX(5px);
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .hero {
        gap: 0rem;
        padding: 7.5rem 1rem 1rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 3.2rem;
        line-height: 1;
        padding: 0;
        max-width: 100%;
    }

    .rating-section {
        margin-bottom: 1rem;
    }

    .rating-rectangles {
        gap: 0.375rem;
        padding: 0 1rem;
    }

    .rating-rect {
        margin-top: 0.85rem;
        margin-bottom: 0.85rem;
        padding: 0.15rem 0.5rem;
        border-radius: 16px;
        /* font-size: 0.625rem; */
    }

    .gallery-content {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }

    .gallery-image {
        height: 250px;
        order: 1 !important;
    }

    .gallery-text {
        order: 2 !important;
        padding: 2rem;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        height: auto;
        min-height: 250px;
    }

    .social-proof-title {
        margin-right: 0;
        text-align: center;
        width: 100%;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .tools-grid {
        gap: 2rem;
        /* flex-wrap: wrap; */
        margin-left: 10px;
        justify-content: center;
    }

    .tool-logo {
        /* width: 50px; */
        gap: 0;
        padding: 0;
        height: 50px;
    }
}

.hero-content-centered {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: both;
}

.main-image-container {
    animation: fadeInScale 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
    animation-fill-mode: both;
}

.main-image-container:hover {
    animation: floatAnimation 3s ease-in-out infinite;
}

/* FAQ Page Specific Styles */
.faq-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    color: white;
    text-align: center;
    margin: 0.5rem;
    border-radius: 32px;
}

.faq-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.faq-hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta {
    padding: 0rem 0rem 4rem;
    background: #f8fafc;
    /* background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); */
    text-align: center;
}

.faq-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.faq-cta-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 6rem 1rem 3rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .faq-hero-title {
        font-size: 2.5rem;
    }

    .faq-hero-subtitle {
        font-size: 1.125rem;
    }

    .faq-cta {
        padding: 0rem 2rem 4rem;
    }

    .faq-cta-title {
        font-size: 2rem;
    }

    .faq-cta-subtitle {
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 3rem 2rem;
    background: #f8fafc;
    direction: rtl;
}

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

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #6b7280;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-right: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: #03bf62;
}

.faq-answer {
    padding: 1rem 2rem 2rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-link {
    color: #03bf62;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-link:hover {
    color: #02a055;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 1rem;
    }

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

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #374151;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand .logo-icon {
    width: 80px;
    height: auto;
    color: #ffffff;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Desktop: Show desktop social, hide mobile social */
.footer-social-desktop {
    display: flex;
}

.footer-social-mobile {
    display: none;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /* background: rgba(255, 255, 255, 0.1); */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* .social-link:hover {
    background: rgba(3, 191, 98, 0.2);
    border-color: #03bf62;
    color: #03bf62;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 191, 98, 0.2);
} */

/* Footer specific social hover colors (override generic green) */
.footer .social-link {
    position: relative;
    overflow: hidden;
}

.footer .social-link[aria-label="Facebook"]:hover {
    /* background: #1877F2; */
    color: #1877F2;
    /* border-color: #1877F2; */
    /* box-shadow: 0 5px 15px rgba(24, 119, 242, 0.35); */
}

.footer .social-link[aria-label="LinkedIn"]:hover {
    /* background: #0A66C2; */
    color: #0A66C2;
    /* border-color: #0A66C2; */
    /* box-shadow: 0 5px 15px rgba(10, 102, 194, 0.35); */
}

.footer .social-link[aria-label="GitHub"]:hover {
    /* background: #24292e; */
    color: #ffffff;
    /* border-color: #24292e; */
    /* box-shadow: 0 5px 15px rgba(36, 41, 46, 0.4); */
}

/* Instagram multi-color gradient */
.footer .social-link[aria-label="Instagram"]:hover {
    /* background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); */
    color: #d6249f !important; /* Ensure the color is applied */
    /* border-color: transparent; */
    /* box-shadow: 0 5px 18px rgba(214, 36, 159, 0.5); */
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

.footer-section {
    text-align: right;
}

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

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #03bf62;
}

.footer-bottom {
    padding: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: #03bf62;
}

.separator {
    color: #4b5563;
    font-size: 0.875rem;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    /* Mobile: Hide desktop social, show mobile social */
    .footer-social-desktop {
        display: none;
    }

    .footer-social-mobile {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 0rem;
    }

    /* .social-link {
        width: 44px;
        height: 44px;
    } */

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 7rem 2rem 4rem;
    background: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    margin: 0.5rem;
    border-radius: 32px;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: white;
    line-height: 1.6;
}

.contact-content {
    padding: 1rem 0rem 6rem;
    background: #f8fafc;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-simple {
    text-align: center;
}

.contact-methods-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
    flex: 1;
    max-width: 280px;
}

.contact-method:hover {
    transform: translateY(-2px);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.contact-link {
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    direction: ltr;
}

.contact-link:hover {
    color: #03bf62;
}

.response-time {
    margin: 3rem 0;
    padding: 1rem;
    background: rgba(3, 191, 98, 0.1);
    border-radius: 12px;
    border-left: 4px solid #03bf62;
}

.response-time p {
    margin: 0;
    color: #02a055;
    font-weight: 500;
}

.social-contact {
    display: flex;
    justify-content: space-evenly;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* .social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    text-decoration: none;
} */

.social-link:hover {
    transform: translateY(-2px);
}



/* Contact Page Mobile Responsive */
@media (max-width: 768px) {
    .response-time {
        margin: 0rem 0rem 2rem;
    }

    .contact-hero {
        padding: 5.5rem 1rem 3rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1.125rem;
    }

    .contact-content {
        padding: 1rem 0rem 1rem;
    }

    .contact-simple {
        padding: 1.5rem;
    }

    .contact-methods-container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-method {
        max-width: 100%;
    }
}

/* Templates Hero Section */
.templates-hero {
    margin: 0.5rem;
    border-radius: 32px;
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    padding: 9rem 2rem 4rem;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    text-align: center;
}

.hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.templates-title {
    font-size: 3.5rem;
    font-weight: 800;
    /* color: #1a1a1a; */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    /* background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* background-clip: text; */
}

.templates-description {
    font-size: 1.375rem;
    /* color: #6b7280; */
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Benefits and CTA Sections */
.templates-benefits {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

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

.benefit-card {
    /* background: white; */
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

.templates-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-large {
    background: white;
    color: #22c55e;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #22c55e;
    transform: translateY(-2px);
}

/* Templates Showcase Styles */
.templates-showcase {
    padding: 4rem 2rem;
    /* background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); */
    /* background: white; */
}

/* Pricing Cards Layout (New) */
.templates-showcase.pricing-cards {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 2rem 1rem 6rem;
}

.pricing-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: baseline;
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-shadow: 0 4px 18px -6px rgba(0, 0, 0, 0.08);
    transition: box-shadow .4s, transform .45s;
    overflow: hidden;
}

/* Initial hidden state for scroll-in animation (simplified & smoother) */
.pricing-card {
    opacity: 0;
    transform: translateY(32px);
    will-change: opacity, transform;
}

.pricing-card.in-view {
    animation: cardEnter .6s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: var(--delay, 0ms);
}

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: translateY(32px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

.pricing-card:hover {
    box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.pricing-card.is-featured {
    border: none;
    padding-top: 2.25rem;
}

.pricing-card.is-featured .card-accent-bar {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(95deg, #fb923c 0%, #ec4899 50%, #6366f1 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.pricing-card.is-featured:before {
    content: "הכי פופולרי";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(95deg, #fb923c, #6366f1);
    color: #fff;
    font-size: 1rem;
    letter-spacing: .12em;
    font-weight: 700;
    text-align: center;
    padding: .55rem 0 .5rem;
}

.pricing-card.is-featured .badge {
    display: none;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.card-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #0f172a;
}

.pricing-card.is-featured .card-title {
    font-size: 1.6rem;
}

.card-sub {
    margin: 0;
    font-size: .85rem;
    line-height: 1.4;
    color: #475569;
    font-weight: 500;
}

.badge {
    align-self: flex-start;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: .65rem;
    letter-spacing: .08em;
    font-weight: 700;
    padding: .45rem .8rem .4rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px -4px rgba(34, 197, 94, .4);
}

/* Plan Toggle inside featured card */
.plan-toggle.compact {
    background: #f1f5f9;
    padding: .35rem;
    border-radius: 12px;
    display: inline-flex;
    gap: .4rem;
    border: 1px solid #e2e8f0;
}

.plan-toggle.compact .plan-btn {
    background: transparent;
    border: none;
    font-size: .7rem;
    font-weight: 600;
    padding: .5rem .9rem;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: all .25s;
}

.plan-toggle.compact .plan-btn.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .2);
}

.plan-toggle.compact .plan-btn:not(.active):hover {
    color: #0f172a;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    font-weight: 800;
    align-self: center;
}

.price-box .currency {
    font-size: 1.1rem;
    color: #0f172a;
}

.price-box .amount {
    font-size: 2.3rem;
    color: #0f172a;
    line-height: 1;
}

.pricing-card.is-featured .price-box .amount {
    font-size: 2.8rem;
}

.price-box .per {
    font-size: .7rem;
    color: #64748b;
    font-weight: 600;
}

/* Override existing showcase-features inside pricing-card */
.pricing-card .showcase-features {
    display: flex;
    /* flex-direction: column; */
    gap: .55rem;
    margin: .5rem 0 0;
    padding: 0;
}

.pricing-card .feature-row {
    background: transparent;
    border: none;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .72rem;
    font-weight: 600;
    color: #1e293b;
    /* padding: 0; */
    white-space: normal;
}

.pricing-card .feature-row .feature-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #0f172a;
    color: #fff;
    font-size: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.pricing-card .feature-row[data-available="premium"].disabled {
    opacity: .4;
    filter: grayscale(.4);
    position: relative;
}

.pricing-card .feature-row[data-available="premium"].disabled:after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    transform: translateX(-60%);
    background: #f1f5f9;
    color: #0f766e;
    font-size: .55rem;
    font-weight: 700;
    padding: .15rem .35rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, .2);
}

/* Active premium feature colorful chips */
.pricing-card .feature-row[data-available="premium"]:not(.disabled) {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    padding: .55rem .85rem .5rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1.1;
    position: relative;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, .12);
    transition: background .3s, transform .35s, box-shadow .35s;
    cursor: default;
}

/* .pricing-card .feature-row[data-available="premium"]:not(.disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .18);
} */

/* Distinct palettes (nth-of-type relative to full list inside UL) */
/* Removed distinct color palettes for premium features to keep neutral style */

.pricing-card.is-featured .feature-row .feature-icon {
    background: linear-gradient(135deg, #fb923c, #6366f1);
}

/* --- Simplified feature list style (no colored chips) --- */
/* Remove pill/gradient styles and add a green check at start inside pricing cards */
.pricing-card .feature-row {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 .35rem 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-size: .8rem;
    font-weight: 600;
    color: #1e293b !important; /* force neutral text color */
    white-space: normal !important;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    line-height: 1.4;
    transition: color .25s ease;
}

/* Premium (enabled) neutral as well
.pricing-card .feature-row[data-available="premium"]:not(.disabled) {
    background: none !important;
    padding: 0 0 .35rem 0 !important;
} */

/* Disabled premium keep dim effect */
.pricing-card .feature-row[data-available="premium"].disabled {
    opacity: .55;
    filter: grayscale(.25);
    background: none !important;
}

/* Replace placeholder feature-icon with a pseudo green check */
.pricing-card .feature-row:before {
    content: '\2713'; /* checkmark */
    font-size: .9rem;
    line-height: 1;
    color: #059669; /* emerald-600 */
    font-weight: 700;
    display: inline-block;
    transform: translateY(2px);
    flex-shrink: 0;
}

/* Hide check icon for disabled premium features (basic plan) */
.pricing-card .feature-row[data-available="premium"].disabled:before {
    content: '';
    width: 0;
    margin: 0;
}

/* Hover just darkens text slightly */
.pricing-card .feature-row:not(.disabled):hover {
    color: #0f172a;
}

.card-actions {
    margin-top: .5rem;
    text-align: center;
}

.showcase-btn.stretch {
    width: 100%;
    text-align: center;
}

/* Screenshot preview */
.screenshot-wrapper {
    position: relative;
    margin-top: 1.2rem;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.12);
    transition: transform .5s, box-shadow .5s;
}

.screenshot-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

/* Hover effect removed (previous zoom/translate disabled intentionally) */

.screenshot-wrapper.small {
    aspect-ratio: auto;
    height: 140px;
}

/* Stack slider (horizontal scroll of images) */
.stack-slider {
    padding: 0;
}
/* Photo gallery - simple image switcher */
.stack-slider .stack-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-slider img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,.25);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Page indicators */
.stack-slider .stack-indicators {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 6px;
    z-index: 4;
    pointer-events: none;
}

.stack-slider .stack-indicators button {
    pointer-events: auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(0,0,0,0.25);
    padding: 0;
    cursor: pointer;
    transition: background .3s, transform .3s;
}

.stack-slider .stack-indicators button.active {
    background: #0f172a;
    transform: scale(1.25);
}

/* Lightbox modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.15s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-indicators {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
}

.lightbox-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.lightbox-indicators button.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        top: auto;
        bottom: 60px;
        transform: none;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
}

.pricing-card:not(.is-featured) .screenshot-wrapper.small img {
    object-fit: cover;
    object-position: top;
    height: 100%;
    width: 100%;
}

/* Mobile adjustments */
@media (max-width: 820px) {
    .pricing-card.is-featured {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.is-featured {
        grid-column: auto;
    }

    .pricing-card {
        padding: 1.5rem 1.35rem 1.75rem;
    }

    .pricing-card .feature-row {
        font-size: .75rem;
    }

    .price-box .amount {
        font-size: 2.4rem;
    }
}

/* ===========================
   Success Page Styles
   =========================== */

.success-wrapper {
    max-width: 880px;
    margin: 0 auto;
    margin-top: 5rem;
    padding: clamp(2rem, 4vw, 3.5rem) 1.25rem;
    text-align: center;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, #16a34a, #059669);
    color: #fff;
    font-weight: 600;
    padding: .55rem 1.1rem;
    border-radius: 100px;
    font-size: .85rem;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .3);
}

.success-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    color: #16a34a;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .25);
}

.success-headline {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin: 1.75rem 0 .75rem;
    line-height: 1.2;
    background: linear-gradient(25deg, #0f172a, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    direction: rtl;
    unicode-bidi: bidi-override;
    white-space: nowrap;
}

.success-sub {
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    color: #475569;
    line-height: 1.6;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin: 0 auto 2.25rem;
    padding: 0;
    list-style: none;
}

.order-meta li {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: .65rem 1rem .55rem;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.order-meta strong {
    font-weight: 600;
    color: #0f172a;
}

.next-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem;
    margin-bottom: 2.5rem;
}

.next-actions a,
.next-actions button {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .9rem;
    padding: .85rem 1.2rem;
    border-radius: 10px;
    position: relative;
}

.btn-outline {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.btn-outline:hover {
    background: #f1f5f9;
}

.resources-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1.4rem 1.3rem 1.6rem;
    border-radius: 18px;
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .12);
    text-align: right;
    max-width: 760px;
    margin: 0 auto;
}

.resources-box h2 {
    font-size: 1.15rem;
    margin: 0 0 1rem;
    color: #0f172a;
}

.resources-grid {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.resource-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: .9rem .85rem;
    border-radius: 14px;
    font-size: .8rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    position: relative;
}

.resource-item span.label {
    font-weight: 600;
    color: #0f172a;
    font-size: .75rem;
    letter-spacing: .5px;
}

.small-muted {
    font-size: .7rem;
    color: #64748b;
    margin-top: 1.25rem;
}

.celebrate {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 14px;
    top: 0;
    left: 50%;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    border-radius: 2px;
    opacity: 0;
    animation: fall 4.5s linear forwards;
}

@keyframes fall {
    0% {
        transform: translate3d(0, -20vh, 0) rotateZ(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--dx), 110vh, 0) rotateZ(var(--rot));
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .success-headline {
        white-space: normal;
        line-height: 1.15;
    }
    
    .next-actions {
        flex-direction: column;
    }
    
    .next-actions a,
    .next-actions button {
        justify-content: center;
    }
    
    .order-meta {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Desktop: center the featured card (keep first on mobile) */
@media (min-width: 1000px) {
    .pricing-grid {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
    }

    .pricing-grid .pricing-card {
        flex: 0 1 330px;
        max-width: 330px;
        height: auto;
    }

    .pricing-grid .pricing-card.is-featured {
        order: 2;
        flex-basis: 360px;
        max-width: 360px;
    }

    .pricing-grid .pricing-card:not(.is-featured) {
        margin-top: 1.75rem;
    }

    .pricing-grid .pricing-card:not(.is-featured):first-of-type {
        order: 1;
    }

    .pricing-grid .pricing-card:not(.is-featured):last-of-type {
        order: 3;
    }
}

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

.template-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
    min-height: 500px;
}

.template-showcase:last-child {
    margin-bottom: 0;
}

.featured-template {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    /* border: 2px solid #22c55e; */
}

.template-badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}

.showcase-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 1.5rem;
}

.feature-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #374151;
    font-weight: 600;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    border: 1px solid #93c5fd;
    margin: 0.25rem 0.5rem 0.25rem 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.feature-row:hover {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.feature-row:nth-child(1) {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fbbf24;
    color: #92400e;
}

.feature-row:nth-child(1):hover {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.feature-row:nth-child(2) {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #34d399;
    color: #065f46;
}

.feature-row:nth-child(2):hover {
    background: linear-gradient(135deg, #a7f3d0 0%, #34d399 100%);
    box-shadow: 0 2px 8px rgba(52, 211, 153, 0.2);
}

.feature-row:nth-child(3) {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    border-color: #f472b6;
    color: #be185d;
}

.feature-row:nth-child(3):hover {
    background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 100%);
    box-shadow: 0 2px 8px rgba(244, 114, 182, 0.2);
}

.feature-icon {
    font-size: 1rem;
    width: auto;
    text-align: center;
    flex-shrink: 0;
}

.showcase-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.price-label {
    color: #6b7280;
    font-weight: 500;
}

.price-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: #22c55e;
}

.showcase-btn {
    background: #05a356;
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: fit-content;
}

.primary-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.showcase-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.primary-btn:hover {
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.showcase-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.image-frame:hover {
    transform: scale(1.02) rotateY(5deg) rotateX(2deg);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* Alternating layout for visual interest */
.template-showcase:nth-child(even) {
    direction: ltr;
}

.template-showcase:nth-child(even) .showcase-content {
    direction: rtl;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .template-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
        min-height: auto;
        text-align: center;
    }

    .template-showcase:nth-child(even) {
        direction: rtl;
    }

    .template-showcase:nth-child(even) .showcase-content {
        direction: rtl;
    }

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

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

    .featured-template {
        padding: 2rem;
    }

    .showcase-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .image-frame {
        max-width: 350px;
    }

    .templates-showcase {
        padding: 2rem 1rem;
    }
}

/* Benefits Section */
.templates-benefits {
    padding: 6rem 2rem;
    background: white;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benefits-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 3.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.benefit-card {
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 20px;
    /* background: #f8fafc; */
    transition: transform 0.3s ease;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
}

/* Templates CTA Section */
.templates-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #034C36 0%, #003332 100%);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.375rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #034C36;
    transform: translateY(-2px);
}

/* Templates Mobile Responsive */
@media (max-width: 768px) {
    .templates-title {
        font-size: 2.75rem;
        text-align: center;
    }

    .templates-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        max-width: none;
    }

    .template-card-modern {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .template-content-modern {
        padding: 2rem 1.5rem;
    }

    .benefits-title {
        font-size: 2.25rem;
    }

    .benefits-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 2rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        scroll-snap-align: center;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .benefits-grid::-webkit-scrollbar {
        display: none;
    }

    .benefit-card {
        flex: 0 0 280px;
        min-width: 280px;
        scroll-snap-align: center;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-large,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .templates-hero {
        margin: 0.5rem;
        border-radius: 16px;
        padding: 7rem 1rem 4rem;
        text-align: center;
    }

    .templates-section {
        padding: 0 1rem 4rem;
    }
}

/* =============================================================================
   PLAN TOGGLE & FEATURE AVAILABILITY
   ============================================================================= */

/* Plan Toggle Buttons */
.plan-toggle {
    display: flex;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 12px;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
    gap: 0.25rem;
}

.plan-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #059669;
}

.plan-btn.active {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(3, 191, 98, 0.3);
}

.plan-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    color: #047857;
}

/* Feature Availability States */
.feature-row[data-available="premium"] {
    transition: all 0.3s ease;
}

.feature-row[data-available="premium"].disabled {
    opacity: 0.4;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    pointer-events: none;
}

.feature-row[data-available="premium"].disabled .feature-icon {
    filter: grayscale(1);
    opacity: 0.5;
}

/* =============================================================================
   LEGAL PAGES (TERMS, PRIVACY, ETC.)
   ============================================================================= */

/* Legal Hero Section */
.legal-hero {
    padding: 7rem 2rem 4rem;
    background: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    margin: 0.5rem;
    border-radius: 32px;
}

.legal-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.legal-hero-description {
    font-size: 1.25rem;
    color: white;
    line-height: 1.6;
}

/* Legal Content */
.legal-content {
    padding: 4rem 2rem;
    background: #ffffff;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-article {
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #03bf62;
    display: inline-block;
}

.legal-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.legal-text {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin: 1.5rem 0;
    padding-right: 1.5rem;
}

.legal-list li {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-list li:last-child {
    margin-bottom: 0;
}

.legal-list li strong {
    color: #1a1a1a;
    font-weight: 600;
}

.legal-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.legal-warning .legal-subheading {
    color: #92400e;
    margin-bottom: 1rem;
}

.legal-warning .legal-text {
    color: #92400e;
}

.legal-warning .legal-list li {
    color: #92400e;
}

.legal-link {
    color: #03bf62;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #02a055;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-hero {
        margin: 0.5rem;
        border-radius: 16px;
        padding: 6rem 1rem 3rem;
    }

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

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

    .legal-content {
        padding: 3rem 1rem;
    }

    .legal-heading {
        font-size: 1.5rem;
    }

    .legal-text {
        font-size: 0.9rem;
    }

    .legal-list {
        padding-right: 1rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    margin: 0.5rem;
    border-radius: 32px;
}

.privacy-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #1a1a1a;
}

.privacy-hero-subtitle {
    font-size: 1.5rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.privacy-content {
    padding: 6rem 2rem;
    background: white;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-intro {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
}

.privacy-section {
    margin-bottom: 4rem;
}

.privacy-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #03bf62;
}

.privacy-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
}

.privacy-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #03bf62;
}

.privacy-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.privacy-item-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.privacy-item-text:last-child {
    margin-bottom: 0;
}

.privacy-link {
    color: #03bf62;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #02a055;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.privacy-list li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
}

.privacy-list li::before {
    content: '•';
    color: #03bf62;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.privacy-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.privacy-warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.privacy-warning-content {
    flex: 1;
}

.privacy-warning-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #92400e;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 6rem 1rem 3rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .privacy-hero-title {
        font-size: 2.5rem;
    }

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

    .privacy-content {
        padding: 4rem 1rem;
    }

    .privacy-section-title {
        font-size: 1.5rem;
    }

    .privacy-item {
        padding: 1rem;
    }

    .privacy-warning {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
}

/* Accessibility Page Styles */
.accessibility-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    text-align: center;
    margin: 0.5rem;
    border-radius: 32px;
}

.accessibility-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #1a1a1a;
}

.accessibility-hero-subtitle {
    font-size: 1.5rem;
    color: #0369a1;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.accessibility-content {
    padding: 6rem 2rem;
    background: white;
}

.accessibility-container {
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-intro {
    font-size: 1.25rem;
    color: #0369a1;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 500;
}

.accessibility-section {
    margin-bottom: 4rem;
}

.accessibility-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0ea5e9;
}

.accessibility-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.accessibility-item {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0f9ff;
    border-radius: 12px;
    border-left: 4px solid #0ea5e9;
}

.accessibility-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.accessibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accessibility-list li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5563;
}

.accessibility-list li::before {
    content: '✓';
    color: #0ea5e9;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0.5rem;
}

.accessibility-link-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.accessibility-external-link {
    color: #0369a1;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.accessibility-external-link:hover {
    color: #0284c7;
}

.accessibility-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.accessibility-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
    overflow: hidden;
}

.accessibility-contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
    transition: left 0.5s ease;
}

.accessibility-contact-item:hover::before {
    left: 100%;
}

.accessibility-contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}

.accessibility-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.accessibility-contact-item:hover .accessibility-contact-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.accessibility-contact-item:hover .accessibility-contact-icon svg {
    transform: scale(1.1);
}

.accessibility-contact-item:hover .accessibility-contact-icon svg path,
.accessibility-contact-item:hover .accessibility-contact-icon svg polyline,
.accessibility-contact-item:hover .accessibility-contact-icon svg line,
.accessibility-contact-item:hover .accessibility-contact-icon svg circle {
    stroke: white !important;
    fill: white !important;
}

.accessibility-contact-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
    z-index: 2;
}

.accessibility-contact-link:hover {
    color: #0369a1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .accessibility-contact-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .accessibility-contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .accessibility-contact-link {
        font-size: 1rem;
    }
}

.accessibility-heart {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 20px;
    border: 2px solid #f59e0b;
}

.accessibility-heart-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #92400e;
    margin: 0;
}

.accessibility-commitment {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #22c55e;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.accessibility-commitment-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.accessibility-commitment-content {
    flex: 1;
}

.accessibility-commitment-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 1rem;
}

.accessibility-commitment-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #15803d;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .accessibility-hero {
        padding: 6rem 1rem 3rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .accessibility-hero-title {
        font-size: 2.5rem;
    }

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

    .accessibility-content {
        padding: 4rem 1rem;
    }

    .accessibility-section-title {
        font-size: 1.5rem;
    }

    .accessibility-item {
        padding: 1rem;
    }

    .accessibility-contact {
        padding: 1.5rem;
    }

    .accessibility-contact-item {
        flex-direction: row;
        text-align: center;
        gap: 0.5rem;
    }

    .accessibility-commitment {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .accessibility-heart {
        padding: 1.5rem;
    }

    .accessibility-heart-text {
        font-size: 1.25rem;
    }
}

/* Blog Page Styles */
.blog-hero {
    padding: 8rem 2rem 4rem;
    /* background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); */
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    text-align: center;
    margin: 0.5rem;
    border-radius: 32px;
}

.blog-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    /* color: #1a1a1a; */
}

.blog-hero-subtitle {
    font-size: 1.5rem;
    /* color: #6b7280; */
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.blog-posts {
    padding: 2rem 2rem;
    /* background: white; */
}

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

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #03bf62;
    background: #03bf62;
    color: white;
    transform: translateY(-2px);
}

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

.blog-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    /* padding: 2rem; */
    /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
}

.blog-post-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-post.featured .blog-post-image {
    height: 300px;
    border-radius: 12px;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image {
    transform: scale(1.05);
}

.blog-post-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(3, 191, 98, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post.featured .blog-post-content {
    padding: 2rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.post-date::before {
    content: '📅';
    margin-left: 0.5rem;
}

.post-read-time::before {
    content: '⏱️';
    margin-left: 0.5rem;
}

.blog-post-title {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #03bf62;
}

.blog-post.featured .blog-post-title {
    font-size: 2rem;
    font-weight: 700;
}

.blog-post:not(.featured) .blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-post-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    font-size: 0.9rem;
    color: #4b5563;
}

/* .author-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
} */

.read-more {
    color: #03bf62;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #02a055;
}

.blog-newsletter {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: white;
    color: #03bf62;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
}

/* Individual Blog Post Styles */
.blog-post-hero {
    padding: 8rem 2rem 4rem;
    /* background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); */
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    margin: 0.5rem;
    border-radius: 32px;
}

.blog-post-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    /* color: #6b7280; */
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    /* color: #9ca3af; */
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-current {
    /* color: #03bf62; */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.blog-post-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    /* color: #1a1a1a; */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.blog-post-meta-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-post-meta-hero .author-name,
.blog-post-meta-hero .post-date,
.blog-post-meta-hero .post-read-time {
    color: rgba(255, 255, 255, 0.9);
}

.blog-hero .post-date,
.blog-hero .post-read-time,
.blog-post-hero .post-date,
.blog-post-hero .post-read-time {
    color: rgba(255, 255, 255, 0.9);
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-category-tag {
    background: #03bf62;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-post-content {
    padding: 4rem 2rem;
    background: white;
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-image-featured {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    overflow: visible;
}

.blog-intro {
    margin-bottom: 3rem;
}

.blog-intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4b5563;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-right: 4px solid #03bf62;
}

.blog-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #03bf62;
}

.blog-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
}

.blog-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.blog-list li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: #4b5563;
}

.blog-list li::before {
    content: '✓';
    color: #03bf62;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.blog-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #15803d;
    margin-bottom: 1rem;
}

.blog-code-block {
    /* background: #1a1a1a; */
    background: linear-gradient(135deg, #034C36 0%, #003332 100%);
    color: #e5e5e5;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.blog-code-block h4 {
    color: #03bf62;
    margin-bottom: 1rem;
}

.blog-table {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid #e5e7eb;
}

.table-header {
    background: #03bf62;
    color: white;
    font-weight: 600;
}

.table-cell {
    padding: 1rem;
}

.table-row:nth-child(even) {
    background: #f8fafc;
}

.blog-formula {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.blog-formula h4 {
    color: #92400e;
    margin-bottom: 1rem;
}

.blog-formula code {
    background: #1a1a1a;
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
}

.blog-tips {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-right: 4px solid #03bf62;
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tip-content h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tip-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.blog-cta {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

/* Blog Video Embed */
.blog-video-wrapper {
    margin: 0rem 0 3rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    padding: 1.25rem 1.25rem 1.75rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px -8px rgba(3, 191, 98, 0.25);
    position: relative;
}

.blog-video-wrapper::before {
    /* content: '▶'; */
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 1.1rem;
    color: #059669;
    opacity: 0.6;
}

.blog-video-wrapper .video-aspect {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.blog-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #047857;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 640px) {
    .blog-video-wrapper {
        padding: 1rem 1rem 1.5rem;
        border-radius: 16px;
    }

    .blog-video-wrapper::before {
        left: 12px;
        top: 10px;
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-button {
    background: white;
    color: #03bf62;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.related-posts {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.related-container {
    max-width: 800px;
    margin: 0 auto;
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-3px);
}

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    margin-bottom: 0.5rem;
}

.related-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #03bf62;
}

.related-post-date {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Floating TOC overlay button */
.floating-toc {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1200;
    direction: rtl;
    font-size: 0.85rem;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.floating-toc .toc-toggle {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(3, 191, 98, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-toc .toc-toggle::after {
    content: '≡';
    font-size: 1.1rem;
    line-height: 1;
}

.floating-toc.open .toc-toggle::after {
    content: '×';
    font-size: 1.3rem;
}

.floating-toc .toc-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px -8px rgba(3, 191, 98, 0.55), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-toc .toc-panel {
    position: absolute;
    bottom: 110%;
    left: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 1.25rem 1.25rem 1.5rem;
    width: 300px;
    max-height: min(70vh, 640px);
    overflow-y: auto;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.2), 0 8px 24px -4px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.95);
    transform-origin: bottom left;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.16, .84, .44, 1);
    backdrop-filter: blur(12px);
}

.floating-toc.open .toc-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.floating-toc.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(.9);
}

.floating-toc .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: #03bf62 #f1f5f9;
}

.floating-toc .toc-list::-webkit-scrollbar {
    width: 6px;
}

.floating-toc .toc-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.floating-toc .toc-list::-webkit-scrollbar-thumb {
    background: #03bf62;
    border-radius: 10px;
}

.floating-toc a {
    text-decoration: none;
    color: #475569;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    display: block;
    line-height: 1.35;
    font-weight: 500;
    position: relative;
    transition: background 0.25s ease, color 0.25s ease, padding-right 0.25s ease;
}

.floating-toc a:hover {
    background: #ecfdf5;
    color: #047857;
}

.floating-toc a.active {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3, 191, 98, 0.25);
}

@media (max-width: 640px) {
    .floating-toc {
        left: 1rem;
        bottom: 1.25rem;
    }

    .floating-toc .toc-panel {
        width: min(90vw, 340px);
    }
}

@media (prefers-color-scheme: dark) {
    .floating-toc .toc-panel {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
        border-color: #334155;
        box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6), 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    }

    .floating-toc a {
        color: #cbd5e1;
    }

    .floating-toc a:hover {
        background: #1e293b;
        color: #10b981;
    }

    .floating-toc a.active {
        box-shadow: 0 4px 14px rgba(3, 191, 98, 0.45);
    }
}

/* Stylish Inline Images inside Blog Posts */
.blog-post-content .inline-image {
    display: block;
    width: 100%;
    max-width: 780px;
    margin: 2.25rem auto;
    background: #ffffff;
    border: 1px solid #eef2f7;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
    object-fit: cover;
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.blog-post-content .inline-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px -6px rgba(0, 0, 0, 0.15), 0 4px 14px rgba(0, 0, 0, 0.08);
    border-color: #dbe4ec;
}

/* Image Sets (multiple images grouped) */
.blog-post-content .blog-image-set {
    display: grid;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

/* Two images side-by-side if viewport wide enough */
@media (min-width: 780px) {

    .blog-post-content .blog-image-set img.inline-image,
    .blog-post-content .blog-image-set>img:not(.featured-image) {
        margin: 0;
    }

    .blog-post-content .blog-image-set.two,
    .blog-post-content .blog-image-set:has(img + img + :not(img)) {
        /* fallback no-op for unsupported */
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .blog-post-content .blog-image-set img {
        width: 100%;
    }
}

/* Compact variant if needed */
.blog-post-content .inline-image.small {
    max-width: 520px;
    padding: 0.75rem;
}

/* Dark mode support (future) */
/* @media (prefers-color-scheme: dark) {
    .blog-post-content .inline-image {
        background: #0f172a;
        border-color: #1e293b;
        box-shadow: 0 8px 24px -4px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.4);
    }
    .blog-post-content .inline-image:hover {
        border-color: #334155;
        box-shadow: 0 16px 42px -6px rgba(0,0,0,0.7), 0 4px 14px rgba(0,0,0,0.55);
    }
} */

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 1rem 3rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

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

    .blog-posts {
        padding: 2rem 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-post.featured {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .blog-post.featured .blog-post-image {
        height: 200px;
    }

    .blog-post.featured .blog-post-title {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .blog-post-hero {
        padding: 6rem 1rem 3rem;
        margin: 0.5rem;
        border-radius: 16px;
    }

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

    .blog-post-meta-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .blog-post-content {
        padding: 3rem 1rem;
    }

    .featured-image {
        height: 250px;
    }

    .blog-heading {
        font-size: 1.5rem;
    }

    .blog-subheading {
        font-size: 1.25rem;
    }

    .table-row {
        grid-template-columns: 1fr;
    }

    .tip-item {
        flex-direction: column;
        text-align: center;
    }

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

/* ===== CHECKOUT PAGE STYLES ===== */

/* Checkout Hero */
.checkout-hero {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
    margin: 0.5rem;
    border-radius: 32px;
}

.checkout-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.checkout-hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Checkout Section */
.checkout-section {
    padding: 2rem 1rem;
    background: #f8fafc;
}

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

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

/* Order Summary */
.order-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.order-summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

/* Template Preview */
.template-preview {
    margin-bottom: 2rem;
}

.template-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.template-screenshot {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.template-screenshot:hover {
    border-color: #03bf62;
    transform: scale(1.05);
}

.template-details {
    text-align: center;
}

.template-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.template-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.template-features h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    text-align: right;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.features-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-right: 1.5rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #03bf62;
    font-weight: bold;
}

/* Price Breakdown */
.price-breakdown {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.price-label {
    color: #6b7280;
}

.price-amount {
    font-weight: 600;
    color: #1a1a1a;
}

.discount-row .price-amount {
    color: #03bf62;
}

.total-row {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.25rem;
}

.total-row .price-label,
.total-row .price-amount {
    font-weight: 700;
    color: #1a1a1a;
}

/* Checkout Form */
.checkout-form-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #03bf62;
    box-shadow: 0 0 0 3px rgba(3, 191, 98, 0.1);
}

.form-hint {
    display: block;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Coupon Input Group */
.coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-group .form-input {
    flex: 1;
}

.apply-coupon-btn {
    background: #03bf62;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.apply-coupon-btn:hover {
    background: #02a055;
}

.coupon-message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.coupon-message.success {
    color: #03bf62;
}

.coupon-message.error {
    color: #ef4444;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: contents;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.6;
    cursor: pointer;
    margin: 0;
    text-align: right;
    direction: rtl;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    margin: 0;
    /* margin-top: 0.2rem; */
    margin-left: 0.5rem;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
}

.checkbox-input:checked {
    background: #03bf62;
    border-color: #03bf62;
}

.checkbox-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.checkbox-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 191, 98, 0.1);
}

.terms-link,
.privacy-link {
    color: #03bf62;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.terms-link:hover,
.privacy-link:hover {
    color: #02a055;
    text-decoration: underline;
}

/* Payment Buttons */
.payment-buttons {
    margin-top: 2rem;
}

.btn-paypal {
    width: 100%;
    background: #0070ba;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-paypal:hover {
    background: #005ea6;
}

.paypal-logo {
    height: 20px;
    width: auto;
}

.divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
    color: #9ca3af;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}

.divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.btn-pay-now {
    width: 100%;
    background: #2a2a2a;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-pay-now:hover {
    transform: translateY(-2px);
}

.payment-icon {
    color: white;
}

/* Security Notice */
.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.security-icon {
    color: #03bf62;
}

/* Trust Section */
.trust-section {
    padding: 3rem 2rem;
    background: white;
}

.trust-container {
    max-width: 800px;
    margin: 0 auto;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
}

.trust-icon {
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-hero {
        margin: 0.5rem;
        border-radius: 16px;
    }

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

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-summary {
    position: static;
    order: 1;
    }

    .checkout-form-container {
    order: 2;
    }

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

    .coupon-input-group {
        flex-direction: column;
    }

    .apply-coupon-btn {
        width: 100%;
    }
}

/* === FAILURE PAGE STYLES === */
.failure-wrapper {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 5rem;
    padding: 2rem 1rem;
    text-align: center;
    /* background: linear-gradient(135deg, #fee2e2 0%, #fef3c7 100%); */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.failure-badge {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.failure-icon {
    font-size: 1.2em;
    font-weight: bold;
}

.failure-headline {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.failure-sub {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.failure-details {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: right;
    max-width: 600px;
}

.failure-details h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.failure-reasons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.failure-reasons li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-right: 1.5rem;
}

.failure-reasons li::before {
    content: "•";
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.retry-btn {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.alternative-options {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: right;
    max-width: 600px;
}

.alternative-options h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.options-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.option-item {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.option-item:hover {
    border-color: #6366f1;
}

.option-item strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.option-item p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-box {
    background: linear-gradient(135deg, #03bf62 0%, #02a055 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    max-width: 600px;
}

.help-box h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.help-box p {
    color: #f3f4f6;
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #374151;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: #374151;
}

.contact-method.whatsapp:hover {
    background: #25d366;
    color: white;
}

.back-to-browse {
    margin-top: 2rem;
    text-align: center;
}

.back-to-browse p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.browse-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .failure-wrapper {
        padding: 1rem;
    }
    
    .failure-headline {
        font-size: 2rem;
    }
    
    .action-buttons,
    /* .contact-methods, */
    .browse-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* .contact-method {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    } */
    
    .options-grid {
        gap: 0.75rem;
    }
    
    .option-item {
        padding: 0.75rem;
    }
}