/* ============================================
   The Joyful Designs - Main Stylesheet
   ============================================ */

/* Typography - Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Color Palette */
    --bg-primary: #F8F3EC;
    --bg-secondary: #FFFFFF;
    --bg-dark: #0B1E34;
    --text-primary: #0B1E34;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --accent-color: #E6BE8A;
    --cta-color: #1C463A;
    --cta-hover: #2D5A4A;
    --link-color: #1C463A;
    --border-color: #E2D8C9;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(11, 30, 52, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(11, 30, 52, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(11, 30, 52, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(11, 30, 52, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Section Padding */
    --section-padding: 80px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

h6 {
    font-size: 1.125rem;
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation */
.navbar {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    height: 50px;
}

.logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.logo-dark {
    display: none;
}

/* Dark mode support - adjust based on your dark mode implementation */
@media (prefers-color-scheme: dark) {
    .logo-light {
        display: none;
    }

    .logo-dark {
        display: block;
    }
}

/* Manual dark mode class support */
.dark-mode .logo-light,
body.dark .logo-light {
    display: none;
}

.dark-mode .logo-dark,
body.dark .logo-dark {
    display: block;
}

/* Reputify Logo Styles */
.reputify-logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.reputify-logo-dark {
    display: none;
}

/* Dark mode support for Reputify logo */
@media (prefers-color-scheme: dark) {
    .reputify-logo-light {
        display: none;
    }

    .reputify-logo-dark {
        display: block;
    }
}

.dark-mode .reputify-logo-light,
body.dark .reputify-logo-light {
    display: none;
}

.dark-mode .reputify-logo-dark,
body.dark .reputify-logo-dark {
    display: block;
}

/* 3-Level Card Design Styles */
.card-level-1 {
    position: relative;
    z-index: 1;
}

.card-level-2 {
    position: relative;
    z-index: 2;
}

.card-level-2:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-level-3 {
    position: relative;
    z-index: 3;
}

.card-level-2:hover .card-level-3 {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: scale(1.01);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--link-color);
}

.nav-link.active {
    color: var(--link-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.nav-link.btn-cta {
    background: var(--cta-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    margin-left: 1rem;
    font-weight: 600;
}

.nav-link.btn-cta::after {
    display: none;
}

.nav-link.btn-cta:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    margin-top: 0;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2f47 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--cta-color);
    color: white;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
}

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

.btn-secondary {
    background: white;
    color: var(--cta-color);
    border: 2px solid var(--cta-color);
    padding: 0.8rem 1.5rem;
}

.btn-secondary:hover {
    background: var(--cta-color);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--cta-color);
    border: 2px solid var(--cta-color);
}

