/* ===================================
   IT-TI Website Styles
   Design: Variant A - Tech Blue
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Tech Blue Scheme */
    --primary: #0066CC;
    --primary-dark: #0052A3;
    --primary-light: #3D8BE6;
    --secondary: #00D4FF;
    --accent: #FF6B35;
    
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #999999;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #EFF6FF;
    
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.logo-hexagon {
    width: 48px;
    height: 48px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-secondary);
    max-width: 180px;
    line-height: 1.3;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.nav-link-cta {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
}

.nav-link-cta:hover {
    background: var(--primary-dark);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    background-image: 
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge svg {
    color: var(--secondary);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Problems Section */
.problems {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 48px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.problem-arrow {
    font-size: 24px;
    color: var(--primary);
    margin: 12px 0;
}

.solution-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 12px;
}

.service-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, white 100%);
    padding: 48px;
    border-radius: 24px;
    margin-bottom: 48px;
    border: 2px solid var(--primary-light);
}

.service-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.service-title {
    font-size: 36px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.service-icon {
    color: var(--primary);
}

.service-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-primary);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 18px;
}

.service-meta {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.service-featured-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.automation-graphic {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.automation-node {
    background: var(--primary);
    color: white;
    padding: 24px 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

.automation-flow {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border-light);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-card-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-card-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-card-meta {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.why-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.why-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

.why-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.value-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.expertise {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.expertise-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 32px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.tech-item {
    background: var(--bg-tertiary);
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Process Section */
.process {
    padding: var(--section-padding) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-connector {
    align-self: center;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    margin-top: 40px;
}

/* References Section */
.references {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.reference-card {
    background: white;
    padding: 48px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.reference-logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.reference-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-intro {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--primary);
}

.contact-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-value a {
    color: var(--primary);
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.captcha-question {
    background: var(--bg-tertiary);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 18px;
}

.captcha-wrapper input {
    flex: 1;
    min-width: 150px;
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #D1FAE5;
    color: #065F46;
}

.form-message.error {
    display: block;
    background: #FEE2E2;
    color: #991B1B;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo .footer-hexagon {
    width: 40px;
    height: 40px;
}

.footer-logo .footer-hexagon path {
    fill-opacity: 0.15;
    stroke: rgba(255, 255, 255, 0.8);
}

.footer-logo .footer-hexagon circle {
    stroke: rgba(0, 212, 255, 0.8);
    fill: rgba(0, 212, 255, 0.8);
}

.footer-logo .footer-hexagon line {
    stroke: rgba(0, 212, 255, 0.8);
}

.footer-text .logo-text {
    font-size: 28px;
    color: white;
    margin-bottom: 4px;
}

.footer-logo p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 200px;
}

.footer-copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-featured {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .process-connector {
        width: 2px;
        height: 60px;
        margin: 0 auto;
        background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .service-title {
        font-size: 28px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-tagline {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
