/* ============================================
   AiPact - Modern Enterprise Design
   Color Scheme: Deep Navy (#1a365d) + Emerald Green (#10b981)
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a365d;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a365d;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a365d;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a365d;
}

p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #64748b;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease-out;
    display: inline-block;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: #10b981;
    color: white;
}

.btn-primary:hover {
    background-color: #059669;
}

.btn-secondary {
    background-color: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.btn-secondary:hover {
    background-color: #1a365d;
    color: white;
}

.btn-light {
    background-color: #10b981;
    color: #1a365d;
}

.btn-light:hover {
    background-color: #059669;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: #1a365d;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a365d;
}

.logo {
    width: 2rem;
    height: 2rem;
    background-color: #1a365d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-weight: 700;
    font-size: 0.875rem;
}

.brand-name {
    font-weight: 700;
}

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

.nav-menu a {
    font-size: 0.875rem;
    color: #64748b;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #1a365d;
}

.btn-login {
    background-color: #1a365d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.btn-login:hover {
    background-color: #0f172a;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: #ffffff;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #64748b;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease-out;
}

.feature-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    color: #64748b;
}

/* Included Section */
.included {
    padding: 5rem 0;
    background-color: white;
}

.included-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.included-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.included-image img {
    width: 100%;
    height: auto;
    display: block;
}

.included-list {
    list-style: none;
    space: 1rem;
}

.included-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.check {
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.95rem;
    color: #64748b;
}

/* Compliance Section */
.compliance {
    padding: 5rem 0;
    background-color: white;
}

.compliance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.compliance-list li {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.compliance-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.compliance-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

.pricing-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.2s ease-out;
}

.pricing-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #10b981;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    background-color: #10b981;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
}

.period {
    font-size: 0.95rem;
    color: #64748b;
}

.pricing-card .btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    font-size: 0.95rem;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    color: #64748b;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: #1a365d;
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-brand .logo {
    background-color: #10b981;
    color: #0f172a;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .included-content {
        grid-template-columns: 1fr;
    }

    .compliance-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
