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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo en el header */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-brackets {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
    transform: scaleY(1.6);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.logo-dogo {
    color: #2563eb;
}

.logo-software {
    color: #64748b;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.hero-brackets {
    font-family: 'Courier New', monospace;
    font-size: 96px;
    font-weight: 700;
    color: white;
    transform: scaleY(1.6);
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 64px;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-dogo {
    color: white;
}

.hero-software {
    color: rgba(255, 255, 255, 0.85);
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #2563eb;
    color: white;
}

.btn-secondary:hover {
    background: #1d4ed8;
}

/* Projects Section */
.projects {
    padding: 5rem 5%;
    background: #f9fafb;
}

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

.projects h2, .contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.project-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.project-card.coming-soon {
    opacity: 0.6;
    border: 2px dashed #d1d5db;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: white;
}

.contact-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #6b7280;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Formulario */
.contact-form-container {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

/* Alternativa de contacto */
.contact-alternative {
    display: flex;
    align-items: center;
    justify-content: center;
}

.alternative-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.alternative-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.alternative-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.alternative-box .btn-secondary {
    background: white;
    color: #667eea;
}

.alternative-box .btn-secondary:hover {
    background: #f9fafb;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-brackets {
        font-size: 64px;
    }
    
    .hero-brand {
        font-size: 40px;
    }
    
    .hero-tagline {
        font-size: 16px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-brackets {
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .alternative-box {
        margin-top: 2rem;
    }
}