/**
 * SC Attendance - Features Page Styles
 * صفحة المميزات - تصميم عصري
 */

:root {
    --primary: #2596be;
    --primary-dark: #1e7a9e;
    --secondary: #2596be;
    --accent: #1e7a9e;
    --success: #10b981;
    --info: #06b6d4;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0a3d5c;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--light);
    color: #333;
    overflow-x: hidden;
}

/* Glassmorphism Navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 45px;
    transition: all 0.3s ease;
}

.nav-link-modern {
    color: var(--dark) !important;
    font-weight: 600;
    padding: 12px 20px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-modern:hover::after {
    width: 60%;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

/* Hero Section - Modern */
.hero-modern {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a3d5c 0%, #145a7a 30%, #1e7a9e 60%, #2596be 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-modern > .container {
    position: relative;
    z-index: 2;
}

/* Animated Background */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: floatShape 20s infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #2596be, #2596be);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    bottom: -5%;
    left: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

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

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: rise 10s infinite;
}

@keyframes rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    color: white;
    font-size: 0.95rem;
}

.hero-badge i {
    margin-left: 8px;
    color: #fbbf24;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.9;
    max-width: 540px;
}

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

.btn-hero-primary {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: var(--dark) !important;
    padding: 18px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 60px;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: var(--primary) !important;
}

.btn-hero-secondary {
    background: transparent;
    color: white !important;
    padding: 18px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 10;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 25px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.mockup-stat {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
}

.mockup-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
}

.mockup-stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.mockup-chart {
    height: 100px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 6px 6px 0 0;
    animation: growBar 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Floating Elements */
.float-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 20;
}

.float-card-1 {
    top: 10%;
    right: -8%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: -2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.float-card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-left: 12px;
}

/* Stats Section - Modern */
.stats-modern {
    background: white;
    padding: 80px 0;
    margin-top: -60px;
    position: relative;
    z-index: 100;
    border-radius: 40px 40px 0 0;
}

.stat-card-modern {
    text-align: center;
    padding: 40px 25px;
    border-radius: 24px;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.15);
}

.stat-icon-modern {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    position: relative;
}

.stat-icon-modern::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 27px;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -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;
}

