/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    
    --gustio: #ef4444;
    --taskio: #22c55e;
    --automobilio: #3b82f6;
    
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-center {
    color: var(--dark);
}

.logo-io {
    color: var(--primary);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

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

/* ===== Language Switcher ===== */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: 20px;
    background: var(--light);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--gray);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--dark);
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 0 0 0 50%;
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-preview {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.card-preview .card-icon {
    font-size: 2rem;
}

.card-preview.gustio {
    top: 10%;
    left: 10%;
    border-left: 4px solid var(--gustio);
    animation-delay: 0s;
}

.card-preview.taskio {
    top: 40%;
    right: 5%;
    border-left: 4px solid var(--taskio);
    animation-delay: 2s;
}

.card-preview.automobilio {
    bottom: 10%;
    left: 20%;
    border-left: 4px solid var(--automobilio);
    animation-delay: 4s;
}

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

/* ===== Products Section ===== */
.products {
    padding: 120px 0;
    background: var(--light);
}

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

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.gustio-bg { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); }
.taskio-bg { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.automobilio-bg { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.soon-bg { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }

.product-card h3 {
    margin-bottom: 8px;
    color: var(--dark);
}

.product-tagline {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.product-description {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.product-features {
    margin-bottom: 24px;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray);
    font-size: 0.9rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--taskio);
    font-weight: 700;
}

.product-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-status.available {
    background: #dcfce7;
    color: #166534;
}

.product-status.in-progress {
    background: #fef3c7;
    color: #92400e;
}

.product-card.coming-soon {
    border: 2px dashed var(--gray-light);
    background: rgba(255, 255, 255, 0.5);
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 40px;
}

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

.stat {
    text-align: center;
}

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

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

.about-visual {
    position: relative;
    height: 400px;
}

.about-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
    background: var(--dark);
    color: var(--white);
}

.contact .section-header p {
    color: var(--gray-light);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--dark-light);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.contact-icon {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.contact-card address,
.contact-card p {
    color: var(--gray-light);
    font-style: normal;
    line-height: 1.8;
}

.contact-email {
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-email:hover {
    color: var(--white);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--dark-light);
}

.footer .logo-center {
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links address {
    font-style: normal;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--dark-light);
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .about-visual {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .lang-switcher {
        margin-left: auto;
        margin-right: 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .lang-switcher {
        gap: 2px;
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
}
