/* Modern Design System for i-intra HR Landing Page */

:root {
    --bg-dark: #090d16;
    --bg-card: #121824;
    --primary: #00d2ff;
    --primary-hover: #00b0d6;
    --accent: #6366f1;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 210, 255, 0.3);
    --success: #10b981;
    --error: #ef4444;
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

p {
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.accent {
    color: var(--primary);
}

/* Header & Navbar */
.main-header {
    background-color: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.hamburger-btn {
    display: none;
}

.brand-name {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.35), 0 0 12px rgba(99, 102, 241, 0.2);
    filter: brightness(1.08);
}

.admin-portal-btn {
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.admin-portal-btn:hover {
    background: rgba(0, 210, 255, 0.05);
    border-color: var(--border-hover);
}

/* Hero Section */
.hero-section {
    padding: 130px 0 50px 0;
    position: relative;
    background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto auto auto;
    gap: 0 40px;
    align-items: center;
}

#hero-badge {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

#hero-title {
    grid-column: 1;
    grid-row: 2;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #c7d2fe, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero-desc {
    grid-column: 1;
    grid-row: 3;
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-actions {
    grid-column: 1;
    grid-row: 4;
    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-media {
    grid-column: 2;
    grid-row: 1 / span 4;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.4), 0 0 15px rgba(99, 102, 241, 0.25);
    filter: brightness(1.08);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.15);
    color: var(--primary);
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.5s ease;
}

.image-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

/* Videos Section */
.videos-section {
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.video-grid.single-video {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.video-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background-color: #000;
}

.demo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.video-info p {
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    padding: 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.feature-section-img,
.feature-section-video {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: block;
}

.features-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.features-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.feature-bullets {
    list-style: none;
}

.feature-bullets li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.bullet-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-bullets h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.feature-bullets p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Form Section */
.form-section {
    padding: 50px 0;
    background: radial-gradient(circle at 10% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    border-top: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.form-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-intro p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.dashboard-preview {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background-color: var(--bg-card);
}
.dashboard-img,
.dashboard-video {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Form Container Style */
.form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group label i {
    margin-right: 5px;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background-color: rgba(9, 13, 22, 0.6);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-inter);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-outfit);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 210, 255, 0.35);
}

.submit-btn .btn-spinner {
    display: none;
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-spinner {
    display: inline-block;
}

/* Alert Boxes */
.alert-box {
    margin-top: 20px;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.alert-box.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.alert-box.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Footer Section */
.main-footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    background-color: #05070a;
}
 
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
 
.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}
 
.social-links-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
 
.social-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}
 
.social-link i {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline-block;
}
 
.social-link:hover {
    color: #0979DB !important;
    border-color: #0979DB !important;
}
 
.footer-content p {
    text-align: center;
    width: 100%;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    text-decoration: none;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    /*color:#ff4e08;*/
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-left {
    animation: fadeInLeft 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-in-right {
    animation: fadeInRight 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive Rules */
@media (max-width: 992px) {
    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    
    #hero-badge {
        order: 1;
    }
    
    #hero-title {
        order: 2;
        font-size: 2.8rem;
        text-align: center;
    }
    
    .hero-media {
        order: 3;
        max-width: 600px;
        margin: 0 auto;
    }
    
    #hero-desc {
        order: 4;
        text-align: center;
        margin: 0 auto 20px auto;
    }
    
    .hero-actions {
        order: 5;
        justify-content: center;
    }

    .video-grid,
    .features-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
        background: none;
        border: none;
        color: var(--text-main);
        font-size: 1.6rem;
        cursor: pointer;
        z-index: 1001;
        transition: color 0.3s ease;
    }
    
    .hamburger-btn:hover {
        color: var(--primary);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        align-items: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        flex-direction: row;
        height: 80px;
        padding: 0 20px;
        justify-content: space-between;
        align-items: center;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    #hero-title {
        font-size: 2.2rem;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

.more-details-link {
    display: block;
    margin-top: 15px;
    margin-bottom: 20px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.more-details-link:hover {
    color: var(--text-main);
    transform: translateY(2px);
}
