/* ===== VARIABLES ===== */
:root {
    --primary: #1a56db;
    --primary-dark: #1340a8;
    --primary-light: #e8effc;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 10px 22px;
    font-size: 0.875rem;
    border-radius: 8px;
}
.btn-nav:hover { background: var(--primary-dark); }

.btn-service {
    color: var(--primary);
    font-weight: 600;
    padding: 8px 0;
    font-size: 0.9rem;
}
.btn-service:hover { gap: 12px; }
.btn-service::after { content: '→'; transition: var(--transition); }

.btn-pricing {
    width: 100%;
    padding: 14px;
    background: var(--bg-alt);
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-pricing:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-pricing-featured {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
}
.btn-pricing-featured:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-text { color: var(--secondary); }

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

.nav-links a {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); background: var(--primary-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 30% 70%, rgba(26, 86, 219, 0.2) 0%, transparent 60%);
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero h1 { margin-bottom: 20px; color: white; }
.hero .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered { text-align: center; }

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-header h2 { margin-bottom: 16px; }

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-header.centered .section-desc { margin: 0 auto; }

/* ===== WHAT WE DO / BENEFITS ===== */
.what-we-do { background: var(--bg-alt); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.benefit-icon svg { width: 24px; height: 24px; }

.benefit-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.benefit-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content .section-tag { margin-bottom: 12px; }

.about-text {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-mission { display: flex; flex-direction: column; gap: 20px; }

.mission-item {
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.mission-item h4 { margin-bottom: 6px; color: var(--primary); }
.mission-item p { color: var(--text-light); font-size: 0.95rem; }

.about-values {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.about-values h3 { margin-bottom: 24px; }

.values-list { display: flex; flex-direction: column; gap: 20px; }

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg { width: 20px; height: 20px; }
.value-item h4 { margin-bottom: 4px; }
.value-item p { color: var(--text-light); font-size: 0.85rem; }

/* ===== SERVICES ===== */
.services { background: var(--bg-alt); }

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

.service-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-alt);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    transition: var(--transition);
}

.service-card:hover .service-number { color: var(--primary-light); }

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card > p { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; }

.service-features {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--text);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(26, 86, 219, 0.15);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header { text-align: center; margin-bottom: 28px; }
.pricing-header h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pricing-subtitle { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; }

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.price-currency { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.price-amount { font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.price-period { font-size: 0.9rem; color: var(--text-light); }

.pricing-billing {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

.pricing-features {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.pricing-features li svg { width: 18px; height: 18px; min-width: 18px; }
.pricing-features li.included svg { color: #22c55e; }
.pricing-features li.not-included { color: var(--text-lighter); }
.pricing-features li.not-included svg { color: var(--text-lighter); }

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    overflow-x: auto;
}

.comparison-title {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.3rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child,
.comparison-table td:first-child { text-align: left; }

.comparison-table th {
    background: var(--bg-alt);
    font-weight: 600;
    font-size: 0.85rem;
}

.comparison-table th small { font-weight: 500; color: var(--text-light); }

.check { color: #22c55e; font-size: 1.2rem; font-weight: 700; }
.dash { color: var(--text-lighter); }

/* ===== CASES ===== */
.cases { background: var(--bg-alt); }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.case-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.case-label {
    display: inline-block;
    padding: 4px 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.case-label.solution { background: #dbeafe; color: #1e40af; margin-top: 16px; }
.case-label.result { background: #d1fae5; color: #065f46; margin-top: 16px; }

.case-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; }

.testimonial-highlight {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.testimonial-highlight blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.testimonial-highlight cite {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== ALLIES ===== */
.allies { background: white; }
.allies-cta { text-align: center; }

/* ===== RESOURCES ===== */
.resources { background: var(--bg-alt); }

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.resource-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

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

.resource-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.resource-icon svg { width: 28px; height: 28px; }
.resource-card h3 { margin-bottom: 8px; }
.resource-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 { color: white; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 32px; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--bg-alt);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group + .btn { margin-top: 12px; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg { width: 22px; height: 22px; }
.contact-method h4 { margin-bottom: 4px; }
.contact-method p { color: var(--text-light); font-size: 0.88rem; }

.contact-social { padding: 20px; }
.contact-social h4 { margin-bottom: 12px; }

.social-links { display: flex; gap: 12px; }

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.social-link svg { width: 20px; height: 20px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

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

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

.footer-brand .logo-text { color: white; }

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}
.footer-links a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .pricing-card.featured { transform: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 100px 0 60px; }
    .hero-stats { gap: 24px; }
    .section { padding: 60px 0; }

    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .comparison-table-wrapper { padding: 20px; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: 10px 8px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; }
    .contact-form { padding: 24px 20px; }
}
