@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=IBM+P+Mono:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    padding-bottom: 5rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #888888;
    font-family: 'IBM Plex Mono', monospace;
}

.logo-link {
    color: #ffffff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'IBM Plex Mono', monospace;
}

.nav-menu a:hover {
    color: #7823af;
}

.nav-menu a.active {
    color: #7823af;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 4rem;
}

.hero-left {
    flex: 1;
}

.hero-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #888888;
}

.typewriter-container {
    position: relative;
    display: inline-block;
}

.typewriter-text {
    color: #ffffff;
    border-right: 3px solid #ffffff;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #ffffff; }
    51%, 100% { border-color: transparent; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
}

.service-item:hover {
    color: #7823af;
    transform: translateX(10px);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    font-size: 1.8rem;
}

.page-header {
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: #00000000
}

.page-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.portfolio-item {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
    border: none;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    width: 100%;
    object-fit: cover;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    min-height: 150px;
    max-height: 300px;
    display: block;
    aspect-ratio: 16/9;
}

.portfolio-image-placeholder {
    width: 100%;
    min-height: 150px;
    max-height: 300px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.loading-spinner {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 400;
}

.no-image {
    color: #666666;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

.portfolio-info {
    display: none;
}

.portfolio-title {
    display: none;
}

.portfolio-description {
    display: none;
}

.portfolio-category {
    display: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
}

.about-text h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'IBM Plex Mono', monospace;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 6rem;
}

.dashboard-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #888888;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.logout-btn:hover {
    background: #c82333;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-stat {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.dashboard-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dashboard-stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 700;
}

.dashboard-stat p {
    color: #cccccc;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dashboard-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dashboard-section h2 {
    margin-bottom: 2rem;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dashboard-section h2 i {
    color: #ffffff;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.form-group .file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
}

.form-group .file-input-display {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.form-group .file-input-display:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.form-group .file-input-display.drag-over {
    border-color: #7823af;
    background: rgba(120, 35, 175, 0.1);
    border-style: solid;
}

.form-group .file-input-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.form-group .file-input-display:hover .file-input-icon {
    color: #ffffff;
}

.form-group .file-input-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.form-group .file-input-subtext {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.form-group .file-input-display.has-file {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.form-group .file-input-display.has-file .file-input-icon {
    color: #28a745;
}

.form-group .file-input-display.has-file .file-input-text {
    color: #28a745;
    font-weight: 600;
}

.form-group .file-selected-info {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #28a745;
    display: none;
}

.form-group .file-selected-info.show {
    display: block;
}

.form-group .file-selected-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.form-group .file-selected-size {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-primary {
    background: #7823af;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 35, 175, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary:hover {
    background: #7823af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 35, 175, 0.4);
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-danger:hover {
    background: #c82333;
        transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.portfolio-management {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.portfolio-card img {
    width: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1rem;
    min-height: 150px;
    max-height: 300px;
}

.portfolio-card h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem;
    min-width: 35px;
    min-height: 35px;
    z-index: 10;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: #dc3545;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #cccccc;
}

.error {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.success {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: rgba(26, 26, 26, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-left: 4px solid;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    border-left-color: #28a745;
    color: #28a745;
}

.toast.error {
    border-left-color: #dc3545;
    color: #dc3545;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-message {
    color: #ffffff;
    font-size: 0.9rem;
    flex-grow: 1;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.toast-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-user span {
    color: #cccccc;
}

::selection {
    background: #7823af;
    color: #fff;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    z-index: 1200;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-accept {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-learn-more {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-item[data-category="logo"] {
    min-height: 320px;
    max-width: 320px;
    width: fit-content;
    margin: 0 auto;
}

.portfolio-item[data-category="logo"] .portfolio-image,
.portfolio-item[data-category="logo"] img,
.portfolio-card[data-category="logo"] img {
    max-height: 250px;
    min-height: 120px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 12px !important;
    overflow: hidden;
    width: 100%;
    display: block;
    aspect-ratio: auto;
    will-change: transform;
    content-visibility: auto;
    image-rendering: optimizeQuality;
    transform: translateZ(0);
}

.portfolio-item[data-category="banner"] {
    min-height: 240px;
    max-width: 400px;
    width: fit-content;
    margin: 0 auto;
}

.portfolio-item[data-category="banner"] .portfolio-image,
.portfolio-card[data-category="banner"] img {
    max-height: 150px;
    min-height: 80px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 12px;
    aspect-ratio: auto;
}

.portfolio-item[data-category="thumbnails"] {
    min-height: 260px;
    max-width: 360px;
    width: fit-content;
    margin: 0 auto;
}

.portfolio-item[data-category="thumbnails"] .portfolio-image,
.portfolio-card[data-category="thumbnails"] img {
    max-height: 180px;
    min-height: 90px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 12px;
    aspect-ratio: auto;
}

.portfolio-item[data-category="other"] {
    min-height: 320px;
    max-width: 350px;
    width: fit-content;
    margin: 0 auto;
}

.portfolio-item[data-category="other"] .portfolio-image,
.portfolio-card[data-category="other"] img {
    max-height: 300px;
    min-height: 150px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 12px;
}

.portfolio-category[data-category="logo"] {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.portfolio-category[data-category="banner"] {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.portfolio-category[data-category="thumbnails"] {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.portfolio-category[data-category="other"] {
    background: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.privacy-tools {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.privacy-tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.privacy-tool-item.privacy-danger {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.05);
}

.privacy-tool-info {
    flex: 1;
    margin-right: 2rem;
}

.privacy-tool-info h3 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-tool-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.privacy-tool-info strong {
    color: #dc3545;
}

.privacy-tool-info a {
    color: #7823af;
    text-decoration: none;
}

.privacy-tool-info a:hover {
    text-decoration: underline;
}

.portfolio-item img,
.portfolio-card img,
.portfolio-image,
img.portfolio-image {
    border-radius: 12px !important;
    overflow: hidden;
}

.portfolio-image-placeholder img,
#portfolio-grid img,
#category-grid img,
#portfolio-management img {
    border-radius: 12px !important;
}

.portfolio-item[data-category="logo"] img,
.portfolio-item[data-category="logo"] .portfolio-image,
.portfolio-card[data-category="logo"] img,
[data-category="logo"] img,
[data-category="logo"] .portfolio-image,
*[data-category="logo"] img {
    overflow: hidden !important;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
    border-radius: 12px !important;
}

.portfolio-image,
.portfolio-item img,
.portfolio-card img {
    image-rendering: optimizeQuality;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.portfolio-item,
.portfolio-card {
    contain: layout style paint;
    will-change: auto;
}

.loading-spinner {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 2rem;
    opacity: 0.8;
}

.no-image {
    color: #999;
    text-align: center;
    padding: 2rem;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgb(26, 26, 26);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-right {
        align-items: center;
    }
    
    .service-item {
        width: 100%;
        max-width: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-management {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .dashboard-user {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-consent-actions {
        justify-content: center;
    }

    .privacy-tool-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .privacy-tool-info {
        margin-right: 0;
    }
}

html:has(body.index-page),
body.index-page {
    height: 100%;
    overflow: hidden;
}

body.index-page .main-content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

body.index-page .hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 4rem;
    height: auto;
}

@media (max-width: 768px) {
    body.index-page .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    body.index-page .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}

.social-links {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 100;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .social-links {
        bottom: 2rem;
        gap: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    }

    .footer-content {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        padding: 1rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        margin-bottom: -0.5rem;
        z-index: 90;
    }
}

.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer a {
    color: #7823af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    z-index: 90;
    font-family: 'IBM Plex Mono', monospace;
}

.footer-content p {
    margin: 0.3rem 0;
}

.footer-content a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #ffffff;
    text-decoration: none;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
}

.privacy-content h2 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-content h3 {
    color: #cccccc;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: #cccccc;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.privacy-content strong {
    color: #ffffff;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
}

.contact-link:hover {
    color: #7823af;
    text-decoration: none;
    transition: all 0.3s ease;
}