/* --- Global Setup & Variables --- */
:root {
    --bg-dark: #0d0d1a;
    --bg-card: #1a1a2e;
    --bg-header: rgba(13, 13, 26, 0.7);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0c0;
    --accent-blue: #2bb3b0;
    --accent-violet: #0e5d65;
    --accent-magenta: #A78BFA;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius: 12px;
}

/* --- Base & Utilities --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
body.menu-open {
    overflow: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 20px;
}
section {
    padding-block: clamp(5rem, 10vw, 8rem);
}
.explore-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: auto;
}
.explore-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.explore-link:hover {
    color: var(--accent-blue);
}
.explore-link:hover i {
    transform: translateX(5px);
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    /* OPTIMIZED: Specified transition properties */
    transition: background-color 0.3s ease, top 0.3s ease, width 0.3s ease,
        max-width 0.3s ease, border-radius 0.3s ease;
}
.main-header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background-color: var(--bg-card);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    /* OPTIMIZED: Specified transition properties */
    transition: background-color 0.3s ease, border-color 0.3s ease,
        backdrop-filter 0.3s ease, padding 0.3s ease;
}
.main-header.scrolled nav {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    padding: 1.2rem 2rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link.active-link,
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link.active-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-blue);
}
.contact-button {
    background-color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--text-primary);
    /* OPTIMIZED: Specified transition properties */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.contact-button:hover {
    color: var(--text-primary);
    transform: scale(1.05);
}

/* --- Hero Section --- */
/* ====================================================== */
/* START: ULTIMATE ELEGANCE HERO SECTION CSS              */
/* ====================================================== */

#hero {
    min-height: 100vh;
    display: grid; /* Use grid for easy centering */
    place-items: center;
    position: relative;
    overflow: hidden;
}

/* Base Gradient & Pattern (Unchanged) */
#hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        135deg,
        var(--accent-blue),
        var(--accent-violet),
        var(--accent-magenta)
    );
    z-index: -3;
    transform: translate(-50%, -50%);
    filter: blur(120px);
    opacity: 0.6;
    animation: gradient-flow 15s ease-in-out infinite;
}
.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: pan-grid 60s linear infinite;
}
@keyframes pan-grid {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-100px, -100px);
    }
}

/* Main Content & Graphics Container */
.hero-content,
.hero-graphics-container {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
}

.hero-content {
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 10; /* Text is always on top */
    padding: 0 20px;
}

/* NEW: Premium Text Gradient */
.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
    background: linear-gradient(120deg, #ffffff 50%, #d0d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* NEW: Elegant CTA Button Styling */
.elegant-cta {
    position: relative;
    padding: 1rem 2.5rem;
    background-color: var(--accent-blue);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.elegant-cta::before {
    /* Animated gradient overlay */
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.8s ease;
}
.elegant-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.4);
}
.elegant-cta:hover::before {
    left: 100%;
}

/* --- NEW: Layered Floating UI Graphics --- */
.graphic-element {
    position: absolute;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0)
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: drift 15s ease-in-out infinite alternate;
    transition: transform 0.3s ease-out; /* Smooth parallax */
}

/* Positioning & Sizing */
.main-dashboard-card {
    top: 50%;
    left: 50%;
    width: 320px;
    height: 200px;
    transform: translate(-50%, -50%) rotate(-5deg);
    border-radius: 16px;
    padding: 1rem;
    animation-duration: 12s;
}
.floating-orb {
    border-radius: 50%;
}
.orb-1 {
    top: 20%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: rgba(171, 71, 188, 0.2);
    animation-duration: 10s;
}
.orb-2 {
    bottom: 15%;
    right: 10%;
    width: 50px;
    height: 50px;
    background: rgba(61, 90, 241, 0.2);
    animation-duration: 18s;
}
.progress-card {
    top: 70%;
    left: 20%;
    width: 200px;
    height: 70px;
    border-radius: 12px;
    padding: 1rem;
    animation-duration: 16s;
}
.check-card {
    top: 25%;
    right: 20%;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #27c93f;
    font-size: 1.5rem;
    animation-duration: 13s;
}

