:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --accent-color: #00d4ff;
    --text-dark: #0a2540;
    --text-light: #425466;
    --bg-light: #f6f9fc;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0a2540 0%, #0066cc 100%);
    --gradient-text: linear-gradient(90deg, #0066cc, #00d4ff);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.4);
}

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

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

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo img {
    height: 40px;
}

.nav a {
    margin-left: 32px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

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

.nav .btn {
    margin-left: 24px;
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 8px 20px 8px 8px;
    margin-bottom: 28px;
}

.hero-badge-logo {
    height: 24px;
    filter: brightness(0) invert(1);
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.hero-content h1 {
    margin-bottom: 24px;
    font-size: 4rem;
    line-height: 1.1;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #4dc9ff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.invoice-stack {
    position: relative;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.invoice-stack img {
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.invoice-pending {
    width: 88%;
    display: block;
    opacity: 0.7;
    transform: rotate(-2deg) translateX(-2%) translateY(-4%);
}

.invoice-approved {
    width: 88%;
    position: absolute;
    top: 12%;
    right: 0;
    transform: rotate(2deg);
    z-index: 2;
}

@keyframes float {
    0%   { transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) translateY(0px); }
    50%  { transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) translateY(-20px); }
    100% { transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) translateY(0px); }
}

.invoice-label {
    position: absolute;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 16px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.label-pending {
    top: 0%;
    left: -8%;
    background: #e65100;
    color: #fff;
    border-radius: 14px 14px 14px 4px;
}

.label-pending::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 8px;
    width: 0;
    height: 0;
    border-right: 8px solid #e65100;
    border-bottom: 6px solid transparent;
}

.label-approved {
    bottom: 8%;
    right: -6%;
    background: #2e7d32;
    color: #fff;
    border-radius: 14px 14px 4px 14px;
}

.label-approved::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 8px solid #2e7d32;
    border-bottom: 6px solid transparent;
}

.hero-image:hover .invoice-stack {
    animation-play-state: paused;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    transition: transform 0.6s ease;
}

/* Invoice Info Bar */
.invoice-info-bar {
    padding: 60px 0;
    background: var(--bg-light);
}

.info-bar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-bar-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
}

.pending-card {
    border-left-color: #e65100;
}

.approved-card {
    border-left-color: #2e7d32;
}

.info-bar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.pending-card .info-bar-icon {
    background: #fff3e0;
    color: #e65100;
}

.approved-card .info-bar-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.info-bar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.info-bar-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Compliance Section */
.compliance-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.compliance-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.compliance-content {
    flex: 1;
}

.compliance-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: block;
}

.compliance-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.compliance-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
    max-width: 500px;
}

.compliance-logos {
    display: flex;
    gap: 50px;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.compliance-logos img {
    height: 150px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.compliance-logos img:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p:last-child {
    margin-bottom: 0;
}

/* ========================
   Showcase Section
   ======================== */
.showcase {
    padding: 120px 0;
    background: var(--white);
}

/* Showcase Hero - Full-width dashboard */
.showcase-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 100px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.showcase-hero img {
    width: 100%;
    display: block;
}

.showcase-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(0deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.6) 60%, transparent 100%);
    color: var(--white);
}

.showcase-hero-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.showcase-hero-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 600px;
}

/* Showcase Rows - Alternating text/image */
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.showcase-row.reverse {
    grid-template-columns: 1.3fr 1fr;
}

.showcase-row.reverse .showcase-text {
    order: 2;
}

.showcase-row.reverse .showcase-image {
    order: 1;
}

.showcase-step {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1;
}

.showcase-text h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.showcase-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.showcase-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.showcase-image:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.showcase-image img {
    width: 100%;
    display: block;
}

/* Showcase Bottom Grid - Login & Profile */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.showcase-grid-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--white);
    transition: var(--transition);
}

.showcase-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.showcase-grid-item img {
    width: 100%;
    display: block;
}

.showcase-grid-caption {
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #051220;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

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

.footer-logo-main {
    height: 36px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-brand p {
    margin-bottom: 0;
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-powered img {
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.footer-powered span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }

    .invoice-stack {
        width: 80%;
    }

    .info-bar-grid {
        grid-template-columns: 1fr;
    }

    .showcase-row,
    .showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-row.reverse .showcase-text {
        order: 1;
    }

    .showcase-row.reverse .showcase-image {
        order: 2;
    }

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

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav a {
        margin: 0;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .compliance-container {
        flex-direction: column;
        gap: 20px;
        padding: 40px 24px;
    }

    .compliance-content h2 {
        font-size: 1.75rem;
    }

    .compliance-logos {
        gap: 30px;
        padding: 24px;
    }

    .compliance-logos img {
        height: 80px;
    }

    .showcase-hero-overlay {
        padding: 20px;
    }

    .showcase-hero-overlay h3 {
        font-size: 1.15rem;
    }

    .showcase-hero-overlay p {
        font-size: 0.9rem;
    }

    .showcase-text h3 {
        font-size: 1.35rem;
    }

    .showcase-step {
        font-size: 2rem;
    }

    .invoice-label {
        font-size: 0.65rem;
        padding: 6px 10px;
    }

    .label-pending {
        left: -2%;
    }

    .label-approved {
        right: -2%;
    }

    .info-bar-card {
        padding: 24px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .showcase-row,
    .showcase-row.reverse {
        margin-bottom: 60px;
    }

    .showcase-hero {
        margin-bottom: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-powered {
        justify-content: center;
    }
}
