/* Smart Kantemba Online Platform - Role-Based Dashboard Styles */

:root {
    /* Color Palette */
    --primary: #009640;
    --primary-dark: #007a33;
    --primary-light: #E6F4EB;
    --primary-xlight: #f0faf5;
    --secondary: #3B82F6;
    --accent: #8B5CF6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --dark: #1E293B;
    --light: #F8FAFC;
    --gray: #64748B;
    --white: #FFFFFF;
    --accent-gold: #FFD700;
    --zra-blue: #003366;
    --zra-gold: #C4A44E;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary) 0%, #1D4ED8 100%);
    --zra-gradient: linear-gradient(135deg, var(--zra-blue) 0%, #005599 100%);
    --gold-gradient: linear-gradient(135deg, var(--accent-gold) 0%, var(--zra-gold) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(0, 150, 64, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-zra: 0 8px 30px rgba(0, 51, 102, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Fonts */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Splash Screen Styles */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: var(--font-heading);
    z-index: 9999;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.splash::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 40%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.1) 80%, transparent 80%);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

.splash-logo {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    animation: float 3s ease-in-out infinite, pulseGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.splash-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 30px 0;
    overflow: hidden;
}

.splash-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.splash-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    max-width: 80%;
    line-height: 1.5;
    opacity: 0.9;
}

.splash.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

/* Splash-like Background for Login Page */
.splash-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    z-index: 1;
    overflow: hidden;
}

.splash-grid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 40%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.1) 80%, transparent 80%);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

/* Login Overlay */
.login-overlay {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 500px;
    height: calc(100vh - 40px);
    display: flex;
    align-items: center;
}

.login-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    max-height: 90vh;
    height: auto;
    animation: slideInRight 0.5s ease;
}

.login-header {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.login-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.login-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.role-selection {
    margin: 2rem 0;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.role-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    height: 120px;
}

.role-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.role-btn.active {
    background: rgba(255, 215, 0, 0.3);
    color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.role-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #FFD700;
}

.role-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.login-form {
    padding: 0 25px 25px;
    overflow-y: auto;
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 150, 64, 0.1);
}

.credentials-info {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 25px 0;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 150, 64, 0.15);
    max-height: none;
    overflow-y: visible;
}

.credentials-info p {
    margin: 10px 0;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}

.copy-hint {
    font-size: 0.9rem !important;
    font-style: italic;
    color: var(--gray) !important;
    margin-top: 5px !important;
}

.credentials-info span {
    font-weight: 700;
    color: var(--primary-dark);
}

.role-credentials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.credential-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.credential-item:last-child {
    border-bottom: none;
}

.role-label {
    font-weight: 500;
    color: var(--dark);
}

.role-username {
    font-family: monospace;
    background-color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid var(--primary);
}

.role-username:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 150, 64, 0.3);
}

.role-username.selected {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.8);
}

/* Landing Page Styles */
.landing-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

.landing-header {
    background: var(--primary-gradient);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.landing-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 40%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.1) 80%, transparent 80%);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

.header-content .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.header-content .logo i {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.header-content h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    background: white;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
}

.hero-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--gray);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(-1px);
}

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

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

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.section {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .section.two-col {
        grid-template-columns: 1fr;
    }
}

.section-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-content .lead {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.section-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark);
}

.section-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.check-list {
    list-style: none;
    margin: 1.5rem 0;
}

.check-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #eee;
}

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

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-tags span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-tags span.in-view {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--delay, 0) * 0.1s);
}

.feature-tags span:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.device-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    perspective: 1000px;
}

.device-mockup i {
    font-size: 10rem;
    color: var(--primary);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.device-mockup.web i {
    color: var(--secondary);
}

/* ZRA Highlight Section */
.zra-highlight-section {
    background: linear-gradient(135deg, var(--zra-blue) 0%, #004080 100%);
    color: white;
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

.zra-highlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><rect fill="rgba(255,255,255,0.03)" width="100" height="100"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
}

.zra-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.zra-icon {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    animation: pulseGlow 3s ease-in-out infinite;
}

.zra-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.zra-content .lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.zra-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.zra-feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.3);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin: 0;
}

