/* ==========================================================================
   Amidot AI — Modern Enterprise SaaS Stylesheet
   Palette: Navy Blue (#073763), Accent Cyan (#1a7f9f), Soft Gray (#f8f9fa)
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary: #073763;
    --color-primary-dark: #052646;
    --color-primary-light: #0d4b84;
    --color-accent: #1a7f9f;
    --color-accent-hover: #135e75;
    --color-accent-light: #e8f4f8;

    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-white: #ffffff;

    --color-bg-main: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-card: #ffffff;
    --color-border: #e2e8f0;
    --color-border-dark: #cbd5e1;

    --color-success: #10b981;
    --color-warning-bg: #fef3c7;
    --color-warning-border: #f59e0b;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

    /* Elevation & Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.1rem;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background-color: #f1f5f9;
    padding: 0.2rem 0.45rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}

.logo img {
    display: block;
    height: 42px;
    width: auto;
}

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

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-main);
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.btn-nav-signin {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-sm);
    border-bottom: none !important;
}

.btn-nav-signin:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a4f78 60%, var(--color-accent) 100%);
    color: var(--color-white);
    padding: 4.5rem 0 5.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--color-white);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.badge-icon {
    font-size: 1.05rem;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 2.85rem;
    font-weight: 800;
    max-width: 950px;
    margin: 0 auto 1.25rem auto;
}

.hero-subtext {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 820px;
    margin: 0 auto 2.25rem auto;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.primary-cta {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.secondary-cta {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.hero-trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.trust-item .material-icons-outlined {
    font-size: 1.15rem;
    color: #4ade80;
}

/* Section Common Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Two-Track Audience Section */
.value-tracks-section {
    padding: 5rem 1rem;
}

.track-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.track-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.track-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.business-track {
    border-top: 5px solid var(--color-accent);
}

.tech-track {
    border-top: 5px solid var(--color-primary);
}

.track-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.track-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    background-color: var(--color-accent-light);
    padding: 0.6rem;
    border-radius: var(--radius-md);
}

.track-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.track-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.track-points li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.98rem;
    color: var(--color-text-main);
}

.track-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    background-color: var(--color-bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.85rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.feature-icon {
    font-size: 2.25rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.94rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Architecture Section */
.architecture-section {
    padding: 5rem 1rem;
}

.architecture-flow-card {
    background-color: #f1f5f9;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.arch-step {
    flex: 1;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.arch-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.arch-step h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.arch-step p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.arch-arrow {
    color: var(--color-accent);
    font-size: 1.8rem;
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-spec-box {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.spec-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.tech-spec-box h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.tech-spec-box p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Models & Tables */
.models-section {
    background-color: var(--color-bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.table-responsive {
    overflow-x: auto;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.data-table th, .data-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.data-table th {
    background-color: #f1f5f9;
    color: var(--color-primary);
    font-weight: 700;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.table-tag {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.cost-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.cost-low { background-color: #dcfce7; color: #166534; }
.cost-mid { background-color: #e0f2fe; color: #075985; }
.cost-high { background-color: #fef3c7; color: #92400e; }

.callout-card {
    background-color: var(--color-bg-card);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.callout-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.callout-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 1rem;
}

.pricing-card-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--color-bg-card);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.25rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-tier-tag {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.price-display {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 1.25rem 0 1.75rem 0;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.25rem;
}

.price-display span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.pricing-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.98rem;
    color: var(--color-text-main);
}

.price-feature .material-icons-outlined {
    color: var(--color-success);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.full-width {
    width: 100%;
}

.pricing-subtext {
    display: block;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* Onboarding Steps */
.onboarding-steps-section {
    background-color: var(--color-bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--color-border);
}

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

.step-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.step-badge {
    display: inline-block;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Documentation & Legal Specific Styles */
.doc-section {
    padding: 3.5rem 1rem;
    max-width: 950px;
    margin: 0 auto;
}

.doc-section h2 {
    text-align: left;
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.doc-section h2:first-of-type {
    margin-top: 0;
}

.doc-section h3 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.doc-section ul, .doc-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.doc-section li {
    margin-bottom: 0.5rem;
}

.note-box {
    background-color: var(--color-accent-light);
    border-left: 4px solid var(--color-accent);
    padding: 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
}

.note-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4.5rem 0 2.5rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 300px;
}

.copyright {
    font-size: 0.85rem !important;
    margin-top: 1.5rem !important;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .architecture-flow-card {
        flex-direction: column;
    }
    .arch-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    .tech-specs-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.65rem; }

    .nav-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--color-border);
        gap: 1rem;
    }
    .nav-menu.open { display: flex; }

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