/* Mobile App Styles - DataCore Mobile */
:root {
    --primary-dark: #0a0a0f;
    --secondary-dark: #12121a;
    --card-bg: #1a1a24;
    --border-color: rgba(255, 255, 255, 0.08);
    --cyan-bright: #00d4ff;
    --purple-glow: #8b5cf6;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --gray-100: #f5f5f5;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --bottom-nav-height: 60px;
    --status-bar-height: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-dark);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Status Bar */
.mobile-status-bar {
    height: var(--status-bar-height);
    background: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-right i {
    font-size: 14px;
}

/* App Header */
.mobile-header {
    position: fixed;
    top: var(--status-bar-height);
    left: 0;
    right: 0;
    height: 56px;
    background: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
}

.mobile-header .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.mobile-header .logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-header .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-header .header-actions button {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.mobile-header .header-actions button:hover {
    color: var(--cyan-bright);
    background: rgba(0, 212, 255, 0.1);
}

/* Main Content Area */
.mobile-content {
    padding-top: calc(var(--status-bar-height) + 56px);
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
    min-height: 100vh;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: var(--secondary-dark);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.3s;
    min-width: 64px;
}

.bottom-nav a i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav a.active {
    color: var(--cyan-bright);
}

.bottom-nav a:hover {
    color: var(--cyan-bright);
}

/* Drawer Menu */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--secondary-dark);
    z-index: 1002;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.drawer-menu.active {
    left: 0;
}

.drawer-header {
    padding: 40px 20px 24px;
    background: var(--gradient-primary);
    text-align: center;
}

.drawer-header .drawer-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.drawer-header p {
    font-size: 12px;
    opacity: 0.8;
}

.drawer-nav {
    padding: 16px 0;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    color: var(--gray-300);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan-bright);
    border-left-color: var(--cyan-bright);
}

.drawer-nav a i {
    width: 24px;
    font-size: 18px;
    text-align: center;
}

.drawer-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 24px;
}

.drawer-section-title {
    padding: 12px 24px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 2.5s forwards;
}

.splash-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

.splash-logo svg {
    width: 100%;
    height: 100%;
}

.splash-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.splash-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.splash-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.splash-loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--cyan-bright);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Hero Section Mobile */
.mobile-hero {
    padding: 24px 16px;
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.mobile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h60v60H0z" fill="none"/%3E%3Ccircle cx="30" cy="30" r="1" fill="%2300d4ff" opacity="0.3"/%3E%3C/svg%3E');
    opacity: 0.5;
}

.mobile-hero-content {
    position: relative;
    z-index: 1;
}

.mobile-hero .label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--cyan-bright);
    background: rgba(0, 212, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.mobile-hero h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.mobile-hero h1 .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-hero p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mobile-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--cyan-bright);
    border: 1px solid var(--cyan-bright);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-300);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* Stats Cards */
.mobile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 16px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-bright);
    font-size: 20px;
}

.stat-card .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--cyan-bright);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

/* Section Styles */
.mobile-section {
    padding: 24px 16px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header .label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--cyan-bright);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.section-header h2 .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 8px;
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:active {
    transform: scale(0.98);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    font-size: 20px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
}

.service-card .service-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 24px;
}

.service-card .service-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-card .service-content p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Certification Badges */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cert-badge {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.cert-badge .cert-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-bright);
    font-size: 24px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.cert-badge h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan-bright);
    margin-bottom: 4px;
}

.cert-badge p {
    font-size: 11px;
    color: var(--gray-500);
}

/* CTA Banner */
.mobile-cta {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 24px 20px;
    margin: 20px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mobile-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.mobile-cta h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.mobile-cta p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
    position: relative;
}

.mobile-cta .btn {
    position: relative;
}

/* Location Cards */
.location-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.location-card .location-image {
    height: 140px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card .location-image i {
    font-size: 48px;
    opacity: 0.3;
}

.location-card .location-content {
    padding: 16px;
}

.location-card .location-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.location-card .location-content p {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan-bright);
    border-radius: 20px;
}

/* Pricing Cards */
.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border-color: var(--cyan-bright);
}

.pricing-card.popular::before {
    content: 'POPULAR';
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 40px;
    transform: rotate(45deg);
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--cyan-bright);
    margin-bottom: 4px;
}

.pricing-card .price span {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 400;
}

.pricing-card .price-desc {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.pricing-features {
    margin-bottom: 20px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-300);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--cyan-bright);
    font-size: 14px;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-300);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyan-bright);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 32px 16px;
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.about-hero h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-hero p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--cyan-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan-bright);
}

.timeline-year {
    font-size: 12px;
    font-weight: 600;
    color: var(--cyan-bright);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--gray-400);
}

/* Security Page */
.security-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.security-feature .security-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--cyan-bright);
    font-size: 20px;
}

.security-feature h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.security-feature p {
    font-size: 13px;
    color: var(--gray-400);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 4px;
}

/* Utilities */
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.p-0 { padding: 0; }

/* Responsive adjustments */
@media (max-width: 360px) {
    .mobile-hero h1 {
        font-size: 20px;
    }
    
    .mobile-stats {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-nav a {
        min-width: 56px;
        padding: 8px 8px;
    }
    
    .bottom-nav a span {
        font-size: 9px;
    }
}

@media (min-width: 400px) {
    .mobile-hero h1 {
        font-size: 26px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image Placeholder for demo */
.image-placeholder {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--secondary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 32px;
    min-height: 160px;
    border: 1px solid var(--border-color);
}

/* Swiper/Carousel styles */
.image-carousel {
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    display: flex;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.image-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.carousel-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.carousel-item .carousel-content {
    padding: 16px;
}

.carousel-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.carousel-item p {
    font-size: 12px;
    color: var(--gray-500);
}