@keyframes drift {
    from {
        transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--r, 0));
    }
    to {
        transform: translate(
                calc(var(--tx, 0) + 20px),
                calc(var(--ty, 0) - 20px)
            )
            rotate(var(--r, 0));
    }
}

/* Styling for content INSIDE cards */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.user-pills {
    display: flex;
    align-items: center;
}
.user-pills img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #fff;
    margin-left: -8px;
}
.user-pills span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    font-size: 0.7rem;
    margin-left: -8px;
}
.dashboard-chart {
    height: 100px;
}
.dashboard-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 1rem;
}
.dashboard-stat span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.dashboard-stat strong {
    font-size: 1.2rem;
    color: #27c93f;
}
.progress-card span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 0.5rem;
}
.progress-fill {
    width: 65%;
    height: 100%;
    background: var(--accent-blue);
    border-radius: 3px;
}

/* Responsive: Hide graphics on mobile */
@media (max-width: 768px) {
    .hero-graphics-container {
        display: none;
    }
}
/* ====================================================== */
/* END: ULTIMATE ELEGANCE HERO SECTION CSS                */
/* ====================================================== */

/* --- Universal Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-violet);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}
.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

/* --- Features Section (New Design) --- */
.features-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: transparent;
    cursor: pointer;
    text-align: left;
    color: var(--text-secondary);
    transition: background-color 0.3s ease, border-color 0.3s ease,
        color 0.3s ease;
}
.feature-item:hover {
    background-color: var(--bg-card);
    color: var(--text-primary);
}
.feature-item.active {
    background-color: var(--bg-card);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.feature-item i {
    font-size: 1.8rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}
.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: inherit;
    margin-bottom: 0.25rem;
}
.feature-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}
.feature-preview-panel {
    position: relative;
    height: 450px;
    background: linear-gradient(145deg, var(--bg-card), #141424);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    overflow: hidden;
}
.feature-preview-item {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    pointer-events: none;
}
.feature-preview-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.browser-mockup {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.browser-header {
    flex-shrink: 0;
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 0.5rem;
}
.browser-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.browser-header span:nth-child(1) {
    background-color: #ff5f56;
}
.browser-header span:nth-child(2) {
    background-color: #ffbd2e;
}
.browser-header span:nth-child(3) {
    background-color: #27c93f;
}
.browser-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.chat-preview-animated {
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1rem;
}
.chat-bubble-animated {
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    max-width: 75%;
    opacity: 0;
    animation: fadeInSlideUp 0.5s forwards;
}
.chat-bubble-animated.agent {
    background-color: var(--accent-violet);
    align-self: flex-start;
}
.chat-bubble-animated.user {
    background-color: var(--accent-blue);
    align-self: flex-end;
    animation-delay: 0.8s;
}
.chat-bubble-animated.typing {
    align-self: flex-start;
    background-color: var(--accent-violet);
    animation-delay: 1.8s;
    display: flex;
    gap: 5px;
}
.chat-bubble-animated.typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    animation: typing-bounce 1s infinite;
}
.chat-bubble-animated.typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.chat-bubble-animated.typing span:nth-child(3) {
    animation-delay: 0.4s;
}
.payment-preview-animated .payment-icon {
    font-size: 4rem;
    color: #27c93f;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: scaleIn 0.5s forwards 0.2s;
}
.payment-preview-animated h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInSlideUp 0.5s forwards 0.5s;
}
.payment-preview-animated p {
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInSlideUp 0.5s forwards 0.7s;
}
.payment-preview-animated .receipt-id {
    font-size: 0.8rem;
    margin-top: 1.5rem;
    color: #666;
    opacity: 0;
    animation: fadeInSlideUp 0.5s forwards 0.9s;
}
.feedback-preview-animated img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-blue);
    margin-bottom: 1rem;
    opacity: 0;
    animation: scaleIn 0.5s forwards 0.2s;
}
.feedback-preview-animated h4 {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInSlideUp 0.5s forwards 0.5s;
}
.feedback-preview-animated .stars i {
    color: #ffbd2e;
    font-size: 1.2rem;
    margin: 0 2px;
    opacity: 0;
    animation: fadeInSlideUp 0.4s forwards;
}
.feedback-preview-animated .stars i:nth-child(2) {
    animation-delay: 0.8s;
}
.feedback-preview-animated .stars i:nth-child(3) {
    animation-delay: 0.9s;
}
.feedback-preview-animated .stars i:nth-child(4) {
    animation-delay: 1s;
}
.feedback-preview-animated .stars i:nth-child(5) {
    animation-delay: 1.1s;
}
.feedback-preview-animated .author {
    margin-top: 1rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInSlideUp 0.5s forwards 1.4s;
}
.analytics-preview-animated h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}
.analytics-preview-animated .chart {
    width: 80%;
    height: 150px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 1rem;
    border-left: 1px solid #444;
    border-bottom: 1px solid #444;
    padding-left: 1rem;
}
.chart-bar {
    width: 30px;
    background: linear-gradient(
        to top,
        var(--accent-blue),
        var(--accent-violet)
    );
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: growBar 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}
.chart-bar span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.analytics-preview-animated .chart-bar:nth-child(1) {
    animation-delay: 0.2s;
}
.analytics-preview-animated .chart-bar:nth-child(2) {
    animation-delay: 0.4s;
}
.analytics-preview-animated .chart-bar:nth-child(3) {
    animation-delay: 0.6s;
}
.analytics-preview-animated .chart-bar:nth-child(4) {
    animation-delay: 0.8s;
}

