/* ===================================================================
   INTELLECTIA.AI INSPIRED REBRAND STYLESHEET
   - Dark theme with bright blue accents (#00A3FF)
   - Roboto typography 
   - Modern, clean, tech-focused aesthetic
   - Responsive design for all devices
   =================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ===================================================================
   ROOT VARIABLES - INTELLECTIA.AI COLOR PALETTE
   =================================================================== */
:root {
    /* Primary Colors */
    --primary-bg: #000000;
    --primary-text: #ffffff;
    --accent-primary: #00A3FF;
    --accent-secondary: #0080CC;
    --accent-success: #00D084;
    --accent-danger: #FF4444;
    
    /* Secondary Colors */
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --border-color: #333333;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 163, 255, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 163, 255, 0.15);
    --shadow-heavy: 0 8px 40px rgba(0, 163, 255, 0.25);
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Typography */
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

/* ===================================================================
   GLOBAL RESET & BASE STYLES
   =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--primary-text);
    background: var(--primary-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===================================================================
   TYPOGRAPHY - INTELLECTIA.AI INSPIRED
   =================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-text) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ===================================================================
   LAYOUT COMPONENTS
   =================================================================== */

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

/* Sections */
section {
    padding: 80px 0;
    background: var(--primary-bg);
}

section:nth-child(even) {
    background: var(--secondary-bg);
}

/* ===================================================================
   HEADER & NAVIGATION - INTELLECTIA.AI STYLE
   =================================================================== */
header,
.header,
nav,
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container,
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* Logo */
.logo,
.nav-logo,
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    text-decoration: none;
}

.logo img,
.nav-logo img {
    height: 40px;
    width: auto;
}

/* Navigation Menu */
.nav-menu,
.navbar-nav,
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item,
.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-link:hover,
.nav-item.active,
.nav-link.active {
    color: var(--accent-primary);
    background: rgba(0, 163, 255, 0.1);
}

/* Mobile Menu Toggle */
.hamburger,
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span,
.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-text);
    transition: all 0.3s ease;
}

/* ===================================================================
   HERO SECTION - INTELLECTIA.AI INSPIRED
   =================================================================== */
.hero,
.hero-section {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 163, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content,
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title,
.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle,
.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons,
.hero .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ===================================================================
   BUTTONS - INTELLECTIA.AI STYLE
   =================================================================== */
button,
.btn,
.button,
input[type="submit"],
input[type="button"] {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* Primary Button */
.btn-primary,
.cta-button,
.primary-btn {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover,
.cta-button:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* Secondary Button */
.btn-secondary,
.secondary-btn {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Button Sizes */
.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ===================================================================
   CARDS & COMPONENTS - INTELLECTIA.AI STYLE
   =================================================================== */
.card,
.feature-card,
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.card-header,
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.card-content,
.card-body {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Grid Layouts */
.grid,
.features-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* ===================================================================
   FORMS - INTELLECTIA.AI STYLE
   =================================================================== */
form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

input,
textarea,
select {
    font-family: var(--font-family);
    font-size: 1rem;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--secondary-bg);
    color: var(--primary-text);
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

/* ===================================================================
   TABLES - INTELLECTIA.AI STYLE
   =================================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--secondary-bg);
    color: var(--primary-text);
    font-weight: 600;
}

td {
    color: var(--text-secondary);
}

tr:hover {
    background: rgba(0, 163, 255, 0.05);
}

/* ===================================================================
   FOOTER - INTELLECTIA.AI STYLE
   =================================================================== */
footer,
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    text-align: center;
}

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

.footer-section h4 {
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--text-muted);
}

/* ===================================================================
   ANIMATIONS & TRANSITIONS
   =================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===================================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================================================== */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-bg);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */
.text-center {
    text-align: center;
}

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

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

.text-primary {
    color: var(--accent-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.bg-primary {
    background: var(--primary-bg);
}

.bg-secondary {
    background: var(--secondary-bg);
}

.bg-card {
    background: var(--card-bg);
}

.border-primary {
    border-color: var(--accent-primary);
}

.shadow-light {
    box-shadow: var(--shadow-light);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

.shadow-heavy {
    box-shadow: var(--shadow-heavy);
}

.rounded {
    border-radius: var(--border-radius);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-xl {
    border-radius: var(--border-radius-xl);
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.justify-center {
    justify-content: center;
}

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

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }

/* ===================================================================
   END OF INTELLECTIA.AI REBRAND STYLESHEET
   =================================================================== */