/* ===== CSS Variables ===== */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary: #6C63FF;
    --accent: #00D4AA;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #6C63FF 100%);
    --gradient-secondary: linear-gradient(135deg, #6C63FF 0%, #00D4AA 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

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

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

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 0;
}

/* ===== Contact Modal ===== */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-modal-content h2 {
    font-size: 28px;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 24px;
    font-size: 14px;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.required {
    color: var(--danger);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    margin-top: 8px;
    padding: 14px 32px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit i {
    margin-right: 8px;
}

/* ===== Form Success/Error Messages ===== */
.form-message {
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.message-content i {
    font-size: 40px;
}

.success-message .message-content i {
    color: #22C55E;
}

.error-message .message-content i {
    color: #EF4444;
}

.message-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.message-content p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* Dark theme form messages (for hero form) */
.hero-form-container .success-message,
.hero-form-container .error-message {
    background: rgba(255, 255, 255, 0.95);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(0, 212, 170, 0.1) 100%);
    bottom: 100px;
    left: -150px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(108, 99, 255, 0.15) 100%);
    bottom: 200px;
    right: 10%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(0, -100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, -50px) rotate(270deg);
    }
}

.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: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 540px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-300);
}

/* ===== Hero Contact Form ===== */
.hero-contact-form {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-form-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.hero-form-container h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.form-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 24px;
}

.inline-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inline-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.inline-contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inline-contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.inline-contact-form label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.inline-contact-form .required {
    color: var(--danger);
    margin-left: 2px;
}

.inline-contact-form input,
.inline-contact-form select,
.inline-contact-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    width: 100%;
    box-sizing: border-box;
}

.inline-contact-form input:focus,
.inline-contact-form select:focus,
.inline-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.inline-contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.inline-contact-form .btn-submit {
    margin-top: 12px;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
}

/* ===== Features Dashboard Preview (Glassmorphism) ===== */
.features-dashboard-preview {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.dashboard-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* Glassmorphism frame */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 8px 20px rgba(102, 126, 234, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.dashboard-showcase:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 12px 30px rgba(102, 126, 234, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.dashboard-showcase .preview-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.dashboard-showcase:hover .preview-img {
    transform: scale(1.01);
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

/* ===== Global Image Clarity & Responsiveness ===== */
.preview-img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* AI Report Preview Image */
.ai-report-preview .preview-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Monitoring Preview Image */
.monitoring-preview .preview-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

/* Attendance Image */
.attendance-image .preview-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

/* ===== Animations ===== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.animate-float {
    animation: floatY 6s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== Trusted By Section ===== */
.trusted-by {
    padding: 40px 0;
    background: var(--gray-900);
    border: none;
}

.trusted-text {
    text-align: center;
    color: var(--gray-300);
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.logo-scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-400);
    white-space: nowrap;
    transition: var(--transition);
}

.company-logo:hover {
    color: var(--white);
}

.company-logo i {
    color: var(--primary);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
}

/* ===== Features Section with Glassmorphism ===== */
.features {
    padding: 100px 0;
    /* AI-themed gradient background */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #6B8DD6 50%, #8E54E9 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Decorative background elements */
.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* Override section header colors for dark background */
.features .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.features .section-title {
    color: var(--white);
}

.features .section-title .gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Features grid layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

/* ===== Glassmorphism Feature Cards ===== */
.feature-card {
    /* Solid black background */
    background: #0a0a0a;

    /* Subtle border */
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* Rounded corners */
    border-radius: 20px;

    /* Card padding */
    padding: 32px 28px;

    /* Smooth transitions for hover */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Positioning for pseudo-elements */
    position: relative;
    overflow: hidden;

    /* Shadow for depth */
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Inner glow effect */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.1) 0%,
        rgba(118, 75, 162, 0.05) 50%,
        transparent 100%
    );
    border-radius: 20px;
    pointer-events: none;
}

/* Shine effect on top */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

/* Hover state */
.feature-card:hover {
    /* Lift effect */
    transform: translateY(-8px);

    /* Slightly lighter black on hover */
    background: #111111;

    /* Purple border glow */
    border-color: rgba(102, 126, 234, 0.5);

    /* Blue glow shadow */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(102, 126, 234, 0.3),
        0 0 30px rgba(102, 126, 234, 0.2);
}

/* Shine animation on hover */
.feature-card:hover::after {
    left: 100%;
}

/* ===== Icon Container for Black Cards ===== */
.feature-icon {
    width: 64px;
    height: 64px;

    /* Dark gradient background */
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.2) 0%,
        rgba(118, 75, 162, 0.15) 100%
    );

    /* Subtle border */
    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;

    /* Smooth transition */
    transition: all 0.3s ease;

    /* Soft glow shadow */
    box-shadow:
        0 4px 15px rgba(102, 126, 234, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);

    position: relative;
}

