/* ===========================
   RESET & BASE STYLES
   =========================== */

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

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-tertiary: #6b6b80;

    /* Theme Colors */
    --accent-1: #667eea;
    --accent-2: #764ba2;
    --accent-3: #f5576c;
    --accent-4: #4facfe;

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-primary: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);

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

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
}

/* Theme: Roxo (Padrão) */
[data-theme="purple"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --accent-1: #667eea;
    --accent-2: #764ba2;
    --accent-3: #f5576c;
    --accent-4: #9f7aea;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
}

/* Theme: Azul */
[data-theme="blue"] {
    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --accent-1: #4facfe;
    --accent-2: #00f2fe;
    --accent-3: #0ea5e9;
    --accent-4: #38bdf8;
    --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-glow: 0 0 40px rgba(79, 172, 254, 0.3);
}

/* Theme: Verde */
[data-theme="green"] {
    --bg-primary: #022c22;
    --bg-secondary: #064e3b;
    --bg-tertiary: #065f46;
    --accent-1: #43e97b;
    --accent-2: #38f9d7;
    --accent-3: #10b981;
    --accent-4: #34d399;
    --gradient-primary: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-glow: 0 0 40px rgba(67, 233, 123, 0.3);
}

/* Theme: Rosa */
[data-theme="pink"] {
    --bg-primary: #1a0a14;
    --bg-secondary: #2d1225;
    --bg-tertiary: #4a1d3d;
    --accent-1: #ec4899;
    --accent-2: #f472b6;
    --accent-3: #db2777;
    --accent-4: #f9a8d4;
    --gradient-primary: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.3);
}

/* Theme: Laranja */
[data-theme="orange"] {
    --bg-primary: #1a0f05;
    --bg-secondary: #2d1a0a;
    --bg-tertiary: #4a2a10;
    --accent-1: #f97316;
    --accent-2: #fb923c;
    --accent-3: #ea580c;
    --accent-4: #fdba74;
    --gradient-primary: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);
}

/* Theme: Vermelho */
[data-theme="red"] {
    --bg-primary: #1a0505;
    --bg-secondary: #2d0a0a;
    --bg-tertiary: #4a1010;
    --accent-1: #ef4444;
    --accent-2: #f87171;
    --accent-3: #dc2626;
    --accent-4: #fca5a5;
    --gradient-primary: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    --shadow-glow: 0 0 40px rgba(239, 68, 68, 0.3);
}

/* Theme: Amarelo */
[data-theme="yellow"] {
    --bg-primary: #1a1505;
    --bg-secondary: #2d250a;
    --bg-tertiary: #4a3d10;
    --accent-1: #eab308;
    --accent-2: #facc15;
    --accent-3: #ca8a04;
    --accent-4: #fde047;
    --gradient-primary: linear-gradient(135deg, #eab308 0%, #facc15 100%);
    --shadow-glow: 0 0 40px rgba(234, 179, 8, 0.3);
}

/* Theme: Ciano */
[data-theme="cyan"] {
    --bg-primary: #051a1a;
    --bg-secondary: #0a2d2d;
    --bg-tertiary: #104a4a;
    --accent-1: #06b6d4;
    --accent-2: #22d3ee;
    --accent-3: #0891b2;
    --accent-4: #67e8f9;
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.3);
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-primary);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.5s ease;
}

/* ===========================
   GRAIN TEXTURE
   =========================== */

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ===========================
   THEME SWITCHER
   =========================== */

.theme-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
}

.theme-btn {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-btn:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.theme-btn.active {
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.theme-btn[data-theme="purple"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-btn[data-theme="blue"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.theme-btn[data-theme="green"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.theme-btn[data-theme="pink"] {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.theme-btn[data-theme="orange"] {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.theme-btn[data-theme="red"] {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.theme-btn[data-theme="yellow"] {
    background: linear-gradient(135deg, #eab308 0%, #facc15 100%);
}

.theme-btn[data-theme="cyan"] {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

/* ===========================
   NAVIGATION
   =========================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.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: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

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

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) var(--spacing-md);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #667eea 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #764ba2 0%, transparent 70%);
    bottom: -5%;
    left: -5%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #f5576c 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

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

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 0.8s ease 0.8s backwards;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ===========================
   APPS SECTION
   =========================== */

.apps-section {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.app-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.app-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.app-card:hover .app-card-glow {
    opacity: 1;
}

.app-icon {
    margin-bottom: 1.5rem;
}

.app-icon-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.icon-bg {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.icon-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.gradient-1 {
    background: var(--gradient-1);
}

.gradient-2 {
    background: var(--gradient-2);
}

.gradient-3 {
    background: var(--gradient-3);
}

.gradient-4 {
    background: var(--gradient-4);
}

.app-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.app-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.app-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    align-self: flex-start;
}

.app-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.app-link:hover::before {
    left: 100%;
}

.app-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.app-link svg {
    transition: transform 0.3s ease;
}

.app-link:hover svg {
    transform: translateX(4px);
}

/* ===========================
   SITES SECTION
   =========================== */

.sites-section {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.site-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.site-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
}

.site-badge {
    position: absolute;
    top: 42px;
    left: -45px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 3rem 0.4rem 2rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
}

.site-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.site-card:hover .site-thumbnail img {
    transform: scale(1.05);
}

.site-info {
    padding: 1.5rem;
}

.site-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.site-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sites-grid {
        grid-template-columns: 1fr;
    }

    .site-thumbnail {
        height: 180px;
    }
}

/* ===========================
   ABOUT SECTION
   =========================== */

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

.about-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.profile-banner-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-wrapper {
    position: absolute;
    bottom: -60px;
    left: 40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid var(--bg-primary);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 80px 40px 40px 40px;
}

.about-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

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

.social-link:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.about-title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.about-location {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
}

.about-description {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text:last-child {
    margin-bottom: 0;
}

.experience-section {
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

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

.company-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.company-card:hover {
    border-color: var(--accent-1);
}

.company-logo {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.company-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.company-role {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.company-period {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ===========================
   BUSINESS SECTION
   =========================== */

.business-section {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.business-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.service-card.featured {
    border-color: var(--accent-1);
    background: rgba(var(--accent-1), 0.05);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.service-card:hover .service-icon {
    background: var(--bg-tertiary);
    color: var(--accent-1);
}

.service-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.service-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

.business-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.business-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.business-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===========================
   CONTACT SECTION
   =========================== */

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

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

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

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

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

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* ===========================
   FOOTER
   =========================== */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    margin-top: var(--spacing-xl);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-content p {
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .theme-switcher {
        position: absolute;
        right: 60px;
        gap: 4px;
    }

    .theme-btn {
        width: 16px;
        height: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 100;
    }

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

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        padding: calc(80px + var(--spacing-md)) var(--spacing-sm) var(--spacing-md);
        min-height: 100vh;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .app-card {
        padding: 2rem;
    }

    .profile-banner-wrapper {
        height: 200px;
    }

    .profile-avatar-wrapper {
        width: 120px;
        height: 120px;
        bottom: -40px;
        left: 20px;
        border-width: 4px;
    }

    .about-content {
        padding: 60px 20px 20px 20px;
    }

    .about-name {
        font-size: 2rem;
    }

    .about-title {
        font-size: 1.1rem;
    }

    .experience-section {
        padding: 20px;
    }

    .experience-title {
        font-size: 1.5rem;
    }

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

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

    .service-card {
        padding: 2rem;
    }

    .service-name {
        font-size: 1.5rem;
    }

    .business-cta h3 {
        font-size: 1.5rem;
    }

    .business-cta p {
        font-size: 1rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */

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

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