.btn-outline:hover {
    background: var(--cta-color);
    color: white;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Footer */
.site-footer,
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 2rem 2rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9CA3AF;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link.btn-cta {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero {
        margin-top: 70px;
        padding: 4rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        font-family: 'Cormorant Garamond', serif;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section-title h2 {
        font-size: 2rem;
        font-family: 'Cormorant Garamond', serif;
    }

    .section {
        padding: 4rem 1rem;
    }

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

    .card-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Contact page responsive */
    .contact-methods {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .contact-section {
        grid-template-columns: 1fr !important;
    }
}

/* Contact Page Styles */
.contact-method {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
}

/* Email Button Styles */
.email-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.email-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.email-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(230, 190, 138, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.email-button:hover::before {
    transform: scaleY(1);
}

.email-button:hover strong {
    color: var(--cta-color);
}

.email-button i {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.email-button:hover i {
    transform: scale(1.1);
}

@media (max-width: 1024px) {

    /* Tablet styles */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        height: 400px;
    }

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

/* Hero Fullscreen Responsive */
@media (max-width: 1024px) {
    .hero-fullscreen {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem) !important;
    }

    .hero-tagline {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile-specific improvements */
@media (max-width: 480px) {

    /* Extra small devices */
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 3rem 1rem 2rem;
        margin-top: 70px;
    }

    .hero-fullscreen {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .card {
        padding: 1.5rem;
    }

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

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

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .contact-form {
        padding: 2rem 1.5rem !important;
    }

    .contact-method {
        padding: 1.5rem !important;
    }

    .contact-methods {
        max-width: 100% !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .card-level-1,
    .card-level-2,
    .card-level-3 {
        padding: 1.5rem !important;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Fix for Logo Visibility on Dark Mode Devices */
/* Since the navbar is always white, we must always show the dark-colored logo (logo-light class) */
@media (prefers-color-scheme: dark) {
    .logo-light {
        display: block !important;
    }

    .logo-dark {
        display: none !important;
    }
}
}

/* Professional appearance enhancements */
@media (min-width: 769px) {

    /* Smooth transitions for hover effects */
    .card,
    .contact-method,
    .btn {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Better focus states for accessibility */
    a:focus,
    button:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 2px solid var(--cta-color);
        outline-offset: 2px;
    }
}

/* Additional responsive improvements */
@media (max-width: 768px) {

    /* Ensure proper spacing on mobile */
    .main-content {
        margin-top: 70px;
    }

    /* Better touch targets */
    .nav-link,
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improve readability */
    body {
        font-size: 16px;
        line-height: 1.7;
    }

    /* Better form inputs on mobile */
    input,
    textarea,
    select {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Contact page improvements */
    .contact-section {
        padding-top: 4rem !important;
        padding-bottom: 2rem !important;
    }

    .contact-section h2 {
        font-size: 2rem !important;
        padding-top: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .email-button {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .email-button i {
        font-size: 1.25rem !important;
    }

    .email-button strong {
        font-size: 1rem !important;
    }

    .email-button span {
        font-size: 0.9rem !important;
    }

    /* Products page improvements */
    .card-level-1 {
        padding: 2rem 1.5rem !important;
    }

    /* About page improvements */
    .card {
        padding: 2rem 1.5rem;
    }

    /* Privacy and Terms pages */
    .section h1 {
        font-size: 2rem;
        padding-top: 1rem;
    }
}

/* Professional typography improvements */
@media (max-width: 480px) {

    /* Better text readability on small screens */
    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Ensure buttons are easily tappable */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Improve card readability */
    .card p {
        font-size: 0.95rem;
    }
}

/* Print styles */
@media print {

    .navbar,
    .site-footer,
    .mobile-menu-toggle {
        display: none;
    }

    .main-content {
        margin-top: 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* ============================================
   Featured Product Section
   ============================================ */
.featured-product-homepage {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #F8F3EC 0%, #FFFFFF 100%);
    overflow: hidden;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366F1;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-info h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-subtitle {
    font-size: 1.25rem;
    color: #6366F1;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.features-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.pill {
    padding: 0.5rem 1rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-cta {
    display: flex;
    gap: 1rem;
}

.product-hero-visual {
    position: relative;
}

.browser-window {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.browser-header {
    background: #F8FAFC;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #EF4444;
}

.dot.yellow {
    background: #F59E0B;
}

.dot.green {
    background: #10B981;
}

.browser-title {
    font-size: 0.8rem;
    color: #94A3B8;
    flex-grow: 1;
    text-align: center;
}

.dashboard-preview {
    padding: 2rem;
    background: #F8FAFC;
}

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

.stat-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.chart-preview {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-chart-simple {
    width: 100%;
    height: 100%;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #6366F1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-badge::before {
    content: '⚡';
}

/* ============================================
   Accordion Section (Why Choose Us)
   ============================================ */
.why-choose-us {
    padding: 6rem 2rem;
    background: #FFFFFF;
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    border-color: #6366F1;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.accordion-header {
    padding: 1.5rem;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.accordion-icon {
    font-size: 1.5rem;
}

.accordion-header h3 {
    flex-grow: 1;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.accordion-toggle {
    font-size: 1.5rem;
    color: #94A3B8;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
    color: #6366F1;
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    opacity: 1;
}

.accordion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #F1F5F9;
}

.accordion-feature {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.accordion-feature strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.accordion-feature span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ============================================
   Process Steps Section
   ============================================ */
.design-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: #F8FAFC;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.process-step:hover {
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #E2E8F0;
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: #E2E8F0;
    opacity: 0.5;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.step-outcomes li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-outcomes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6366F1;
    font-weight: bold;
}

/* ============================================
   Responsive Adjustments for New Sections
   ============================================ */
@media (max-width: 1024px) {
    .product-intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-pills {
        justify-content: center;
    }

    .product-cta {
        justify-content: center;
    }

    .product-hero-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .product-info h2 {
        font-size: 2.5rem;
    }

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

    .design-process {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Alignment Fixes
   ============================================ */

/* Center Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* CTA Banner Alignment */
.cta-banner {
    padding: 5rem 2rem;
    background: radial-gradient(circle at 2px 2px, rgba(99, 102, 241, 0.1) 1px, rgba(0, 0, 0, 0) 0px), linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: var(--text-primary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-content h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 0;
}

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

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-buttons .btn-primary {
    background: var(--cta-color);
    color: white;
}

.cta-buttons .btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid var(--cta-color);
    color: var(--cta-color);
}

.cta-buttons .btn-secondary:hover {
    background: var(--cta-color);
    color: white;
    border-color: var(--cta-color);
}

/* Responsive Adjustments for CTA */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}