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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 150, 255, 0.2);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 150, 255, 0.3);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00aaff;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
    text-transform: lowercase;
}

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

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00aaff;
    text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00aaff, #0066cc);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

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

/* Nav CTA Style */
.nav-links li a.nav-cta {
    padding: 8px 18px;
    background: rgba(0, 170, 255, 0.1);
    color: #00aaff;
    border-radius: 25px;
    border: 1px solid rgba(0, 170, 255, 0.4);
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.1);
    display: inline-block;
}

.nav-links li a.nav-cta:hover {
    background: rgba(0, 170, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
    border-color: rgba(0, 170, 255, 0.6);
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #00aaff;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #00aaff;
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
}

/* Hero Section (Main Index) */
.hero {
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    width: 90%;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #00aaff;
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

.hero-logo {
    max-width: 1100px;
    width: clamp(300px, 80vw, 1100px);
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0, 170, 255, 0.5));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    filter: drop-shadow(0 0 30px rgba(0, 170, 255, 0.8));
    transform: scale(1.05);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #b0b0b0;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(0, 170, 255, 0.2);
    color: #00aaff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 170, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

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

/* Hero Section (Mini - ito.html) */
.hero-mini {
    padding-top: 150px;
    padding-bottom: 50px;
    background: #0a0a0a;
    text-align: center;
}

.hero-mini h1 {
    font-size: 3rem;
    color: #00aaff;
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

/* About Section */
.about {
    background: #111111;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 170, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
}

.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: #c0c0c0;
}

.about-text h3 {
    color: #00aaff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

.about-image {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.2) 0%, rgba(0, 102, 204, 0.2) 100%);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 4rem;
    opacity: 0.8;
    border: 2px solid rgba(0, 170, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(17, 17, 17, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 170, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 170, 255, 0.2);
    border-color: rgba(0, 170, 255, 0.5);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.3) 0%, rgba(0, 102, 204, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(0, 170, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00aaff;
}

.service-card p {
    color: #b0b0b0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
    background-color: #111111;
    color: #e0e0e0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #00aaff;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

.contact-card {
    background: rgba(0, 170, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 170, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 170, 255, 0.3);
    background: rgba(0, 170, 255, 0.08);
}

.contact-card.highlight {
    border-left: 4px solid #00aaff;
    background: rgba(0, 170, 255, 0.1);
}

.contact-card h4 {
    color: #00aaff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00aaff;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
    word-break: break-word;
}

.contact-item:hover {
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
    transform: translateX(5px);
}

.contact-card p {
    font-size: 0.95rem;
    color: #c0c0c0;
    margin: 0;
}

.contact-form {
    background: rgba(17, 17, 17, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 170, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h4 {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.9rem;
    color: #888;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 8px;
    background: rgba(17, 17, 17, 0.8);
    color: #e0e0e0;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00aaff;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: rgba(0, 170, 255, 0.2);
    color: #00aaff;
    padding: 12px 30px;
    border: 2px solid rgba(0, 170, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.2);
}

.form-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 170, 255, 0.1);
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

/* Captcha Style */
.captcha-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 150, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.captcha-code {
    font-family: 'Courier New', Courier, monospace;
    background: #050505;
    padding: 0.5rem;
    color: #00ff00;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    border-left: 3px solid #00ff00;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}
.captcha-label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

/* ito.html Specific Styles */
.content-box {
    background: rgba(17, 17, 17, 0.8);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    backdrop-filter: blur(10px);
}

.content-box h2, .content-box h3 {
    color: #00aaff;
    margin-bottom: 1.5rem;
}

.content-box p {
    margin-bottom: 1rem;
    color: #c0c0c0;
}

.content-box ul {
    margin-bottom: 2rem;
    list-style-position: inside;
    color: #c0c0c0;
}

.content-box li {
    margin-bottom: 0.5rem;
}

/* Table Style */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 150, 255, 0.1);
}

th {
    background: rgba(0, 170, 255, 0.1);
    color: #00aaff;
    font-weight: 600;
}

tr:hover {
    background: rgba(0, 170, 255, 0.05);
}

.price-note {
    text-align: center;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px dashed rgba(0, 170, 255, 0.3);
}

.warning-note {
    background: rgba(255, 170, 0, 0.05);
    border-left: 4px solid #ffaa00;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.warning-note h3 {
    color: #ffaa00;
    margin-top: 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.warning-note ul {
    list-style: none;
    padding: 0;
}

.warning-note ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #d0d0d0;
}

.warning-note ul li::before {
    content: '!';
    position: absolute;
    left: 0;
    color: #ffaa00;
    font-weight: bold;
}

/* Footer */
footer {
    background: #0a0a0a;
    color: #c0c0c0;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 170, 255, 0.2);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 170, 255, 0.3);
    padding: 1.5rem 2rem;
    z-index: 2000;
    display: none;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease-out;
}

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

.cookie-text {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}

.cookie-text a {
    color: #00aaff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background: rgba(0, 170, 255, 0.2);
    color: #00aaff;
    border: 1px solid rgba(0, 170, 255, 0.5);
}

.cookie-btn-accept:hover {
    background: rgba(0, 170, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
    
    .cookie-banner {
        padding: 1.25rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Animations */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .about-content,
    .contact-content {
        gap: 2.5rem;
    }
}

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

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

    .mobile-menu {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease-out;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .nav-links li a.nav-cta {
        width: 85%;
        max-width: 320px;
        font-size: 1.1rem;
        padding: 12px 20px;
    }

    /* Index specific responsive */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-logo {
        max-width: clamp(250px, 85vw, 400px);
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10%;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 200px;
        order: -1; /* Image above text on mobile */
    }

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

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    /* ito.html specific responsive */
    .ito-page .nav-links, .cookies-page .nav-links {
        position: fixed;
        display: none;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        height: 100vh;
        width: 100%;
        top: 0;
        left: 0;
        gap: 1.5rem;
        box-shadow: none;
        border: none;
    }

    .ito-page .nav-links.active, .cookies-page .nav-links.active {
        display: flex;
    }

    .hero-mini {
        padding-top: 120px;
        padding-bottom: 30px;
    }

    .hero-mini h1 {
        font-size: 1.8rem;
    }
    
    .content-box {
        padding: 1.25rem;
    }

    .table-responsive table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

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

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

    .cta-button {
        padding: 12px 30px;
        width: 100%;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .contact-content {
        gap: 1.5rem;
    }

    .captcha-container {
        padding: 0.75rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .captcha-code {
        font-size: 0.75rem;
    }
}
