/* Global Styles */
:root {
    --primary: #0f172a;
    --accent: #3b82f6;
    --accent-light: #eff6ff;
    --accent-dark: #1d4ed8;
    --success: #10b981;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.8);
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-alt { background-color: var(--bg-alt); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: #fff; }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.2;
}

h1 { font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; text-align: center; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.highlight {
    background: linear-gradient(120deg, var(--accent) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i { color: var(--accent); }

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--bg-alt);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 200px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top right, #eff6ff 0%, transparent 40%),
                radial-gradient(circle at bottom left, #f8fafc 0%, transparent 40%);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Logo Cloud */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.6;
}

.logo-item {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

/* Workflow Section */
.workflow-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.workflow-step.reverse {
    direction: rtl;
}

.workflow-step.reverse .workflow-content {
    direction: ltr;
}

.step-tag {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.workflow-content h3 { font-size: 2rem; margin-bottom: 1.5rem; }

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.feature-list i { color: var(--success); }

.workflow-image {
    background: var(--bg-alt);
    height: 400px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--accent-light);
    border: 1px solid var(--border);
    overflow: hidden;
}

.workflow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.workflow-step:hover .workflow-image img {
    transform: scale(1.05);
}

/* Security Section */
.security-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.security-content h2 { text-align: left; margin-bottom: 1.5rem; }

.security-features {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.s-feature {
    display: flex;
    gap: 1.5rem;
}

.s-feature i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.s-feature h4 { color: #fff; margin-bottom: 0.5rem; }

.security-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.badge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.badge-card:first-child { grid-column: span 2; }

.badge-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.badge-card span { font-weight: 600; color: #fff; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.pricing-card.enterprise-card {
    background: var(--primary);
    color: #fff;
}

.pricing-card.enterprise-card h3,
.pricing-card.enterprise-card .price { color: #fff; }
.pricing-card.enterprise-card .btn-outline { color: #fff; border-color: rgba(255,255,255,0.2); }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1.5rem 0;
}

.price span { font-size: 1.25rem; color: var(--text-light); font-weight: 500; }

.pricing-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-card li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.pricing-card li i { color: var(--success); }

.card-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-note::before {
    content: '\f023';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--success);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.7;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.client-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
}

.client-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-header:hover { background: var(--bg-alt); }

.faq-body {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-body { display: block; }
.faq-item.active .faq-header i { transform: rotate(45deg); }

/* Contact Card & CTA */
.contact-card {
    background: var(--primary);
    color: #fff;
    padding: 4rem;
    border-radius: 32px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card h2 { color: #fff; margin-bottom: 1rem; }
.contact-card .subtitle { margin-bottom: 2rem; }

.text-white-70 { color: rgba(255, 255, 255, 0.7); }

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.w-100 { width: 100%; }

/* Footer */
footer {
    background: var(--bg-alt);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

/* Legal Pages Styling */
.legal-page {
    background: #fff;
}

.legal-content {
    background: #fff;
    min-height: 60vh;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.legal-text section {
    margin-bottom: 2.5rem;
}

.legal-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-text p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-text li {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-text strong {
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-brand p { color: var(--text-light); margin-bottom: 2rem; }

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

.social-links a {
    color: var(--text-light);
    font-size: 1.25rem;
    transition: var(--transition);
}

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

.footer-nav h4 { margin-bottom: 1.5rem; font-size: 1rem; }

.footer-nav ul { list-style: none; }

.footer-nav li { margin-bottom: 0.75rem; }

.footer-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    .workflow-step, .security-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .workflow-step.reverse { direction: ltr; }
    .workflow-image { height: 300px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.5rem; }
    .hero { padding: 150px 0 80px; }
    .section-padding { padding: 60px 0; }
}
