:root {
    --bg-color: #fbfcf8;
    --surface-color: #ffffff;
    --primary-color: #3aa294;
    --primary-hover: #2d8276;
    --text-main: #3aa294;
    --text-muted: #7b8e9b;
    --text-dark: #334155;
    --accent: #a6dbe4;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
.header {
    background: rgba(251, 252, 248, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--text-muted);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at top center, #e1f3f7 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(166, 219, 228, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), #42b49c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 162, 148, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 162, 148, 0.4);
}

/* Apps Seccion */
.apps-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.app-card {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(166, 219, 228, 0.4);
    border-color: var(--accent);
}

.app-header-content {
    display: flex;
    gap: 25px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.app-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dolariza-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    box-shadow: 0 4px 15px rgba(58, 162, 148, 0.3);
}

.app-info h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.app-info p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tester-note {
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    font-style: italic;
    margin-bottom: 15px !important;
}

.app-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge {
    background: #e1f3f7;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.available {
    background: #d1fae5;
    color: #059669;
}

.app-screenshots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: contain;
}

.link-secondary {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* About Section */
.about-section {
    padding: 100px 0;
    background: #e1f3f7;
    border-top: 1px solid var(--border-color);
}

.about-section h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-section p {
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.text-center {
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-panel {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.contact-panel:hover {
    box-shadow: 0 20px 40px rgba(166, 219, 228, 0.4);
}

.contact-info {
    background: #e1f3f7;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    border-right: 1px solid var(--border-color);
    justify-content: center;
}

.contact-info-block h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.contact-info-block p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--surface-color);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 162, 148, 0.15);
}

.contact-form .btn-primary {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-panel {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: var(--surface-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .nav ul {
        display: none;
    }

    .app-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
