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

:root {
    --primary-color: #0066FF;
    --secondary-color: #00C2FF;
    --dark-bg: #0A0E27;
    --dark-secondary: #1A1F3A;
    --text-primary: #FFFFFF;
    --text-secondary: #A8B2D1;
    --accent-gradient: linear-gradient(135deg, #0066FF 0%, #00C2FF 100%);
    --section-padding: 100px 5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    padding: 12px 28px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--section-padding);
    padding-top: 120px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

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

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-button {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.about-skills h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--dark-secondary);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.skill-icon {
    font-size: 32px;
}

.skill-item span {
    font-size: 16px;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-bg) 100%);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.portfolio-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    padding: 8px 20px;
    background: var(--accent-gradient);
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info {
    padding: 30px;
}

.portfolio-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.portfolio-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.portfolio-tech span {
    padding: 6px 14px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 6px;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 500;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

.portfolio-link.primary {
    background: var(--accent-gradient);
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.portfolio-link.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.4);
}

.portfolio-features {
    margin: 24px 0;
    padding: 20px;
    background: rgba(0, 102, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
}

.portfolio-features h4 {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.portfolio-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.portfolio-features strong {
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.portfolio-cta strong {
    color: var(--secondary-color);
    font-weight: 600;
}

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

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 20px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.service-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Ecosystem Section */
.ecosystem {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-bg) 100%);
    position: relative;
    overflow: visible;
}

.ecosystem-graph {
    max-width: 1400px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position: relative;
}

/* Core Node (AlttabCorp) */
.graph-core {
    position: relative;
    z-index: 10;
}

.core-node {
    background: var(--accent-gradient);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px 60px;
    text-align: center;
    box-shadow: 
        0 0 60px rgba(0, 102, 255, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3);
    animation: coreGlow 3s ease-in-out infinite;
    position: relative;
}

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

.core-node h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.core-node span {
    font-size: 16px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

@keyframes coreGlow {
    0%, 100% { 
        box-shadow: 
            0 0 60px rgba(0, 102, 255, 0.4),
            0 20px 40px rgba(0, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 80px rgba(0, 102, 255, 0.6),
            0 20px 40px rgba(0, 0, 0, 0.3);
    }
}

/* Verticals Grid */
.graph-verticals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    position: relative;
}

/* Vertical Branch */
.vertical-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Vertical Node */
.vertical-node {
    position: relative;
    z-index: 5;
}

.vertical-node .connector-line {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.vertical-node .node-content {
    background: var(--dark-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 24px 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.vertical-node .node-content:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.vertical-node .node-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.vertical-node h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Project Nodes */
.project-nodes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.project-node {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    padding: 14px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.project-node span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.project-node:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.project-node:hover span {
    color: var(--secondary-color);
}

/* Add connector dots */
.project-node::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
}

/* Legend */
.ecosystem-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 24px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot.core {
    background: var(--accent-gradient);
    border: 2px solid var(--primary-color);
}

.legend-dot.vertical {
    background: var(--dark-secondary);
    border: 2px solid var(--primary-color);
}

.legend-dot.project {
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.5);
}

.ecosystem-description {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ecosystem-description p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.ecosystem-description strong {
    color: var(--secondary-color);
    font-weight: 600;
}

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

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step-content {
    flex: 1;
    background: var(--dark-secondary);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.process-step-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.process-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.process-step h3 {
    font-size: 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.process-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.process-details {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-details h4 {
    font-size: 14px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    margin-top: 20px;
}

.process-details h4:first-child {
    margin-top: 0;
}

.process-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-details ul li {
    padding: 8px 0 8px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    line-height: 1.6;
}

.process-details ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.deliverables li::before {
    content: '';
}

.deliverables li {
    padding-left: 0;
    font-weight: 500;
    color: var(--text-primary);
}

/* Process Features */
.process-features {
    max-width: 1200px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    background: var(--dark-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-box h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: var(--dark-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .graph-verticals {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .core-node {
        padding: 30px 40px;
    }

    .core-node .node-icon {
        font-size: 40px;
    }

    .core-node h3 {
        font-size: 28px;
    }

    .ecosystem-legend {
        flex-wrap: wrap;
        gap: 20px;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step,
    .process-step:nth-child(even) {
        flex-direction: row;
        padding-left: 80px;
    }

    .process-number {
        left: 30px;
    }

    .process-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 140px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .graph-verticals {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .vertical-node .connector-line {
        height: 60px;
        top: -60px;
    }

    .core-node {
        padding: 24px 32px;
    }

    .core-node .node-icon {
        font-size: 36px;
    }

    .core-node h3 {
        font-size: 24px;
    }

    .vertical-node .node-content {
        padding: 20px 28px;
    }

    .vertical-node .node-icon {
        font-size: 32px;
    }

    .vertical-node h4 {
        font-size: 18px;
    }

    .ecosystem-legend {
        flex-direction: column;
        gap: 16px;
    }

    .process-step,
    .process-step:nth-child(even) {
        padding-left: 0;
    }

    .process-timeline::before,
    .process-number {
        display: none;
    }

    .process-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    :root {
        --section-padding: 60px 5%;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }

/* Organizational Graph Styles - Network Layout */
.org-graph {
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 40px;
    position: relative;
    min-height: 850px;
}

/* SVG Connection Lines */
.graph-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.connection-line {
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 1.5;
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

.highlight-connection {
    stroke: rgba(0, 102, 255, 0.25);
    stroke-width: 2;
}

/* Graph Center Node */
.graph-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: scaleIn 0.6s ease 0.2s backwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Graph Nodes Positioning */
.graph-node {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: slideIn 0.6s ease backwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(0, 30px);
    }
}

.graph-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.4s;
}

@keyframes slideIn {
    from {
        opacity: 0;
    }
}

.graph-right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    flex-direction: row-reverse;
    animation-delay: 0.6s;
}

.graph-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column-reverse;
    animation-delay: 0.8s;
}

.graph-left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    flex-direction: row;
    animation-delay: 1s;
}

/* Graph Subnodes */
.graph-subnodes {
    display: flex;
    gap: 12px;
}

.graph-top .graph-subnodes,
.graph-bottom .graph-subnodes {
    flex-direction: row;
}

.graph-right .graph-subnodes,
.graph-left .graph-subnodes {
    flex-direction: column;
}

/* Base Node Styles */
.org-node {
    display: inline-block;
    padding: 32px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.org-node::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.graph-center .org-node::before {
    display: none;
}

.graph-top .org-node::before {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.graph-right .org-node::before {
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.graph-bottom .org-node::before {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.graph-left .org-node::before {
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.org-node:hover::before {
    background: rgba(0, 102, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.6);
}

.org-node:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.core-node {
    padding: 40px 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.core-node:hover {
    border-color: rgba(0, 102, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.branch-node {
    padding: 28px 36px;
    min-width: 160px;
}

.branch-node h4 {
    font-size: 17px;
    color: white;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Logo Wrappers */
.node-logo-wrapper {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.core-node .node-logo-wrapper {
    height: 80px;
    margin-bottom: 18px;
}

.core-logo {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.branch-logo {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.org-node:hover .core-logo,
.org-node:hover .branch-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* Fallback Icons */
.fallback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.6;
}

.branch-node .fallback-icon {
    font-size: 36px;
    opacity: 0.5;
}

.core-node h3 {
    font-size: 26px;
    color: white;
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.core-node span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Highlight Node (Consultoria) */
.highlight-node {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.3);
}

.highlight-node:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.5);
}

.highlight-badge {
    display: block;
    font-size: 10px;
    color: var(--primary-color);
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Subnodes Compact Style */
.org-subnode {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.org-subnode:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.highlight-subnode {
    border-color: rgba(0, 102, 255, 0.15);
}

.highlight-subnode:hover {
    border-color: rgba(0, 102, 255, 0.3);
}

.subnode-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    width: 28px;
    height: 28px;
}

.org-subnode span {
    display: block;
    color: white;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: -0.1px;
}

/* Responsive Graph Layout */
@media (max-width: 1200px) {
    .org-graph {
        min-height: 750px;
    }
    
    .graph-top {
        top: 40px;
    }
    
    .graph-bottom {
        bottom: 40px;
    }
    
    .graph-right {
        right: 20px;
    }
    
    .graph-left {
        left: 20px;
    }
    
    .org-node {
        padding: 28px 36px;
    }
    
    .core-node {
        padding: 36px 44px;
    }
}

@media (max-width: 768px) {
    .org-graph {
        min-height: 1200px;
        padding: 0 20px;
    }
    
    /* Stack vertically on mobile */
    .graph-node {
        position: static;
        transform: none !important;
        margin: 40px auto;
        flex-direction: column !important;
    }
    
    .graph-center {
        position: static;
        transform: none;
        margin: 0 auto 60px;
    }
    
    .graph-connections {
        display: none;
    }
    
    .graph-subnodes {
        flex-direction: column !important;
        width: 100%;
    }
    
    .org-subnode {
        width: 100%;
        justify-content: center;
    }
    
    .core-node {
        padding: 36px 40px;
    }
    
    .branch-node {
        min-width: auto;
    }
}

/* Ecosystem CTA */
.ecosystem-cta {
    text-align: center;
    margin-top: 70px;
}

.cta-button-large {
    display: inline-block;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.cta-button-large:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-2px);
}

/* Social Links with SVG Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.4);
}

.social-links svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-links a:hover svg {
    color: white;
}

/* Enhanced Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

/* Portfolio Card Animation */
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }

