@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── Design Tokens ─── */
:root {
    --primary: #009688;
    --primary-light: #4DB6AC;
    --primary-dark: #00796B;
    --primary-05: rgba(0, 150, 136, 0.05);
    --primary-10: rgba(0, 150, 136, 0.10);
    --primary-15: rgba(0, 150, 136, 0.15);
    --primary-20: rgba(0, 150, 136, 0.20);

    --text-dark: #1a2332;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --off-white: #f8fafb;
    --border: #e2e8f0;
}

/* ─── Reset & Base ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--white);
    color: var(--text-dark);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ─── Top Contact Bar ─── */
.top-bar {
    background: var(--white);
    padding: 0.15rem 0;
    margin-top: 0.2rem;
    width: 100%;
    z-index: 20;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: flex-end;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-item {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary);
}

.contact-item i {
    color: #25D366;
    font-size: 0.95rem;
}

.contact-item span {
    font-weight: 700;
}

/* ─── Header / Nav ─── */
header {
    width: 100%;
    z-index: 15;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.main-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.03);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
}

/* ─── Buttons ─── */
.btn {
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-lg {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
}

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

.btn-teal:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-teal:active {
    transform: translateY(0);
}

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

.btn-outline:hover {
    background: var(--primary-05);
    transform: translateY(-1px);
}

.btn-outline:active {
    transform: translateY(0);
}

/* ─── Main / Hero ─── */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Background Image Layer */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url("Alpha Punchtime hero section background image for biometric attendance system.jpg") no-repeat left top;
    background-size: cover;
    transition: transform 0.3s ease-out;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.88) 40%,
        rgba(255, 255, 255, 0.7) 65%,
        rgba(255, 255, 255, 0.2) 100%
    );
}

/* Hero Content Area */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    flex: 1;
    width: 100%;
}

.hero-left {
    flex: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-right {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-10);
    border: 1px solid var(--primary-20);
    color: var(--primary-dark);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.08);
}

.badge i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Typography */
h1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    white-space: nowrap;
}

h1 .dot {
    color: var(--primary);
}

.subheading {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 1.8rem;
    max-width: 680px;
    font-weight: 400;
}

/* CTA Group */
.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ─── Feature Cards Grid ─── */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 360px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.3s ease;
    animation: fadeInCard 0.6s ease-out both;
}

@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.feature-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 150, 136, 0.10);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--primary-10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
}

.feature-text h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.feature-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.3;
}

/* ─── Trust Bar ─── */
.trust-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.8rem 4rem;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-body);
}

.trust-item i {
    color: var(--primary);
    font-size: 0.9rem;
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .main-nav { padding: 0.6rem 2rem; }
    .top-bar-inner { padding: 0 2rem; }
    .hero-content { padding: 2rem 2rem 0; gap: 2rem; }
    .trust-bar { padding: 0.8rem 2rem; }
    h1 { font-size: 2.8rem; }
    .subheading { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    body { height: auto; overflow: auto; min-height: 100vh; }

    .top-bar-inner { justify-content: center; }
    .contact-info { flex-direction: column; align-items: center; gap: 0.3rem; }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .hero-right { justify-content: flex-start; }
    .feature-grid { max-width: 100%; }

    h1 { font-size: 2.4rem; white-space: normal; }
    .subheading { font-size: 1.2rem; }
    .description { font-size: 0.95rem; }

    .cta-group { flex-direction: column; align-items: stretch; }
    .cta-group .btn { text-align: center; justify-content: center; }

    .trust-bar {
        flex-wrap: wrap;
        gap: 0.8rem;
        padding: 1rem 1.5rem;
    }
    .trust-divider { display: none; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
}
