:root {
    --primary: #4A6FFF;
    --primary-light: #6A8AFF;
    --secondary: #8A2BE2;
    --accent: #00D4AA;
    --bg-dark: #0A0E1A;
    --bg-card: #121828;
    --bg-card-light: #1A2238;
    --text-main: #F0F4FF;
    --text-muted: #A0A8CC;
    --border: #2A3455;
    --shadow: rgba(0, 0, 0, 0.3);
    --success: #00D47E;
    --php: #777BB4;
    --symfony: #000000;
    --wordpress: #21759B;
    --shopify: #7AB55C;
    --flutter: #02569B;
    --header-bg: rgba(10, 14, 26, 0.9);
    --logo-bg: linear-gradient(135deg, var(--primary), var(--secondary));
    --code-bg: var(--bg-card);
}

/* Light mode variables */
.light-mode {
    --primary: #4A6FFF;
    --primary-light: #6A8AFF;
    --secondary: #8A2BE2;
    --accent: #00D4AA;
    --bg-dark: #F5F9FF;
    --bg-card: #FFFFFF;
    --bg-card-light: #F0F4FF;
    --text-main: #1A1F36;
    --text-muted: #4A5578;
    --border: #D0D9F0;
    --shadow: rgba(0, 0, 0, 0.08);
    --header-bg: rgba(255, 255, 255, 0.9);
    --code-bg: #F0F4FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 10% 20%, rgba(74, 111, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 20%);
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    width: 100%;
    max-width: 1400px;  /* Szeroki kontener dla hero */
    margin: 0 auto;
    padding: 0 40px;    /* Większy padding dla swobody */
}