/* ====================================================== */
/* START: REPLACEMENT CSS FOR PRICING SECTION             */
/* ====================================================== */
/* --- Pricing Section --- */
/* SUGGESTION: This is the correct start for your new pricing section.
   You have correctly replaced the old code. */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 500;
}
.save-badge {
    background-color: var(--accent-violet);
    color: var(--text-primary);
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pricing-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.pricing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.pricing-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 34px;
    transition: background-color 0.4s;
}
.pricing-toggle .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    transition: transform 0.4s;
}
#pricing-switch:checked + .slider {
    background-color: var(--accent-blue);
}
#pricing-switch:checked + .slider:before {
    transform: translateX(22px);
    background-color: white;
}
#pricing-switch:checked ~ .save-badge {
    opacity: 1;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border-color: var(--accent-blue);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(61, 90, 241, 0.3);
}
.pricing-card.popular::before {
    content: "Best Value";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.plan-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.plan-header i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}
.plan-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
}
.plan-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 50px;
}
.plan-price {
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: 700;
}
.plan-price.custom {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    min-height: 54px;
}
.plan-price sup {
    font-size: 1.5rem;
    font-weight: 500;
    top: -1em;
}
.plan-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}
.price-value {
    transition: opacity 0.3s ease-in-out;
    display: inline-block;
}
.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-features i {
    color: var(--accent-blue);
}
.plan-features i.fa-times {
    color: var(--accent-magenta);
}
.plan-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.plan-button:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}
.plan-button.popular-button {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}
.plan-button.popular-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(61, 90, 241, 0.3);
}

/* ====================================================== */
/* START: REPLACEMENT CSS FOR ABOUT SECTION               */
/* ====================================================== */

/* --- Part 1: Core Story --- */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem; /* Space between story and values */
}
.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.about-image-composition {
    position: relative;
    height: 400px;
}
.about-image-back,
.about-image-front {
    width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    position: absolute;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.about-image-back {
    top: 0;
    right: 0;
}
.about-image-front {
    bottom: 0;
    left: 0;
    border: 4px solid var(--bg-dark); /* Creates a frame effect */
}

/* --- Part 2: Core Values --- */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem; /* Space between values and team */
}
.value-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.value-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}
.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.value-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Part 3: The Team --- */
.team-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.team-member-card {
    text-align: center;
}
.team-member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.team-member-card:hover img {
    transform: scale(1.05);
    border-color: var(--accent-blue);
}
.team-member-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.team-member-card span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Responsive Adjustments for About Section --- */
@media (max-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
    }
    .about-image-composition {
        margin-top: 3rem;
        height: 350px; /* Adjust for mobile */
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr; /* Stack team members on small screens */
    }
}
/* ====================================================== */
/* END: REPLACEMENT CSS FOR ABOUT SECTION                 */
/* ====================================================== */

