/* CSS Variables - Premium Dark Corporate Theme (inspired by Office.jpeg) */
:root {
    --bg-main: #090F14;          /* Very deep slate-black background */
    --bg-card: rgba(21, 34, 46, 0.5);  /* Glassmorphism slate card */
    --bg-card-hover: rgba(29, 47, 64, 0.75);
    --bg-card-solid: #121E29;    /* Solid dark blue-slate card background */
    --bg-navbar: rgba(9, 15, 20, 0.8);
    --text-main: #F8FAFC;        /* Clear bright off-white for headings */
    --text-light: #94A3B8;       /* Medium slate grey for readable text */
    --text-muted: #64748B;       /* Secondary text */
    --primary-color: #38BDF8;    /* Glowing light-blue SAP accent */
    --primary-hover: #0EA5E9;
    --accent-color: #608090;     /* Steel blue/gray accent from Office.jpeg */
    --border-color: rgba(148, 163, 184, 0.1);
    --border-glow: rgba(56, 189, 248, 0.25);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1E2D3B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

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

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

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

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

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

/* Navbar */
.navbar {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--bg-navbar);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    border-radius: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0284C7 100%);
    color: #090F14;
    border: none;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
    background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, rgba(9, 15, 20, 0) 50%),
                radial-gradient(circle at 15% 80%, rgba(96, 128, 144, 0.05) 0%, rgba(9, 15, 20, 0) 50%),
                var(--bg-main);
    min-height: 90vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 36px;
    font-weight: 400;
}

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

/* Mockup Window (SAP Automation Visualization) */
.hero-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-window {
    width: 100%;
    background-color: var(--bg-card-solid);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(56, 189, 248, 0.1);
    border: 1px solid var(--border-color);
}

.mockup-header {
    background-color: rgba(9, 15, 20, 0.6);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #334155;
}
.dot:nth-child(1) { background-color: #ef4444; }
.dot:nth-child(2) { background-color: #eab308; }
.dot:nth-child(3) { background-color: #22c55e; }

.mockup-title {
    margin-left: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.mockup-body {
    padding: 24px;
    font-family: 'Consolas', 'Fira Code', Courier, monospace;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}

.code-line::before {
    content: '>';
    color: var(--primary-color);
    margin-right: 12px;
    font-weight: bold;
}

.code-line.highlight {
    color: var(--text-main);
    background-color: rgba(56, 189, 248, 0.05);
    padding: 2px 6px;
    border-left: 2px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.code-line.success {
    color: #4ade80;
    background-color: rgba(34, 197, 94, 0.05);
    padding: 2px 6px;
    border-left: 2px solid #22c55e;
    border-radius: 0 4px 4px 0;
}

.code-line.success::before {
    content: '✓';
    color: #22c55e;
}

/* Benefits/Features Section */
.benefits {
    padding: 100px 0;
    background-color: #0c151e; /* Subtle section difference */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
}

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0) var(--y, 0), rgba(56, 189, 248, 0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(56, 189, 248, 0.05);
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
    background-color: rgba(56, 189, 248, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

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

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(96, 128, 144, 0.03) 0%, rgba(9, 15, 20, 0) 60%),
                var(--bg-main);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card-solid);
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: rgba(9, 15, 20, 0.4);
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    color: var(--text-light);
    font-size: 1rem;
}

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

.comparison-table td strong {
    color: var(--text-main);
}

.comparison-table .highlight-col {
    background-color: rgba(56, 189, 248, 0.03);
    border-left: 1px solid rgba(56, 189, 248, 0.1);
    border-right: 1px solid rgba(56, 189, 248, 0.1);
}

.comparison-table th.highlight-col {
    color: var(--primary-color);
    background-color: rgba(56, 189, 248, 0.06);
    border-top: 2px solid var(--primary-color);
}

.badge-speed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

.badge-slow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Contact/CTA Section */
.contact {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, rgba(9, 15, 20, 0) 50%),
                rgba(12, 21, 30, 0.7);
    border-top: 1px solid var(--border-color);
}

.contact-container {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 1.15rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 550px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 22px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    text-align: left;
}

.whatsapp-card {
    background-color: #128C7E;
    color: white;
    box-shadow: 0 4px 15px rgba(18, 140, 126, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-card:hover {
    transform: translateY(-2px);
    background-color: #075E54;
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.35);
}

.email-card {
    background-color: var(--bg-card-solid);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.email-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 15px rgba(56, 189, 248, 0.05);
}

.email-card.outline {
    background-color: transparent;
    border-color: rgba(148, 163, 184, 0.2);
}

.email-card.outline:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.02);
}

.contact-icon {
    font-size: 2.2rem;
    margin-right: 24px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-text strong {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #060a0e;
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .badge {
        margin: 0 auto 24px;
    }
    
    .mockup-window {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Can expand to mobile menu if needed, keeping simple as original */
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 16px;
        font-size: 0.9rem;
    }
}
