/* ========== RESET & VARIABLES ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --brand-blue: #1E4D99;
    --brand-blue-dark: #153A73;
    --brand-blue-deeper: #0E2A55;
    --brand-red: #C41E3A;
    --brand-red-dark: #9D1829;
    --light-blue: #E8F1F8;
    --light-gray: #F5F7FA;
    --text-primary: #1A1A2E;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border-light: #E2E8F0;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(30,77,153,0.06);
    --shadow-md: 0 4px 16px rgba(30,77,153,0.08);
    --shadow-lg: 0 12px 40px rgba(30,77,153,0.12);
    --shadow-xl: 0 20px 60px rgba(30,77,153,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --green: #16A34A;
    --green-accent: #16A34A;
    --green-light: #ECFDF5;
    --amber: #D97706;
    --amber-light: #FFFBEB;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

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

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--brand-blue-deeper);
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover { color: var(--white); }

.top-bar-phone {
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    letter-spacing: 0.02em;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo-img{
	width: 170px;
}

.logo span { color: var(--brand-red); }

.logo-byline {
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 1px;
}

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

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
}

.nav a:hover { color: var(--brand-blue); }

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: width 0.25s;
}

.nav a:hover::after { width: 100%; }

.nav a.btn-primary::after,
.nav a.btn-primary:hover::after {
    display: none;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-red);
    color: var(--white) !important;
    padding: 11px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196,30,58,0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white) !important;
    padding: 13px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.25s;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-blue);
    color: var(--white) !important;
    padding: 13px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.btn-blue:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30,77,153,0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--brand-blue) !important;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s;
    border: 2px solid var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: var(--white) !important;
}

/* ========== MOBILE NAV TOGGLE ========== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--brand-blue);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--brand-blue-deeper);
    color: var(--white);
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
}

.footer-contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a, .footer-contact span {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-contact a:hover { color: var(--white); }

.footer h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.5);
}

.footer ul {
    list-style: none;
}

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

.footer li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer li a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

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

.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ========== COMMON ANIMATIONS ========== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== GLOBAL RESPONSIVE BAR & HEADER ========== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .top-bar .container { justify-content: center; }

    .nav { display: none; }
    .mobile-toggle { display: flex; }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========== SHARED SECTION STYLES (Integrations / Switching / What's New) ========== */
.page-section {
    padding: 88px 24px;
}

.page-section.alt-bg {
    background: var(--light-gray);
}

/* Integration Card Grid */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.integration-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.25s;
}

.integration-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.integration-card img {
    max-width: 48px;
    max-height: 48px;
    margin-bottom: 10px;
}

.integration-card .int-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.integration-card .int-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Conversion / Switching Section */
.conversion-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: start;
}

.conversion-text h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.conversion-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.conversion-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.conv-stat {
    flex: 1;
    background: var(--light-blue);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

.conv-stat .num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.2;
}

.conv-stat .label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4px;
}

.conversion-sidebar {
    background: var(--light-blue);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(30,77,153,0.08);
}

.conversion-sidebar h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.conversion-sidebar p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.sidebar-list {
    list-style: none;
    margin-bottom: 24px;
}

.sidebar-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.6;
}

.sidebar-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

/* Updates / What's New Timeline */
.updates-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.update-item {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}

.update-item:last-child {
    border-bottom: none;
}

.update-date {
    flex-shrink: 0;
    width: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    padding-top: 2px;
}

.update-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.update-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.update-tag.ai {
    background: #EDE9FE;
    color: #7C3AED;
}

.update-tag.integration {
    background: #ECFDF5;
    color: #059669;
}

.update-tag.feature {
    background: #EFF6FF;
    color: #2563EB;
}

/* Section header styles (shared between homepage and product pages) */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

/* Shared section responsive */
@media (max-width: 768px) {
    .page-section { padding: 64px 20px; }
    .conversion-grid { grid-template-columns: 1fr; gap: 40px; }
    .conversion-stats { flex-direction: column; }
    .update-item { flex-direction: column; gap: 8px; }
    .update-date { width: auto; }
}

