/* ========================================
   [core] IT - Professional Website Styles
   Color Scheme: Blue/Orange Professional
   Design: Neomorphic + Glassmorphic
   ======================================== */

:root {
    /* Primary Colors */
    --primary-blue: #0066CC;
    --primary-orange: #FF6B35;
    --secondary-blue: #4A90E2;
    --secondary-orange: #FF8C61;

    /* Backgrounds */
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --bg-gray-50: #F9FAFB;
    --bg-gray-100: #F3F4F6;

    /* Text Colors */
    --text-dark: #1A1A1A;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;

    /* Accent Colors */
    --accent-blue-light: #E6F2FF;
    --accent-orange-light: #FFE8E0;

    /* Shadows for Neomorphic Design */
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    --neo-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
    --neo-shadow-inset: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
}

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

/* ========================================
   Progress Bar
   ======================================== */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo a:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    white-space: nowrap;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu li a:hover {
    color: var(--primary-blue);
}

.nav-menu li a:hover::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ========================================
   Hero Section
   ======================================== */

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#home::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue-light) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

#home::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-orange-light) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    opacity: 0.5;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-15px, 15px) rotate(-5deg); }
    75% { transform: translate(15px, 10px) rotate(3deg); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.hero-title {
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--neo-shadow);
}

.btn-secondary:hover {
    background: var(--bg-white);
    transform: translateY(-3px);
}

.btn-orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Ripple Effect */
.btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */

#services {
    background: var(--bg-white);
    padding: var(--spacing-xl) 0;
}

/* ========================================
   Service Cards
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--neo-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-orange-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary-blue);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.ai-card p,
.glass-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ========================================
   Glass Cards
   ======================================== */

.glass-card {
    background: var(--bg-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-height: 280px;
}

.glass-card:hover {
    background: var(--bg-white);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.glass-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.glass-card p {
    margin-bottom: var(--spacing-md);
}

.glass-card ul {
    list-style: none;
    padding: 0;
}

/* ========================================
   AI Section
   ======================================== */

#ai {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray-50) 100%);
    padding: var(--spacing-xl) 0;
}

#communigate {
    background: var(--bg-white);
    padding: var(--spacing-xl) 0;
}

#testimonials {
    background: var(--bg-gray-50);
    padding: var(--spacing-xl) 0;
}

#contact {
    background: var(--bg-white);
    padding: var(--spacing-xl) 0;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.ai-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--neo-shadow);
    transition: var(--transition-smooth);
    border: 2px solid var(--bg-gray-100);
    min-height: 400px;
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.ai-card h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.ai-card p {
    margin-bottom: var(--spacing-md);
}

.ai-card ul {
    list-style: none;
    padding: 0;
}

.ai-card li {
    padding: var(--spacing-xs) 0;
    color: var(--text-gray);
    position: relative;
    padding-left: var(--spacing-md);
}

.ai-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   Value Proposition Cards
   ======================================== */

.value-proposition-section {
    background: linear-gradient(135deg, var(--bg-gray-50) 0%, var(--bg-white) 100%);
    padding: var(--spacing-xl) 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--neo-shadow);
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.2);
    border-color: var(--primary-blue);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    transition: var(--transition-bounce);
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(10deg);
}

.value-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--neo-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--accent-blue-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Tech Stack
   ======================================== */

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.tech-item {
    background: var(--bg-white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--neo-shadow);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.tech-item:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    width: 30px;
    height: 30px;
}

.tech-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: var(--spacing-xs);
    filter: grayscale(30%);
    transition: var(--transition-smooth);
}

.tech-item:hover .tech-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.hardware-logos .tech-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.tech-name {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   Contact Form
   ======================================== */

#contact {
    background: var(--bg-white);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.contact-item-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--neo-shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--bg-gray-100);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    background: var(--bg-gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

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

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition-smooth);
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .services-grid,
    .ai-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.animated {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.parallax {
    transition: transform 0.3s ease-out;
}

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

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}
