/* Modern Tech Theme - Design 2.0 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #2563eb;       /* Vibrant Blue */
    --primary-dark: #1e40af;  /* Deep Blue */
    --secondary: #06b6d4;     /* Cyan Accent */
    --accent: #f59e0b;        /* Gold/Amber for highlights */
    
    --bg-body: #f8fafc;       /* Very light slate */
    --bg-white: #ffffff;
    --bg-dark: #0f172a;       /* Slate 900 */
    --bg-glass: rgba(255, 255, 255, 0.8);
    
    --text-main: #1e293b;     /* Slate 800 */
    --text-light: #64748b;    /* Slate 500 */
    --text-white: #f8fafc;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { width: 100%; height: auto; display: block; object-fit: cover; }

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

/* Typography */
h1, h2, h3, h4, h5 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
    width: 180px;
    /* height: 50px; */
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

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

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 120px;
    background: var(--bg-dark);
    color: var(--text-white);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    z-index: 0;
}

/* Abstract Grid Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(120deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.hero-content p {
    font-size: 1.125rem;
    color: #cbd5e1; /* Light Slate */
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.8;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition);
}

.hero-visual:hover img {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Stats Bar */
.stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 80px;
}

.stats-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-box {
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e2e8f0;
}

.stat-box strong {
    font-size: 2.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: inline-block;
}

.stat-box span {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-box p {
    margin: 5px 0 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Section General */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    color: var(--bg-dark);
}

.title-bar {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 15px auto;
}

.section-title.left .title-bar {
    margin: 15px 0;
}

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

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.sol-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    group: sol-card;
}

.sol-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}

.sol-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.sol-img img {
    transition: transform 0.6s ease;
}

.sol-card:hover .sol-img img {
    transform: scale(1.05);
}

.sol-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0.9;
}

.sol-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: auto; /* Push icon to top left if desired, or remove to bottom */
    position: absolute;
    top: 20px;
    right: 20px;
}

.sol-info {
    padding: 30px;
}

.sol-info h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--bg-dark);
}

.sol-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sol-info ul {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.sol-info li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sol-info li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Services Section */
.bg-gray {
    background-color: #f1f5f9;
}

.row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.col-text, .col-img { flex: 1; }

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.srv-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.srv-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
    transform: translateY(-3px);
}

.srv-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.srv-desc h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--bg-dark);
}

.srv-desc p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.img-frame img {
    transition: transform 0.5s;
}

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

.floating-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: var(--bg-white);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    color: var(--accent);
    font-size: 2rem;
}

.floating-badge span {
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 1rem;
}

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

/* About Section */
.about-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    color: var(--text-white);
    display: flex;
    box-shadow: var(--shadow-2xl);
}

.about-content {
    flex: 1;
    padding: 80px 60px;
}

.about-content h2 { color: var(--text-white); margin-bottom: 1.5rem; }
.about-content p { color: #94a3b8; margin-bottom: 1.5rem; font-size: 1.05rem; }
.about-content .lead { color: var(--secondary); font-size: 1.25rem; font-weight: 500; }

.about-visual {
    flex: 0.8;
    position: relative;
    min-height: 400px;
}

.about-visual img {
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: #0b1120; /* Darker than slate 900 */
    color: #94a3b8;
    padding-top: 80px;
    border-top: 1px solid #1e293b;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.f-logo {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand p { color: #64748b; font-size: 0.95rem; }

.footer-nav h4, .footer-contact h4, .footer-qrcode h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-nav li { margin-bottom: 12px; }
.footer-nav a { color: #94a3b8; transition: var(--transition); }
.footer-nav a:hover { color: var(--secondary); padding-left: 5px; }

.footer-contact p {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #94a3b8;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.qr-img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    border: 4px solid #1e293b;
    margin-bottom: 15px;
}

.qr-caption {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 150px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-bg-overlay { opacity: 0.5; }
    
    .stats-wrapper { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .stat-box:not(:last-child)::after { display: none; }
    
    .row { flex-direction: column; }
    .service-list { grid-template-columns: 1fr; }
    
    .about-card { flex-direction: column; }
    .about-visual { height: 300px; width: 100%; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .floating-badge { left: 50%; transform: translateX(-50%); bottom: -20px; width: max-content; }
}
