/* ========================================
   KODMASTER - STYLESHEET
   Version: 2.1
======================================== */

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --bg-primary: #07070b;
    --bg-secondary: #0d0d14;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --accent-violet: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-red: #f43f5e;
    --accent-blue: #38bdf8;
    --accent-cyan: #22d3ee;
    --gradient-logo: linear-gradient(135deg, #8b5cf6 0%, #a855f7 25%, #ec4899 50%, #f43f5e 75%, #ef4444 100%);
    --gradient-blue: linear-gradient(135deg, #38bdf8 0%, #22d3ee 50%, #67e8f9 100%);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255,255,255,0.06);
    --glow-violet: 0 0 60px rgba(139, 92, 246, 0.3);
    --glow-pink: 0 0 60px rgba(236, 72, 153, 0.3);
    --glow-blue: 0 0 60px rgba(56, 189, 248, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: var(--accent-pink);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-logo);
    border-radius: 4px;
}

/* ========================================
   NAVIGATION
======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(7, 7, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.7rem 0;
}

.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link-main {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-logo);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-main:hover,
.nav-link-main.active {
    color: var(--text-primary) !important;
}

.nav-link-main:hover::after,
.nav-link-main.active::after {
    width: 60%;
}

.btn-nav-cta {
    background: var(--gradient-logo);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
    color: white;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; width: 70%; }
.hamburger span:nth-child(3) { top: 18px; }

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(13, 13, 20, 0.98);
        backdrop-filter: blur(20px);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid var(--border-color);
    }
}

/* ========================================
   INTRO / BANNER SECTION
======================================== */
.intro-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.intro-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.intro-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
}

.intro-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: floatGlow 15s ease-in-out infinite;
}

.intro-glow-1 {
    top: -200px;
    right: -200px;
    background: var(--accent-violet);
}

.intro-glow-2 {
    bottom: -300px;
    left: -200px;
    background: var(--accent-blue);
    animation-delay: -7s;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.intro-content {
    position: relative;
    z-index: 1;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-violet);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-badge i {
    width: 16px;
    height: 16px;
}

.intro-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

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

.intro-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.intro-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-main {
    background: var(--gradient-logo);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary-main:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-violet);
    color: white;
}

.btn-secondary-main {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary-main:hover {
    background: var(--bg-card);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Code Animation */
.intro-visual {
    position: relative;
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        var(--glow-violet);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.code-header {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #f43f5e; }
.code-dot.yellow { background: #fbbf24; }
.code-dot.green { background: #22c55e; }

.code-body {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 320px;
}

.code-line {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInCode 0.5s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }
.code-line:nth-child(4) { animation-delay: 0.8s; }
.code-line:nth-child(5) { animation-delay: 1s; }
.code-line:nth-child(6) { animation-delay: 1.2s; }
.code-line:nth-child(7) { animation-delay: 1.4s; }
.code-line:nth-child(8) { animation-delay: 1.6s; }
.code-line:nth-child(9) { animation-delay: 1.8s; }

@keyframes fadeInCode {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.line-number {
    color: var(--text-muted);
    min-width: 24px;
    user-select: none;
}

.code-keyword { color: var(--accent-pink); }
.code-function { color: var(--accent-blue); }
.code-string { color: #a3e635; }
.code-variable { color: var(--accent-violet); }
.code-bracket { color: var(--text-secondary); }

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--accent-pink);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Floating Elements */
.floating-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: floatBadge 6s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: -2s;
}

.floating-badge.badge-2 {
    bottom: 20%;
    left: -5%;
    animation-delay: -4s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon.violet { background: rgba(139, 92, 246, 0.2); color: var(--accent-violet); }
.badge-icon.blue { background: rgba(56, 189, 248, 0.2); color: var(--accent-blue); }

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========================================
   SECTIONS COMMON
======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-violet);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICE CARDS
======================================== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--glow-violet);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.service-icon.violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    color: var(--accent-violet);
}

.service-icon.blue {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(34, 211, 238, 0.2));
    color: var(--accent-blue);
}

.service-icon.pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(244, 63, 94, 0.2));
    color: var(--accent-pink);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-features li i {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.portfolio-section {
    background: var(--bg-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-logo);
    border-color: transparent;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
}

@media (max-width: 768px) {
    .portfolio-item.featured {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Overlay always visible for readability */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7, 7, 11, 0.95) 0%,
        rgba(7, 7, 11, 0.7) 40%,
        rgba(7, 7, 11, 0.2) 70%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    transition: background 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(
        to top,
        rgba(7, 7, 11, 0.98) 0%,
        rgba(7, 7, 11, 0.85) 50%,
        rgba(7, 7, 11, 0.6) 100%
    );
}

.portfolio-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.portfolio-tag {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
}

.portfolio-tag.dev { background: rgba(139, 92, 246, 0.85); }
.portfolio-tag.seo { background: rgba(56, 189, 248, 0.85); }
.portfolio-tag.ads { background: rgba(236, 72, 153, 0.85); }

.portfolio-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.portfolio-item.featured .portfolio-title {
    font-size: 1.25rem;
}

.portfolio-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    line-height: 1.4;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-desc {
    max-height: 60px;
    opacity: 1;
    margin-bottom: 0.5rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-link:hover {
    color: var(--accent-blue);
}

.portfolio-link i {
    width: 14px;
    height: 14px;
}

/* ========================================
   WHY US SECTION
======================================== */
.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border: 1px solid var(--border-color);
}

.why-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   METHODE / WORKFLOW SECTION
======================================== */
.methode-section {
    background: var(--bg-secondary);
}

.methode-container {
    max-width: 900px;
    margin: 0 auto;
}

.methode-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.methode-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.methode-number-col {
    flex-shrink: 0;
    position: relative;
}

.methode-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-logo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    position: relative;
    z-index: 2;
}

.methode-step:not(:last-child) .methode-number-col::after {
    content: '';
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 1.5rem);
    background: linear-gradient(to bottom, var(--accent-violet), var(--accent-pink));
    opacity: 0.3;
}

.methode-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.methode-content:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--glow-violet);
}

.methode-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.methode-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .methode-step {
        gap: 1rem;
    }
    
    .methode-number {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .methode-step:not(:last-child) .methode-number-col::after {
        top: 48px;
    }
    
    .methode-content {
        padding: 1.25rem 1.5rem;
    }
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 800px;
    height: 800px;
    background: var(--accent-violet);
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.1;
    transform: translateX(-50%);
    pointer-events: none;
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-intro p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 600px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-violet);
    box-shadow: var(--glow-violet);
    color: inherit;
}

.contact-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
    transition: transform 0.3s ease;
}

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

.contact-card-icon i {
    width: 32px;
    height: 32px;
    color: var(--accent-violet);
}

.contact-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact-card-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-card:hover .contact-card-value {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-location {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-location i {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    height: 45px;
}

.footer-text {
    color: var(--text-secondary);
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-logo);
    border-color: transparent;
    color: white;
}

.footer-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--accent-violet);
}

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-logo);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-violet);
}

/* ========================================
   PAGE LOADER
======================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    animation: pulse 1.5s ease-in-out infinite;
}

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