.feature-content p {
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.zra-benefits {
    margin: 4rem 0;
    text-align: left;
}

.zra-benefits h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-gold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.benefit h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.benefit h4 i {
    font-size: 1.5rem;
}

.benefit p {
    line-height: 1.6;
}

.zra-specific-benefits {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zra-specific-benefits h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.benefits-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.benefit-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Benefits Overview */
.benefits-overview {
    padding: 5rem 1rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-overview h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefits-overview p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

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

.benefit-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--gray);
}

/* Stakeholder Benefits */
.stakeholder-benefits {
    padding: 5rem 1rem;
    background: var(--light);
    max-width: 1200px;
    margin: 0 auto;
}

.stakeholder-benefits h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.stakeholder-tabs {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}

.tab-button {
    flex: 1;
    min-width: 120px;
    padding: 1.2rem;
    background: #f8fafc;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #eee;
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover {
    background: #e2e8f0;
}

.tab-button.active {
    background: var(--primary-gradient);
    color: white;
}

.stakeholder-content {
    padding: 2rem;
}

.stakeholder-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stakeholder-content h3 i {
    font-size: 1.5rem;
}

.stakeholder-content ul {
    list-style: none;
    margin: 1.5rem 0;
}

.stakeholder-content li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #eee;
}

.stakeholder-content li:last-child {
    border-bottom: none;
}

.stakeholder-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.stakeholder-content strong {
    color: var(--primary-dark);
}

.data-insights {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    border-left: 4px solid var(--primary);
}

.data-insights h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.data-insights p {
    line-height: 1.6;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Technology Overview */
.technology-overview {
    padding: 5rem 1rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.technology-overview h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.technology-overview p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--gray);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(30px);
}

.tech-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

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

.tech-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><rect fill="rgba(255,255,255,0.05)" width="100" height="100"/></svg>');
    background-size: 30px 30px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.cta-section .cta-buttons {
    position: relative;
    z-index: 2;
}

.cta-section .btn {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* README Section */
.readme-section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 3rem auto;
    opacity: 0;
    transform: translateY(30px);
}

.readme-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.readme-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.steps {
    list-style: none;
    counter-reset: step-counter;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.steps li {
    counter-increment: step-counter;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    margin-bottom: 1rem;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    position: relative;
    border-left: 4px solid var(--primary);
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.steps strong {
    color: var(--primary-dark);
}

.note {
    text-align: center;
    padding: 1.5rem;
    background: #fff8e6;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--warning);
    max-width: 800px;
    margin: 2rem auto 0;
}

.note a {
    color: var(--primary-dark);
    font-weight: 600;
}

.note a:hover {
    text-decoration: underline;
}

/* Footer */
.landing-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 1rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: #cbd5e1;
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #94a3b8;
}

/* Floating Download Bar */
.floating-download-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10000;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
}

.floating-download-bar .bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 6px 10px;
}

.bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bar-btn i { opacity: 0.9; }

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

.bar-btn.android { background: #3DDC84; color: #0b3d20; }
.bar-btn.windows { background: #00A4EF; }
.bar-btn.ios { background: #111827; }
.bar-btn.web { background: #3B82F6; }
.bar-btn.platform { background: #8B5CF6; }

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotateY(-10deg) rotateX(5deg);
    }
    50% {
        transform: translateY(-20px) rotateY(-10deg) rotateX(5deg);
    }
    100% {
        transform: translateY(0px) rotateY(-10deg) rotateX(5deg);
    }
}

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

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

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

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

.float-alt {
    animation: floatAlt 8s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .section-content h2 {
        font-size: 1.8rem;
    }
    
    .zra-content h2 {
        font-size: 2rem;
    }
    
    .zra-content .lead {
        font-size: 1.1rem;
    }
    
    .zra-feature-row {
        grid-template-columns: 1fr;
    }
    
    .floating-download-bar {
        bottom: 10px;
        padding: 8px 15px;
        gap: 10px;
        border-radius: 40px;
    }
    
    .bar-btn {
        font-size: 10px;
        padding: 6px 10px;
    }
    
    .bar-btn i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .tab-button:last-child {
        border-bottom: none;
    }
    
    .floating-download-bar {
        width: 95%;
        gap: 5px;
        padding: 6px 10px;
    }
    
    .bar-btn {
        font-size: 9px;
        padding: 5px 8px;
    }
    
    .bar-btn i {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .bar-btn span {
        display: none;
    }
    
    .bar-btn.platform span {
        display: inline;
    }
}

/* Section Badges */
.section-badge {
    margin-bottom: 1rem;
}

.badge-mobile, .badge-web {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-mobile {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
}

.badge-web {
    background: rgba(0, 150, 64, 0.1);
    color: var(--primary);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.highlight-icon {
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.highlight-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

/* App Download Buttons */
.app-download {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Device Mockup Container */
.device-mockup-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.device-mockup {
    position: relative;
    width: 250px;
    height: 500px;
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
}

.device-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #111827;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.1);
    border: 12px solid #111827;
    z-index: 1;
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: #374151;
    border-radius: 4px;
    z-index: 2;
}

.screen {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 18px;
    overflow: hidden;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

.screen-content {
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    font-size: 0.8rem;
    color: #64748b;
}

.icons {
    display: flex;
    gap: 5px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    text-align: center;
    justify-content: center;
}

.app-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.app-header h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-card .value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--gray);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.action-button {
    background: white;
    border-radius: 12px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
}

.action-button i {
    font-size: 1.5rem;
    color: var(--primary);
}

.action-button span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    transform: rotateY(10deg) rotateX(5deg);
    animation: float 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.dashboard-content {
    padding: 1.5rem;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget {
    background: var(--light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.widget-header h4 {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
}

.widget-header i {
    color: var(--primary);
}

.widget-chart {
    padding: 1rem;
    background: white;
}

.chart-placeholder {
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: 10px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 100%;
}

.bar {
    width: 20px;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    min-height: 5px;
}

.widget-list {
    padding: 1rem;
    background: white;
}

.list-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item .value {
    font-weight: 600;
    color: var(--primary);
}

.dashboard-notifications {
    display: grid;
    gap: 1rem;
}

.notification-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.notification-card i {
    font-size: 1.5rem;
    color: var(--primary);
    align-self: flex-start;
}

.notification-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--dark);
}

.notification-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Responsive adjustments for mockups */
@media (max-width: 992px) {
    .device-mockup {
        width: 200px;
        height: 400px;
    }
    
    .dashboard-mockup {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
    }
    
    .app-download {
        flex-direction: column;
    }
    
    .device-mockup {
        width: 160px;
        height: 320px;
    }
    
    .screen-content {
        padding: 10px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}