/* =========================================
   Variables & General
   ========================================= */
:root {
    /* Brand Colors based on Logo (#7e3af2 roughly) */
    --primary: #7e3af2;
    --primary-light: #9f64f5;
    --primary-dark: #6025c0;
    
    /* Backgrounds & Surfaces */
    --bg-main: #0f0a1c;
    --bg-surface: #1a1230;
    --bg-surface-glass: rgba(26, 18, 48, 0.7);
    --bg-surface-glass-light: rgba(126, 58, 242, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3a5d1;
    --text-muted: #8475a8;
    
    /* Accents */
    --accent: #00e5ff; /* Cyan accent for high-tech feel */
    --success: #22c55e;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Borders & Shadows */
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(126, 58, 242, 0.4);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.text-center { text-align: center; }
.section-subtitle {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.header-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto 2rem auto;
    border-radius: 2px;
}
.header-line.left { margin-left: 0; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(126, 58, 242, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 10, 28, 0.9);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-it {
    background: white;
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 8px 8px 0 8px; /* Based on logo shape approx */
    font-size: 1.8rem;
    line-height: 1;
    display: inline-block;
}

.logo-text {
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-login)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-links a:not(.btn-login):hover::after {
    width: 100%;
}

.btn-login {
    background: rgba(126, 58, 242, 0.2);
    border: 1px solid var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: var(--primary);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 12rem 0 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary-dark);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(0, 229, 255, 0.2);
    animation-delay: -5s;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-surface-glass-light);
    border: 1px solid rgba(126, 58, 242, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Glassmorphism Card for Hero */
.glass-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.glass-header .dots {
    display: flex;
    gap: 6px;
    margin-bottom: 2rem;
}

.glass-header .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4a3e63;
}
.glass-header .dots span:nth-child(1) { background: #ff5f56; }
.glass-header .dots span:nth-child(2) { background: #ffbd2e; }
.glass-header .dots span:nth-child(3) { background: #27c93f; }

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

.pulse-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 10px;
    animation: fillBar 2s ease-out;
}

.status {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.green {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(126, 58, 242, 0.15), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(126, 58, 242, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.service-card:hover::after {
    opacity: 1;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--bg-surface-glass-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(126, 58, 242, 0.2);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(26, 18, 48, 0.5) 100%);
    border-top: 1px solid var(--border-color);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 28, 0.8), transparent);
}

.glass-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    font-weight: 600;
}

.glass-overlay i {
    font-size: 1.5rem;
    color: var(--accent);
}

.accent-box {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 20px;
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-content .lead {
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.about-features i {
    color: var(--success);
    background: rgba(34, 197, 94, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: #0a0614;
    padding-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid var(--border-color);
}

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

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   Animations
   ========================================= */
@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fillBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero-container, .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .header-line { margin: 0 auto 2rem auto !important; }
    
    .hero-content p { margin: 0 auto 2.5rem auto; }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-brand p { margin: 1.5rem auto 0 auto; }
    
    .social-links { justify-content: center; }
    
    .footer-contact li { justify-content: center; }
    
    .accent-box { display: none; }
    .about-features li { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 10, 28, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu-btn { display: block; }
    
    h1 { font-size: 2.2rem; }
    .hero { padding-top: 8rem; }
}