.stat-icon-modern.purple { background: linear-gradient(135deg, #2596be, #a855f7); }
.stat-icon-modern.blue { background: linear-gradient(135deg, #3b82f6, #2596be); }
.stat-icon-modern.green { background: linear-gradient(135deg, #10b981, #14b8a6); }
.stat-icon-modern.orange { background: linear-gradient(135deg, #f59e0b, #f97316); }

.stat-number-modern {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label-modern {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Features Section - Modern */
.features-modern {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-desc {
    color: #64748b;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Feature Showcase - Interactive Demo */
.feature-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a3d5c 0%, #145a7a 100%);
    position: relative;
    overflow: hidden;
}

.feature-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.feature-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.feature-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.feature-tab i {
    font-size: 1.3rem;
}

.feature-tab.premium-tab {
    position: relative;
}

.premium-tab-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
}

.feature-tab.active.premium-tab .premium-tab-badge {
    background: white;
    color: #f59e0b;
}

.feature-demo-container {
    position: relative;
    min-height: 500px;
}

.feature-demo {
    display: none;
    animation: fadeInDemo 0.6s ease;
}

.feature-demo.active {
    display: block;
}

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

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e, #16162a);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 0 auto;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-status-bar {
    height: 44px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    padding-top: 25px;
}

.phone-status-bar span {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

/* QR Scanner Demo */
.qr-scanner-demo {
    padding: 20px;
    text-align: center;
}

.scanner-viewfinder {
    width: 180px;
    height: 180px;
    margin: 30px auto;
    position: relative;
    border: 3px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scanLine 2s infinite ease-in-out;
}

@keyframes scanLine {
    0%, 100% { top: 0; }
    50% { top: calc(100% - 3px); }
}

.scanner-corners span {
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--primary);
    border-style: solid;
}

.scanner-corners span:nth-child(1) { top: -3px; left: -3px; border-width: 4px 0 0 4px; border-radius: 10px 0 0 0; }
.scanner-corners span:nth-child(2) { top: -3px; right: -3px; border-width: 4px 4px 0 0; border-radius: 0 10px 0 0; }
.scanner-corners span:nth-child(3) { bottom: -3px; left: -3px; border-width: 0 0 4px 4px; border-radius: 0 0 0 10px; }
.scanner-corners span:nth-child(4) { bottom: -3px; right: -3px; border-width: 0 4px 4px 0; border-radius: 0 0 10px 0; }

.qr-code-animated {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect fill='%231e1b4b' x='0' y='0' width='30' height='30'/%3E%3Crect fill='%231e1b4b' x='35' y='0' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='50' y='0' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='70' y='0' width='30' height='30'/%3E%3Crect fill='%231e1b4b' x='0' y='35' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='20' y='35' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='40' y='35' width='20' height='20'/%3E%3Crect fill='%231e1b4b' x='80' y='35' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='0' y='50' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='15' y='55' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='70' y='50' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='90' y='50' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='0' y='70' width='30' height='30'/%3E%3Crect fill='%231e1b4b' x='35' y='70' width='10' height='10'/%3E%3Crect fill='%231e1b4b' x='50' y='75' width='15' height='15'/%3E%3Crect fill='%231e1b4b' x='70' y='70' width='10' height='20'/%3E%3Crect fill='%231e1b4b' x='85' y='80' width='15' height='15'/%3E%3C/svg%3E");
    background-size: contain;
    animation: qrPulse 2s infinite;
}

@keyframes qrPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.scan-success-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 20px 40px;
    border-radius: 20px;
    text-align: center;
    animation: popupSuccess 3s infinite;
    z-index: 20;
}

@keyframes popupSuccess {
    0%, 60%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    65%, 90% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.scan-success-popup i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

/* WhatsApp Demo */
.whatsapp-demo {
    padding: 10px;
}

.wa-header {
    background: #075e54;
    color: white;
    padding: 15px;
    padding-top: 35px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.wa-chat {
    background: #ece5dd;
    padding: 20px;
    min-height: 400px;
}

.wa-message {
    max-width: 85%;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
    animation: messageSlide 0.5s ease;
}

.wa-message.received {
    background: white;
    margin-right: auto;
    border-top-left-radius: 0;
}

.wa-message.sent {
    background: #dcf8c6;
    margin-left: auto;
    border-top-right-radius: 0;
}

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

.wa-message-time {
    font-size: 0.7rem;
    color: #999;
    text-align: left;
    margin-top: 5px;
}

.wa-notification-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #25d366;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    animation: badgePop 0.5s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Reports Demo */
.reports-demo {
    padding: 15px;
    background: #f8fafc;
}

.report-card-mini {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.report-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding: 10px 0;
}

.report-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px 5px 0 0;
    animation: barGrow 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.report-pie {
    width: 100px;
    height: 100px;
    margin: 20px auto;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0% 65%, var(--accent) 65% 85%, #e2e8f0 85% 100%);
    position: relative;
    animation: pieRotate 1s ease-out;
}

@keyframes pieRotate {
    from { transform: rotate(-90deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}

.report-pie::after {
    content: '98%';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
}

/* Cards Demo */
.cards-demo {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.student-card-preview {
    background: linear-gradient(135deg, #0a3d5c, #1e7a9e);
    border-radius: 15px;
    padding: 20px;
    color: white;
    margin-bottom: 15px;
    transform-style: preserve-3d;
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(5deg); }
}

.card-logo-mini {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.card-student-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.card-photo-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-qr-mini {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    margin-top: 15px;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-qr-mini i {
    color: var(--dark);
    font-size: 1.5rem;
}

/* Feature Info Panel */
.feature-info-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 40px;
    color: white;
    height: 100%;
}

.feature-info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.feature-info-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.feature-info-desc {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.9;
    margin-bottom: 30px;
}

.feature-highlights {
    list-style: none;
    padding: 0;
}

.feature-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.feature-highlights li i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Feature Cards Grid - Enhanced */
.feature-card-modern {
    background: white;
    border-radius: 28px;
    padding: 45px 35px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card-modern:hover::before {
    transform: scaleX(1);
}

.feature-card-modern:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.2);
}

.feature-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card-modern:hover::after {
    opacity: 1;
}

.feature-icon-modern {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
}

.feature-icon-modern::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 26px;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(-5deg);
}

.icon-gradient-1 { background: linear-gradient(135deg, #2596be, #2596be); }
.icon-gradient-2 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.icon-gradient-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.icon-gradient-4 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.icon-gradient-5 { background: linear-gradient(135deg, #2596be, #1e7a9e); }
.icon-gradient-6 { background: linear-gradient(135deg, #2596be, #5bb8d8); }

.feature-card-modern h4 {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card-modern p {
    color: #64748b;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Premium Feature Badge */
.feature-card-modern.premium-feature {
    position: relative;
    border: 2px solid #f59e0b;
}

.feature-card-modern.premium-feature::before {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
}

.premium-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

.premium-badge i {
    font-size: 0.85rem;
}

.premium-note {
    display: block;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.85rem;
}

.premium-note i {
    margin-left: 5px;
    color: #f59e0b;
}

.premium-feature-notice {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #fef3c7, #fefce8);
    border: 2px dashed #f59e0b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #92400e;
}

.premium-feature-notice i {
    color: #f59e0b;
    font-size: 1.2rem;
}

/* Live Counter Demo */
.live-counter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #10b981, #059669);
    position: relative;
    overflow: hidden;
}

.live-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    margin-bottom: 30px;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.live-counter-display {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.live-number {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.live-label {
    font-size: 1.3rem;
    color: #64748b;
    margin-top: 10px;
}

.attendance-feed {
    background: white;
    border-radius: 20px;
    padding: 25px;
    max-height: 350px;
    overflow: hidden;
}

.feed-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feed-title i {
    color: var(--primary);
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #f8fafc;
    animation: feedSlide 0.5s ease;
}

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

.feed-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.feed-info h6 {
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

.feed-info small {
    color: #64748b;
}

.feed-status {
    margin-right: auto;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feed-status.present {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* How It Works - Modern */
.how-it-works-modern {
    padding: 120px 0;
    background: white;
    position: relative;
}

.steps-container {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.step-card-modern {
    text-align: center;
    position: relative;
    padding: 30px 20px;
}

.step-number-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.step-connector {
    position: absolute;
    top: 70px;
    right: 60%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), var(--primary));
    z-index: 1;
}

.step-card-modern h5 {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.step-card-modern p {
    color: #64748b;
    line-height: 1.7;
}

/* Hide connector on first step (appears last in RTL) */
.steps-container > .col-md-3:first-child .step-connector {
    display: none;
}

/* Testimonials - Modern */
.testimonials-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a3d5c 0%, #145a7a 50%, #1e7a9e 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-modern .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.testimonials-modern .section-title-modern,
.testimonials-modern .section-desc {
    color: white;
}

.testimonials-modern .section-desc {
    opacity: 0.8;
}

.testimonial-card-modern {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: -15px;
}

.testimonial-text-modern {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 30px;
}

.testimonial-author-modern {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-left: 15px;
}

.author-info h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.author-info span {
    color: #64748b;
    font-size: 0.95rem;
}

.author-rating {
    margin-top: 8px;
    color: #fbbf24;
}

/* Pricing Section - Embedded */
.pricing-embedded {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.pricing-embedded .section-title-modern {
    margin-bottom: 50px;
}

.pricing-card-embed {
    background: white;
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card-embed:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.pricing-card-embed.popular {
    border: 3px solid var(--primary);
    transform: scale(1.03);
}

.pricing-card-embed.popular:hover {
    transform: scale(1.03) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 8px 25px;
    border-radius: 0 0 15px 15px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-icon-embed {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.pricing-name-embed {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    text-align: center;
}

.pricing-price-embed {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    margin: 15px 0;
    text-align: center;
}

.pricing-price-embed span {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.pricing-features-embed {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.pricing-features-embed li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features-embed .fa-check {
    color: var(--success);
}

.pricing-features-embed .fa-times {
    color: #ccc;
}

.btn-pricing-embed {
    width: 100%;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.pricing-card-embed.popular .btn-pricing-embed {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
}

.pricing-card-embed.popular .btn-pricing-embed:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* CTA Section - Modern */
.cta-modern {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.cta-box-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 40px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box-modern::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-box-modern h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.cta-box-modern p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    position: relative;
}

.btn-cta-modern {
    background: white;
    color: var(--primary) !important;
    padding: 20px 50px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 60px;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.btn-cta-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

/* Footer - Modern */
.footer-modern {
    background: #0f0a1f;
    color: white;
    padding: 80px 0 40px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 25px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translateY(-3px);
    color: white;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links-modern {
    list-style: none;
    padding: 0;
}

.footer-links-modern li {
    margin-bottom: 15px;
}

.footer-links-modern a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-modern a:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-bottom-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .float-card { display: none; }
    .step-connector { display: none; }
    .section-title-modern { font-size: 2.3rem; }
    .feature-tabs { gap: 10px; }
    .feature-tab { padding: 12px 20px; font-size: 0.9rem; }
    .feature-tab span { display: none; }
    .feature-info-panel { margin-top: 40px; }
    .phone-mockup { transform: scale(0.9); }
    .live-number { font-size: 3.5rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .cta-box-modern { padding: 50px 25px; }
    .cta-box-modern h2 { font-size: 2rem; }
    .dashboard-mockup { margin-top: 50px; }
    .feature-showcase { padding: 60px 0; }
    .feature-tabs { flex-wrap: wrap; justify-content: center; }
    .feature-tab { padding: 10px 15px; }
    .phone-mockup { transform: scale(0.85); margin: 0 auto; }
    .feature-info-panel { padding: 25px; margin-top: 30px; }
    .feature-info-title { font-size: 1.5rem; }
    .feature-info-desc { font-size: 1rem; }
    .live-counter-section { padding: 50px 0; }
    .live-counter-display { padding: 30px 20px; }
    .live-number { font-size: 2.8rem; }
    .live-label { font-size: 1rem; }
    .attendance-feed { margin-top: 30px; }
    .feature-card-modern { padding: 30px 25px; }
    .feature-icon-modern { width: 70px; height: 70px; font-size: 1.8rem; }
}

@media (max-width: 575px) {
    .feature-tab i { font-size: 1.1rem; }
    .phone-mockup { transform: scale(0.75); }
    .feature-info-panel { border-radius: 20px; }
    .feature-highlights li { font-size: 0.95rem; }
}

/* Features Categories */
.features-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.category-title i {
    margin-left: 10px;
    color: var(--primary);
}