/* ===== HEADER ===== */
header {
    padding: 16px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--logo-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

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

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

.theme-toggle,
.language-toggle,
.mobile-menu-close {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
}

.theme-toggle {
    width: 42px;
    border-radius: 50%;
    font-size: 1.3rem;
    margin-left: 0;
}

.language-toggle {
    gap: 8px;
    padding: 0 12px;
    font-weight: 600;
}

.language-dropdown {
    position: relative;
}

.language-trigger {
    min-width: 68px;
}

.language-flag {
    width: 22px;
    height: auto;
    border-radius: 2px;
    display: block;
}

.language-trigger .fa-chevron-down {
    font-size: 0.75rem;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 20;
}

.language-dropdown.open .language-menu {
    display: flex;
}

.language-option {
    border: none;
    background: transparent;
    color: var(--text-main);
    text-align: left;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-option:hover {
    background: rgba(74, 111, 255, 0.12);
}


.language-option-flag {
    width: 18px;
    height: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

.mobile-menu-close {
    width: 42px;
}

.theme-toggle:hover,
.language-toggle:hover,
.mobile-menu-close:hover {
    border-color: var(--primary);
    background-color: rgba(74, 111, 255, 0.1);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1090;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border);
    padding: 24px 20px;
    transition: right 0.3s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-language-toggle .language-trigger {
    min-width: 58px;
}

.mobile-language-toggle .language-menu {
    top: auto;
    bottom: calc(100% + 8px);
}

.mobile-cta-button {
    flex: 1;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
}

.mobile-menu-links {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.mobile-menu-footer {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mobile-theme-toggle {
    margin-left: 0;
}

.cta-button {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 111, 255, 0.3);
}


.menu-overlay,
.mobile-menu {
    display: none;
}

/* ===== HERO (poprawiony flex, szerszy układ) ===== */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: rgba(74, 111, 255, 0.15);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(74, 111, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

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

.secondary-button:hover {
    border-color: var(--primary);
    background-color: rgba(74, 111, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    width: 100%;
}

.code-snippet {
    background-color: var(--code-bg);
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 15px 35px var(--shadow);
    border: 1px solid var(--border);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.code-title {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
}

.code-lang {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.code-line .keyword { color: var(--primary-light); }
.code-line .string { color: var(--accent); }
.code-line .comment { color: #5A6580; }
.code-line .function { color: #FF6B9D; }

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

.service-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.service-features li {
    margin-bottom: 8px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 0.8rem;
}

/* ===== TEAM / FOUNDER ===== */
.team-section {
    position: relative;
    overflow: hidden;
}

.team-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-content {
    display: flex;
    justify-content: center;
}

.team-card {
    max-width: 760px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 42px;
    text-align: center;
    box-shadow: 0 16px 40px var(--shadow);
}

.team-img {
    width: 148px;
    height: 148px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
}

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

.team-name {
    font-size: 2rem;
    margin-bottom: 8px;
}

.team-role {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 14px;
}

.team-bio {
    color: var(--text-muted);
    max-width: 62ch;
    margin: 0 auto 22px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s;
}

.team-social a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(74, 111, 255, 0.12);
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    background-color: var(--bg-card-light);
    border-radius: 20px;
    padding: 80px 60px;
    margin: 100px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.portfolio-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    user-select: none;
    z-index: 1;
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.portfolio-card {
    background-color: var(--bg-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--primary);
}

.portfolio-img {
    height: 200px;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.portfolio-img i {
    position: relative;
    z-index: 2;
}

.portfolio-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.2), rgba(138, 43, 226, 0.2));
    z-index: 1;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.portfolio-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-php { background-color: rgba(119, 123, 180, 0.2); color: var(--php); border: 1px solid rgba(119, 123, 180, 0.5); }
.tag-symfony { background-color: rgba(0, 0, 0, 0.2); color: var(--symfony); border: 1px solid rgba(0, 0, 0, 0.5); }
.tag-wordpress { background-color: rgba(33, 117, 155, 0.2); color: var(--wordpress); border: 1px solid rgba(33, 117, 155, 0.5); }
.tag-shopify { background-color: rgba(122, 181, 92, 0.2); color: var(--shopify); border: 1px solid rgba(122, 181, 92, 0.5); }
.tag-flutter { background-color: rgba(2, 86, 155, 0.2); color: var(--flutter); border: 1px solid rgba(2, 86, 155, 0.5); }

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.portfolio-features li {
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.portfolio-features li i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 0.8rem;
}

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

.portfolio-link:hover {
    gap: 12px;
}

/* ===== PROCESS ===== */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
    gap: 30px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 180px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 20px;
    border: 5px solid var(--bg-dark);
    color: white;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-section {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 80px 60px;
    margin-top: 100px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: white;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

.contact-form {
    flex: 1;
    background-color: var(--bg-card-light);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    min-width: 280px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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


/* ===== SUCCESS OVERLAY ===== */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.light-mode .success-overlay {
    background: rgba(245, 249, 255, 0.95);
}

.overlay-content {
    text-align: center;
    position: relative;
    z-index: 10002;
    max-width: 600px;
    padding: 20px;
}

.overlay-message {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s, transform 0.5s;
}

.overlay-message.show {
    opacity: 1;
    transform: scale(1);
}

.overlay-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s 0.2s, transform 0.5s 0.2s;
}

.overlay-sub.show {
    opacity: 1;
    transform: translateY(0);
}

.overlay-close {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s 0.4s, transform 0.5s 0.4s, box-shadow 0.3s;
    outline: none;
}

.overlay-close.show {
    opacity: 1;
    transform: scale(1);
}

.overlay-close:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(74, 111, 255, 0.4);
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.15;
    animation: floatAround 8s infinite ease-in-out;
    filter: drop-shadow(0 0 10px var(--primary));
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    20% {
        transform: translate(30px, -20px) rotate(20deg) scale(1.2);
        opacity: 0.4;
    }

    40% {
        transform: translate(-20px, 30px) rotate(45deg) scale(0.9);
        opacity: 0.3;
    }

    60% {
        transform: translate(40px, 10px) rotate(90deg) scale(1.1);
        opacity: 0.2;
    }

    80% {
        transform: translate(-30px, -30px) rotate(135deg) scale(0.8);
        opacity: 0.25;
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0;
    }
}

.floating-icon:nth-child(1) { top: 10%; left: 5%; animation-duration: 12s; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 70%; left: 15%; animation-duration: 10s; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 30%; left: 80%; animation-duration: 14s; animation-delay: 2s; }
.floating-icon:nth-child(4) { top: 80%; left: 70%; animation-duration: 9s; animation-delay: 0.5s; }
.floating-icon:nth-child(5) { top: 20%; left: 40%; animation-duration: 11s; animation-delay: 1.5s; }
.floating-icon:nth-child(6) { top: 60%; left: 85%; animation-duration: 13s; animation-delay: 2.5s; }
.floating-icon:nth-child(7) { top: 40%; left: 20%; animation-duration: 8s; animation-delay: 3s; }
.floating-icon:nth-child(8) { top: 85%; left: 45%; animation-duration: 15s; animation-delay: 0.2s; }
.floating-icon:nth-child(9) { top: 15%; left: 65%; animation-duration: 10s; animation-delay: 1.8s; }
.floating-icon:nth-child(10) { top: 50%; left: 55%; animation-duration: 12s; animation-delay: 2.2s; }

/* ===== FOOTER ===== */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo {
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-group h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.link-group ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual,
    .code-snippet,
    .code-line {
        text-align: left;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        width: 100%;
    }

    .process-steps::before {
        display: none;
    }

    .step {
        min-width: 200px;
    }

}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .desktop-theme-toggle,
    .desktop-language-toggle {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .menu-overlay,
    .mobile-menu {
        display: block;
    }

    .header-container {
        flex-wrap: nowrap;
    }

    #siteLogo {
        height: 44px;
    }

    .mobile-menu a {
        color: var(--text-muted);
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

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

    .mobile-menu-header {
        align-items: stretch;
    }

    .mobile-menu-close,
    .mobile-theme-toggle {
        flex: 0 0 42px;
        padding: 0;
    }

    .mobile-language-toggle .language-trigger {
        min-width: 42px;
        padding: 0;
    }

    .mobile-language-toggle .language-trigger .fa-chevron-down {
        display: none;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
        color: white !important;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-section, .contact-section {
        padding: 40px 20px;
    }

    .team-card {
        padding: 28px 20px;
    }

    .team-name {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-links {
        gap: 30px;
    }

    .overlay-message {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    #siteLogo {
        height: 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .step {
        min-width: 100%;
    }

    .social-links a {
        margin: 0 10px;
    }
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-left: 15px;
    transition: color 0.3s;
}

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