/* ====================================================== */
/* END: REPLACEMENT CSS FOR PRICING SECTION               */
/* ====================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-category {
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.blog-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
}
.blog-meta i {
    margin-right: 8px;
    color: var(--accent-blue);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.contact-details {
    list-style: none;
}
.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.contact-details i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}
.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}
.contact-form label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    /* OPTIMIZED: Specified transition properties */
    transition: top 0.3s ease, left 0.3s ease, font-size 0.3s ease,
        color 0.3s ease;
}
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: var(--accent-blue);
    background-color: var(--bg-card);
    padding: 0 0.25rem;
}
.submit-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(
        90deg,
        var(--accent-blue),
        var(--accent-violet)
    );
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.submit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(61, 90, 241, 0.2);
}

/* ====================================================== */
/* START: REPLACEMENT CSS FOR FOOTER SECTION              */
/* ====================================================== */
.main-footer {
    background-color: #080810; /* A slightly different dark shade for contrast */
    padding-block: clamp(4rem, 8vw, 6rem);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    /* Use auto-fit for great responsiveness */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-column.brand-column p {
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* --- Newsletter Form Styling --- */
.newsletter-form {
    display: flex;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.newsletter-form:focus-within {
    border-color: var(--accent-blue);
}

.newsletter-form input {
    flex-grow: 1;
    border: none;
    background-color: var(--bg-card);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    min-width: 0; /* Important for flexbox input shrinking */
}
.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    border: none;
    background-color: var(--accent-blue);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.newsletter-form button:hover {
    background-color: #3148bf; /* A slightly darker blue on hover */
}

/* --- Footer Bottom Bar --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.made-with-love .fa-heart {
    color: var(--accent-magenta);
    margin: 0 4px;
}

/* ====================================================== */
/* END: REPLACEMENT CSS FOR FOOTER SECTION                */
/* ====================================================== */

/* --- Animations & Responsive Design --- */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes typing-bounce {
    0%,
    60%,
    100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}
@keyframes growBar {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ... (Reveal animation styles are correct) ... */

#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
#menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

@media (max-width: 992px) {
    .pricing-grid,
    .blog-grid,
    .about-grid,
    .contact-grid,
    .features-showcase-grid {
        grid-template-columns: 1fr;
    }
    .feature-preview-panel {
        height: 400px;
        margin-top: 2rem;
    }
    .pricing-card,
    .blog-card {
        margin-bottom: 2rem;
    }

    /* FIX: The old file was missing this crucial responsive rule for the popular card.
       This resets its larger size on mobile and gives it extra space to avoid looking cramped. */
    .pricing-card.popular {
        transform: scale(1); /* Reset scale on mobile */
        margin-bottom: 4rem; /* Give it more vertical space */
    }

    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    #menu-toggle {
        display: block;
    }
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-card);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }
    .nav-menu-wrapper.active {
        right: 0;
    }
    .nav-menu {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    .nav-link {
        font-size: 1.5rem;
    }
    .contact-button {
        padding: 0.8rem 1.5rem;
    }
    #menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    #menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    .main-header {
        top: 10px;
    }
    .main-header.scrolled nav,
    .main-header nav {
        padding: 0.8rem 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Privacy Policy Page Styles --- */
.privacy-policy-section {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.privacy-policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.privacy-policy-content .section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-policy-content .section-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.privacy-policy-content .last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.privacy-policy-text {
    line-height: 1.8;
}

.privacy-policy-text .intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-blue);
}

.privacy-policy-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-blue);
}

.privacy-policy-text h2:first-of-type {
    margin-top: 0;
}

.privacy-policy-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.privacy-policy-text p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.privacy-policy-text a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy-text a:hover {
    color: var(--accent-violet);
    text-decoration: underline;
}

/* Responsive styles for privacy policy */
@media (max-width: 768px) {
    .privacy-policy-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .privacy-policy-content .section-title h1 {
        font-size: 2rem;
    }
    
    .privacy-policy-text h2 {
        font-size: 1.3rem;
    }
    
    .privacy-policy-text .intro {
        font-size: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy-content {
        padding: 1.5rem 1rem;
    }
    
    .privacy-policy-content .section-title h1 {
        font-size: 1.8rem;
    }
}