/* Icon glow effect */
.feature-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon i {
    font-size: 26px;
    /* Gradient icon color */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
    transition: all 0.3s ease;
}

/* Icon hover state */
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 4px 10px rgba(118, 75, 162, 0.3);
}

.feature-card:hover .feature-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* ===== Typography on Glass Cards ===== */
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    /* Limit to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== AI-Powered Section ===== */
.ai-powered {
    padding: 100px 0;
    background: var(--gray-50);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ai-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.ai-text > p {
    color: var(--gray-600);
    font-size: 17px;
    margin-bottom: 32px;
}

.ai-features-list {
    margin-bottom: 32px;
}

.ai-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.ai-features-list li:last-child {
    border-bottom: none;
}

.ai-features-list i {
    color: var(--success);
    font-size: 18px;
}

.ai-image {
    position: relative;
    width: 100%;
}

.ai-report-preview {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.ai-report-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    left: -40px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: -1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.card-icon.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 12px;
    color: var(--gray-500);
}

.card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

/* ===== Monitoring Section ===== */
.monitoring {
    padding: 100px 0;
    background: var(--white);
}

.monitoring-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.monitoring-image {
    width: 100%;
}

.monitoring-preview {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.monitoring-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.screenshot-grid-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mini-screenshot {
    width: 50px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.monitoring-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.monitoring-text > p {
    color: var(--gray-600);
    font-size: 17px;
    margin-bottom: 32px;
}

.monitoring-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.monitoring-feature {
    display: flex;
    gap: 16px;
}

.mf-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mf-icon i {
    font-size: 20px;
    color: var(--primary);
}

.mf-content h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.mf-content p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== Attendance Section ===== */
.attendance {
    padding: 100px 0;
    background: var(--gray-50);
}

.attendance-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.attendance-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.attendance-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.attendance-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.att-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.att-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.att-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.att-icon i {
    font-size: 20px;
    color: var(--white);
}

.att-content h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.att-content p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== How It Works with Scroll Animation ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

/* Step card styling */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
    position: relative;
    /* Initial state - hidden to the left */
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered animation delays */
.step:nth-child(1) {
    transition-delay: 0.1s;
}

.step:nth-child(3) {
    transition-delay: 0.3s;
}

.step:nth-child(5) {
    transition-delay: 0.5s;
}

/* Animated state */
.step.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.3;
    transition: all 0.5s ease;
}

.step:hover .step-number {
    opacity: 0.6;
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.step-content p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.step-icon i {
    font-size: 28px;
    color: var(--white);
}

/* Connector line */
.step-connector {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    margin-top: 140px;
    border-radius: 2px;
    position: relative;
    /* Initial state */
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Connector delays */
.step-connector:nth-of-type(2) {
    transition-delay: 0.2s;
}

.step-connector:nth-of-type(4) {
    transition-delay: 0.4s;
}

/* Animated connector */
.step-connector.animate-in {
    opacity: 1;
    transform: scaleX(1);
}

/* Animated dot on connector */
.step-connector::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    left: -5px;
    opacity: 0;
    animation: none;
}

.step-connector.animate-in::after {
    opacity: 1;
    animation: moveDot 2s ease-in-out infinite;
}

@keyframes moveDot {
    0% {
        left: -5px;
    }
    50% {
        left: calc(100% - 5px);
    }
    100% {
        left: -5px;
    }
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: var(--gray-50);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--gray-900);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 50px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    left: 3px;
    top: 3px;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

.save-badge {
    background: var(--success);
    color: var(--white);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 50px;
    margin-left: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--gray-500);
    font-size: 14px;
}

.pricing-price {
    margin: 24px 0;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
}

.amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
}

.period {
    font-size: 15px;
    color: var(--gray-500);
    margin-left: 4px;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--success);
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.testimonial-rating {
    color: #FFB800;
    margin-bottom: 16px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    font-family: inherit;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content h2 .gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-note i {
    color: var(--accent);
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    padding: 80px 0 24px;
}

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

.footer-brand p {
    color: var(--gray-400);
    font-size: 15px;
    margin: 20px 0;
    max-width: 300px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 14px;
}

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

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

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-contact-form {
        max-width: 100%;
        margin: 40px auto 0;
    }

    .hero-form-container {
        padding: 28px;
        border-radius: var(--radius);
    }

    .hero-form-container h2 {
        font-size: 26px;
    }

    .inline-contact-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-content,
    .monitoring-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ai-text,
    .monitoring-text {
        order: 1;
    }

    .ai-image,
    .monitoring-image {
        order: 2;
    }

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

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step {
        /* Change animation direction to come from bottom on mobile */
        transform: translateY(50px);
    }

    .step.animate-in {
        transform: translateY(0);
    }

    .step-connector {
        width: 3px;
        height: 50px;
        margin: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    .step-connector.animate-in {
        transform: scaleY(1);
    }

    .step-connector::after {
        animation: moveDotVertical 2s ease-in-out infinite !important;
        left: 50% !important;
        transform: translateX(-50%);
        top: -5px;
    }

    @keyframes moveDotVertical {
        0% {
            top: -5px;
        }
        50% {
            top: calc(100% - 5px);
        }
        100% {
            top: -5px;
        }
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .hero-form-container {
        padding: 24px 20px;
        margin: 0 10px;
        border-radius: 12px;
    }

    .hero-form-container h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .form-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .inline-contact-form {
        gap: 12px;
    }

    .inline-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .inline-contact-form .form-group {
        gap: 5px;
    }

    .inline-contact-form label {
        font-size: 13px;
        font-weight: 600;
    }

    .inline-contact-form input,
    .inline-contact-form select,
    .inline-contact-form textarea {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 8px;
    }

    .inline-contact-form textarea {
        min-height: 70px;
    }

    .inline-contact-form .btn-submit {
        padding: 14px 20px;
        font-size: 15px;
        margin-top: 8px;
        border-radius: 8px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-modal-content {
        padding: 24px;
    }

    .floating-card {
        display: none;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-brand p {
        margin: 20px auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Mobile Image Responsiveness */
    .features-dashboard-preview {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .dashboard-showcase {
        border-radius: var(--radius);
        max-width: 100%;
    }

    .dashboard-showcase .preview-img {
        border-radius: var(--radius);
    }

    .ai-content,
    .monitoring-content {
        gap: 30px;
    }

    .ai-report-preview,
    .monitoring-preview {
        border-radius: var(--radius);
        overflow: hidden;
    }

    .ai-report-preview .preview-img,
    .monitoring-preview .preview-img {
        border-radius: var(--radius);
    }

    .attendance-showcase {
        gap: 30px;
    }

    .attendance-image {
        border-radius: var(--radius);
        overflow: hidden;
    }

    .attendance-image .preview-img {
        border-radius: var(--radius);
    }

    /* Improve image containers on mobile */
    .ai-image,
    .monitoring-image {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Mobile Image Styles - Extra Small */
    .features-dashboard-preview {
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .dashboard-showcase {
        border-radius: 8px;
        box-shadow: var(--shadow-md);
    }

    .dashboard-showcase .preview-img {
        border-radius: 8px;
    }

    .ai-report-preview,
    .monitoring-preview,
    .attendance-image {
        border-radius: 8px;
        box-shadow: var(--shadow-md);
    }

    .ai-report-preview .preview-img,
    .monitoring-preview .preview-img,
    .attendance-image .preview-img {
        border-radius: 8px;
    }

    /* Sections padding on mobile */
    .features,
    .ai-powered,
    .monitoring,
    .attendance,
    .ai-technology {
        padding: 60px 0;
    }

    .hero-form-container {
        padding: 20px 16px;
        margin: 0 5px;
        border-radius: 10px;
    }

    .hero-form-container h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .form-subtitle {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .inline-contact-form {
        gap: 10px;
    }

    .inline-contact-form .form-row {
        gap: 10px;
    }

    .inline-contact-form .form-group {
        gap: 4px;
    }

    .inline-contact-form input,
    .inline-contact-form select,
    .inline-contact-form textarea {
        padding: 11px 12px;
        font-size: 14px;
        border-radius: 6px;
    }

    .inline-contact-form label {
        font-size: 12px;
        font-weight: 600;
    }

    .inline-contact-form textarea {
        min-height: 60px;
    }

    .inline-contact-form .btn-submit {
        padding: 12px 18px;
        font-size: 14px;
        margin-top: 6px;
        border-radius: 6px;
    }

    /* Feature cards on mobile - Glassmorphism */
    .feature-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .feature-card::before {
        border-radius: 16px;
    }

    .feature-icon {
        width: 54px;
        height: 54px;
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .feature-icon i {
        font-size: 22px;
    }

    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Features section on mobile */
    .features {
        padding: 70px 0;
    }

    .features-dashboard-preview {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .dashboard-showcase {
        border-radius: 14px;
        padding: 8px;
    }

    .dashboard-showcase .preview-img {
        border-radius: 10px;
    }
}

/* ===== AI Technology Section ===== */
.ai-technology {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, #0a0a0a 50%, var(--gray-900) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.ai-technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-technology .section-header {
    position: relative;
    z-index: 1;
}

.ai-technology .section-badge {
    background: rgba(102, 126, 234, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.ai-technology .section-title {
    color: var(--white);
}

.ai-technology .section-subtitle {
    color: var(--gray-400);
}

.ai-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.ai-tech-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* Initial state for animation */
    opacity: 0;
    transform: translateY(40px);
}

/* Animated state */
.ai-tech-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.ai-tech-card:nth-child(1) { transition-delay: 0.1s; }
.ai-tech-card:nth-child(2) { transition-delay: 0.2s; }
.ai-tech-card:nth-child(3) { transition-delay: 0.3s; }
.ai-tech-card:nth-child(4) { transition-delay: 0.4s; }

/* Gradient border effect */
.ai-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Glow effect behind card */
.ai-tech-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.ai-tech-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: transparent;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(102, 126, 234, 0.2);
}

.ai-tech-card:hover::before {
    opacity: 1;
}

.ai-tech-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.ai-tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #a855f7 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow:
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(102, 126, 234, 0.2);
}

/* Floating animation for icons */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.ai-tech-card:hover .ai-tech-icon {
    animation: iconFloat 2s ease-in-out infinite;
    box-shadow:
        0 15px 40px rgba(102, 126, 234, 0.5),
        0 0 30px rgba(168, 85, 247, 0.3);
}

.ai-tech-icon i {
    font-size: 32px;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ai-tech-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--white);
}

.ai-tech-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ai-tech-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.15);
    color: #a78bfa;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.ai-tech-card:hover .ai-tech-badge {
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Role-Specific AI Section */
.role-specific-ai {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.role-ai-header {
    text-align: center;
    margin-bottom: 48px;
}

.role-ai-header .section-badge {
    background: rgba(102, 126, 234, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.role-ai-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--white);
}

.role-ai-header p {
    color: var(--gray-400);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.role-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* Initial state for animation */
    opacity: 0;
    transform: translateY(30px);
}

.role-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for role cards */
.role-card:nth-child(1) { transition-delay: 0.1s; }
.role-card:nth-child(2) { transition-delay: 0.2s; }
.role-card:nth-child(3) { transition-delay: 0.3s; }
.role-card:nth-child(4) { transition-delay: 0.4s; }

.role-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(102, 126, 234, 0.15);
}

.role-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.role-icon i {
    font-size: 24px;
    color: var(--white);
}

.role-icon.developer {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.role-icon.hr {
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
}

.role-icon.lead {
    background: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
}

.role-icon.manager {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.role-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--white);
}

.role-card > p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 16px;
    line-height: 1.5;
}

.role-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.role-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-300);
}

.role-features i {
    color: #10B981;
    font-size: 12px;
}

/* AI Reports Section - Dark Theme */
.ai-reports-section {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay */
.ai-reports-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    pointer-events: none;
}

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

.ai-reports-text .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-reports-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--white);
}

.ai-reports-text h2 .gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-reports-text > p {
    color: var(--gray-400);
    font-size: 16px;
    margin-bottom: 32px;
}

.ai-report-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-report-feature {
    display: flex;
    gap: 16px;
    padding: 18px;
    /* Glassmorphism on dark background */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.ai-report-feature:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.arf-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.arf-icon i {
    font-size: 20px;
    color: var(--white);
}

.arf-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--white);
}

.arf-content p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
}

/* AI Visual Card - Dark Theme */
.ai-visual-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ai-visual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-visual-header i {
    font-size: 24px;
    color: #667eea;
}

.ai-visual-header span {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.ai-visual-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.ai-stat {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.ai-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 4px;
}

.ai-stat-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-visual-progress {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-item span {
    font-size: 13px;
    color: var(--gray-300);
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: progressGrow 1.5s ease-out;
}

@keyframes progressGrow {
    from {
        width: 0;
    }
}

/* AI Technology Responsive */
@media (max-width: 1024px) {
    .ai-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-reports-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-reports-section {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .ai-tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ai-tech-card {
        padding: 28px 22px;
    }

    .ai-tech-icon {
        width: 70px;
        height: 70px;
    }

    .ai-tech-icon i {
        font-size: 28px;
    }

    .ai-tech-card h3 {
        font-size: 18px;
    }

    .roles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .role-card {
        padding: 24px 20px;
    }

    .ai-reports-section {
        padding: 24px;
    }

    .ai-visual-stats {
        grid-template-columns: 1fr;
    }

    .role-ai-header h2 {
        font-size: 28px;
    }

    .ai-reports-text h2 {
        font-size: 26px;
    }
}

/* ===== Image Placeholders ===== */
.preview-img {
    width: 100%;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.preview-img:hover {
    transform: scale(1.02);
}

/* Image loading error fallback */
.preview-img[src]::before {
    content: '';
    display: block;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    min-height: 300px;
    border-radius: var(--radius-xl);
}

/* Dashboard Preview Placeholder */
.dashboard-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.3) 50%, transparent 52%);
    background-size: 20px 20px;
    pointer-events: none;
}

/* AI Report Preview Enhancements */
.ai-report-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Monitoring Preview Enhancements */
.monitoring-preview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* ===== Loading Skeleton Animation ===== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.preview-img:not([src]),
.preview-img[src=""],
.preview-img[src="images/dashboard.png"]:not(:valid),
.preview-img[src="images/attendance.png"]:not(:valid),
.preview-img[src="images/monitoring.png"]:not(:valid),
.preview-img[src="images/ai-report.png"]:not(:valid) {
    min-height: 350px;
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ===== Selection Style ===== */
::selection {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ===== Focus Styles for Accessibility ===== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
