@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --secondary: #0f172a;
    --background: #ffffff;
    --surface: #f8fafc;
    --surface-card: #ffffff;
    --border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --max-width: 1280px;
    
    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

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

ul, ol {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.section {
    padding: 80px 0;
}

/* Section headers spacing override as per methodology: top padding <= 30px, bottom padding <= 15px */
.section-header {
    max-width: 640px;
    margin: 0 auto 48px auto;
    text-align: center;
}

.section-header .section-tag {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-top: 5px;
    margin-bottom: 15px; /* bottom padding <= 15px */
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-success {
    background-color: #ecfdf5;
    color: var(--success);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--surface);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--secondary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

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

/* Dropdowns */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item-dropdown svg {
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-item-dropdown-mega {
    position: static;
}

.nav-item-dropdown-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-bottom: 16px;
}

.mega-menu-column ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.mega-menu-column ul li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-toggle-menu {
    display: none;
    font-size: 24px;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    background-color: #0f172a;
    color: #ffffff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Features Row Overlay */
.features-top {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.features-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-top-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-top-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-top-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-top-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-top-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Split Showcase Feature */
.showcase-section {
    padding: 100px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.showcase-visual {
    position: relative;
    border-radius: 20px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

/* Dashboard Mockup Styling */
.dashboard-mockup {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    overflow: hidden;
}

.dash-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e2e8f0;
}

.dash-dot:nth-child(1) { background-color: #ef4444; }
.dash-dot:nth-child(2) { background-color: #eab308; }
.dash-dot:nth-child(3) { background-color: #22c55e; }

.dash-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.dash-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dash-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dash-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.dash-card-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
}

.dash-card-trend {
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dash-chart {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-top: 16px;
}

.dash-chart-bar {
    flex: 1;
    background-color: var(--primary-light);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}

.dash-chart-bar.active {
    background-color: var(--primary);
}

.dash-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.dash-list-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dash-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.dash-item-info h5 {
    font-size: 13px;
    font-weight: 600;
}

.dash-item-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.showcase-content .tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.showcase-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.showcase-content .description {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.checklist {
    margin-bottom: 36px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.checklist-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    margin-top: 2px;
}

.checklist-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.checklist-text p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Brand Logo Marquee */
.logo-marquee-section {
    padding: 40px 0;
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 60px;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 60px;
    animation: scroll 25s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.marquee-item img {
    height: 100%;
    width: auto;
    max-width: 140px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(1);
}

.marquee-item img:hover {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 60px)); }
}

/* Flexible Solutions Section */
.flex-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.flex-solution-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flex-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.25);
}

.flex-solution-card .icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
}

.flex-solution-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.flex-solution-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.flex-solution-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.flex-solution-card .card-link svg {
    transition: transform 0.2s ease;
}

.flex-solution-card:hover .card-link svg {
    transform: translateX(4px);
}

/* Accordion and Grid Visual (Step 2/Step 3 requirement) */
.workflows-section {
    background-color: var(--surface);
}

.workflows-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    text-align: left;
}

.accordion-header .icon {
    font-size: 16px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 24px;
}

.accordion-content p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Interactive Grid Visual Right Side */
.grid-visual {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 480px;
    position: relative;
}

.grid-visual-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.grid-visual-card:hover {
    transform: scale(1.02);
}

.grid-card-1 {
    grid-column: 1 / 8;
    grid-row: 1 / 10;
    z-index: 2;
}

.grid-card-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-card-2 {
    grid-column: 7 / 13;
    grid-row: 3 / 8;
    z-index: 3;
    background-color: #ffffff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-card-3 {
    grid-column: 3 / 11;
    grid-row: 8 / 13;
    z-index: 4;
    background-color: #ffffff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Stat Blocks */
.stat-tag-large {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

/* Portrait Showcase Section (Strategies That Work) */
.portrait-showcase-section {
    padding: 100px 0;
}

.portrait-showcase-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.portrait-wrapper {
    position: relative;
    height: 480px;
}

.portrait-img {
    width: 85%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.portrait-overlay-card {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 220px;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    z-index: 5;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    margin-bottom: 40px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
}

.trust-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--surface);
    padding: 12px 24px;
    border-radius: 9999px;
    border: 1px solid var(--border);
}

.trust-stars {
    color: #f59e0b;
    display: flex;
}

.trust-banner p {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

/* Integrations Section */
.integrations-section {
    background-color: var(--surface);
}

.integrations-list-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 48px;
    margin-bottom: 40px;
}

.integration-item {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.integration-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.integration-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

/* Time Optimization / Big Board Section */
.optimization-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.optimization-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.opt-stat-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.opt-stat-card:hover {
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.opt-stat-card h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.opt-stat-card p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

/* Testimonials Carousel Section */
.testimonials-section {
    background-color: var(--surface);
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide-col {
    flex: 0 0 33.333%;
    padding: 0 12px;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.test-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 14px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-user img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

.testimonial-user p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    font-style: normal;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Trust Rating Platforms Grid */
.trust-platforms-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: center;
    justify-items: center;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.platform-card img {
    height: 24px;
    width: auto;
    opacity: 0.8;
}

.platform-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
}

/* Standard Contact & CTA Banner */
.cta-banner-section {
    padding: 80px 0;
    background-color: #0f172a;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.cta-banner-content h2 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-banner-content p {
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-badge-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    color: #94a3b8;
    font-size: 14px;
}

/* FAQ Page Accordions */
.faq-grid-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Pricing Page Styles */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.pricing-toggle-label {
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-toggle-label.active {
    color: var(--secondary);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background-color: var(--border);
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active {
    background-color: var(--primary);
}

.toggle-switch.active::after {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.pricing-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
}

.pricing-card-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-card-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.price-period {
    color: var(--text-muted);
    font-size: 16px;
    margin-left: 4px;
}

.pricing-card-features {
    margin-top: 32px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.pricing-feature-item svg {
    color: var(--success);
    flex-shrink: 0;
}

.pricing-feature-item.disabled {
    color: #cbd5e1;
    text-decoration: line-through;
}

.pricing-feature-item.disabled svg {
    color: #cbd5e1;
}

/* Feature Comparison Table */
.comparison-container {
    margin-top: 80px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    background-color: var(--surface);
}

.comparison-table td {
    font-size: 15px;
}

.comparison-table tr:hover td {
    background-color: var(--surface);
}

.comparison-feature-header {
    font-weight: 700;
    color: var(--secondary);
    background-color: #f1f5f9;
}

/* About Page Styles */
.about-hero {
    background-color: var(--surface);
    padding: 140px 0 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
}

/* Interactive Timeline */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-badge {
    position: absolute;
    right: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -15px;
    right: auto;
}

.timeline-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 8px;
    display: inline-block;
}

.timeline-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Team Grid */
.team-section {
    background-color: var(--surface);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-member-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member-img {
    height: 260px;
    width: 100%;
    overflow: hidden;
    background-color: #e2e8f0;
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .team-member-img img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 24px;
}

.team-member-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.team-member-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.team-member-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-member-socials a {
    color: var(--text-muted);
}

.team-member-socials a:hover {
    color: var(--primary);
}

/* FAQ Form Section */
.faq-form-section {
    padding: 80px 0;
    background-color: var(--surface);
}

.faq-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 15px;
    color: var(--secondary);
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    display: none;
}

.form-alert-success {
    background-color: #ecfdf5;
    color: var(--success);
    border: 1px solid #a7f3d0;
}

/* Footer Section */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px 0;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #1e293b;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

/* Mobile Menu & Responsive Styling */
@media (max-width: 1024px) {
    .features-top-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid, .workflows-grid, .portrait-showcase-grid, .optimization-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .grid-visual {
        height: 360px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn-toggle-menu {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    header.scrolled .nav-menu {
        top: 70px;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        width: 100%;
        padding-left: 16px;
        margin-top: 8px;
        display: none;
    }
    
    .nav-item-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .mega-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        width: 100%;
        padding: 0 0 0 16px;
        display: none;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 8px;
    }
    
    .nav-item-dropdown-mega:hover .mega-menu {
        display: grid;
    }
    
    .flex-solutions-grid, .integrations-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 0 !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-badge {
        left: 5px !important;
        right: auto !important;
    }
    
    .testimonial-slide-col {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .flex-solutions-grid, .integrations-list-grid, .team-grid, .footer-grid, .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
