:root {
    --bg-dark: #050507;
    --bg-card: #13131f;
    --primary: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --accent: #06b6d4;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: white;
}

p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 1px solid var(--border);
    background: transparent;
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-glow {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    padding: 14px 32px;
}

.btn-white {
    background: white;
    color: var(--bg-dark);
}

.btn-white:hover {
    background: #f0f0f0;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.full-width {
    display: block;
    width: 100%;
    margin-top: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.logo .dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.badge-new {
    font-size: 0.6rem;
    background: var(--accent);
    color: black;
    padding: 2px 5px;
    border-radius: 4px;
    vertical-align: super;
    font-weight: bold;
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 70%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero p.subtitle {
    margin: 20px 0 40px;
    font-size: 1.35rem;
    color: #cbd5e1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 80px;
}

/* --- ADVANCED DASHBOARD VISUALIZATION --- */
.hero-visual {
    perspective: 1200px;
    margin-top: 60px;
    /* Entrance animation */
    animation: entrance-up 1s ease-out forwards;
}

.dashboard-mockup {
    background: #1e1e2d;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    /* Initial state before JS takes over or for mobile */
    transform: rotateX(5deg);
    position: relative;
    overflow: hidden;
    display: flex;
    /* Important for smooth tilt */
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 60%);
    z-index: 10;
    pointer-events: none;
}

/* Sidebar Mock */
.sidebar-mock {
    width: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    align-items: center;
}

.sidebar-line {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.bottom {
    margin-top: auto;
}

/* Main Mock Content */
.main-mock {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.header-controls {
    display: flex;
    gap: 8px;
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #eab308;
}

.green {
    background: #22c55e;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    height: 100%;
}

/* Widgets */
.widget {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.w-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.w-small {
    grid-column: 2 / 3;
}

.widget-title {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

/* --- HERO KPI STYLES --- */
.kpi-row-header {
    display: flex;
    gap: 20px;
    margin-right: auto;
}

.kpi-micro {
    display: flex;
    flex-direction: column;
}

.kpi-micro .label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-micro .value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.kpi-micro .value.success {
    color: #22c55e;
}

.kpi-micro .value.warning {
    color: #ef4444;
}

.widget-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.legend {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.l-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot-l {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-l.sales {
    background: #22c55e;
}

.dot-l.costs {
    background: #ef4444;
}

.sales-line {
    stroke: #22c55e;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.4));
}

.costs-line {
    stroke: #ef4444;
    opacity: 0.8;
}

.sub-kpi {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-top: 5px;
}


/* --- SVG CHARTS CSS --- */
.chart-area {
    width: 100%;
    height: 100%;
}

.area-fill {
    opacity: 0;
    animation: fade-in-fill 1.5s ease-out forwards 0.5s;
}

.line-stroke {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.donut-chart-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 10px auto;
}

.donut-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.donut-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 3;
}

.donut-segment {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-dasharray: 0 100;
    stroke-linecap: round;
    animation: fill-donut 1.5s ease-out forwards 0.5s;
}

.donut-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.bar-chart-container {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.bar-svg {
    width: 100%;
    height: 80px;
    overflow: visible;
}

.bar-rect {
    transform-origin: bottom;
    animation: grow-bar-svg 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* SVG Animations */
@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fade-in-fill {
    to {
        opacity: 0.8;
    }
}

@keyframes fill-donut {
    to {
        stroke-dasharray: 75 100;
    }
}

@keyframes grow-bar-svg {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}


/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 20;
    font-size: 0.9rem;
    font-weight: 600;
    /* Combined entrance + float */
    animation: entrance-up 0.8s ease-out backwards, float 6s ease-in-out infinite 0.8s;
}

.floating-card i {
    color: #22c55e;
}

.c-1 {
    top: 20%;
    right: -20px;
}

.c-2 {
    bottom: 15%;
    left: -20px;
    animation-delay: 0.2s, 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes entrance-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlights & Badges */
.highlight {
    color: var(--accent);
    background: linear-gradient(120deg, transparent 60%, rgba(6, 182, 212, 0.2) 60%);
}

.custom-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(6, 182, 212, 0.3);
    margin-right: auto;
}

/* Integrations Bar */
.integrations-bar {
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
}

.integrations-bar p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: white;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

/* Problem Section */
.problem-section {
    background: #0a0a0e;
    border-top: 1px solid var(--border);
}

.problem-list {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.problem-item {
    text-align: center;
    max-width: 300px;
}

.problem-item i {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 20px;
}

/* Solution Section */
.solution-section {
    position: relative;
    overflow: hidden;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.benefit-list i {
    color: #22c55e;
    font-size: 1.2rem;
    margin-top: 4px;
}

.feature-card.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* Dashboards Section */
.dashboards-section {
    background: linear-gradient(to bottom, var(--bg-dark), #0f0f16);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.decision-tag {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.decision-tag span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.decision-tag strong {
    color: var(--accent);
}

/* Testimonials */
.testimonials-section {
    background: #0f0f16;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stars {
    color: #ffd700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.author strong {
    display: block;
    color: white;
}

.author span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* AI Section */
.ai-section {
    background: radial-gradient(circle at center, #1e1b4b 0%, var(--bg-dark) 70%);
    text-align: center;
}

.ai-badge {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.ai-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.ai-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.ai-feature i {
    color: #f472b6;
}

/* How it Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.step {
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.step h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
}

/* Pricing */
.pricing-section {
    background: #0a0a0e;
}

.pricing-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(to bottom, #171726, #13131f);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Updated Pricing Styles */
.price-subtitle {
    font-style: italic;
    color: white;
    font-size: 1.1rem;
    min-height: auto;
    margin-bottom: 10px;
}

.target-audience {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.4;
    min-height: 40px;
}

.pricing-value {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.p-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.p-row strong {
    font-size: 1.2rem;
    color: white;
}

.p-row small {
    font-size: 0.7rem;
    color: var(--text-gray);
}

.plan-note {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
}

.price-features li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}

.price-features i {
    color: var(--primary);
}

/* FAQ - Accordion Style */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 25px;
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.8;
}

/* Final CTA */
.final-cta {
    background: var(--primary-gradient);
    text-align: center;
    padding: 100px 20px;
}

.final-cta h2 {
    color: white;
    border: none;
    background: none;
    -webkit-text-fill-color: initial;
}

.final-cta p {
    color: white;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* --- LEAD MODAL STYLES --- */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 5, 7, 0.85);
    /* Dark backdrop */
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin: auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-gray);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: white;
}

.modal h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

select.form-input {
    appearance: none;
    cursor: pointer;
}

select.form-input option {
    background: var(--bg-card);
}

/* --- NEW SECTIONS: DAILY USE --- */
.daily-use-section {
    padding: 100px 0;
    background: #08080b;
    /* Slightly lighter/different than bg-dark */
    border-top: 1px solid var(--border);
}

.icon-box-small {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    transition: 0.3s;
}

.glow-anim:hover {
    box-shadow: 0 0 15px var(--primary);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

/* --- GALLERY PAGE STYLES --- */
.gallery-hero {
    padding: 150px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.1), transparent 60%);
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.gallery-hero p {
    max-width: 600px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-gray);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding-bottom: 100px;
}

.template-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-5px);
    border-color: var(--border);
    /* Optional highlight */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* UPDATED IMAGE STYLES */
.template-image-container {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.t-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.template-card:hover .t-img {
    transform: scale(1.05);
}

.template-image-container .tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(5, 5, 7, 0.7);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.template-content {
    padding: 20px;
    flex: 1;
}

.template-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.template-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.template-features {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.template-features i {
    color: var(--accent);
}

.template-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured {
        transform: scale(1);
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .daily-use-section .steps-grid {
        grid-template-columns: 1fr !important;
    }
}