/**
 * Layout Styles - Estructura y posicionamiento de secciones principales
 */

/* Header with Glass Morphism */
.header {
    padding: 24px 0;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s var(--apple-ease-out);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 128px;
    width: auto;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #666;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
}

.menu-icon span {
    width: 18px;
    height: 1.5px;
    background-color: #1d1d1f;
    transition: all 0.2s ease;
}

.menu-icon:hover span {
    background-color: #666;
}

/* Hero Section */
.hero {
    padding: 120px 0 140px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #FAFAFA;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
}

.hero-content {
    flex: 1;
    max-width: 640px;
    padding-right: 80px;
    animation: slideInLeft 1s ease 0.2s both;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 400px;
    animation: slideInRight 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #FAFAFA;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.feature-content {
    flex: 1;
    max-width: 500px;
    padding-right: 60px;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Benefits Section */
.benefits {
    padding: 120px 0;
    background-color: #F5F5F7;
}

.benefits-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Integration Section */
.integration {
    padding: 120px 0;
    background-color: #FAFAFA;
}

.integration-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.integration-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.integration-info {
    flex: 1;
    max-width: 500px;
}

.integration-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Companies Section with Glass Effect */
.companies {
    background: linear-gradient(135deg, 
        rgba(29, 29, 31, 0.95) 0%, 
        rgba(29, 29, 31, 0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 40px 0 48px 0;
    border-radius: 24px;
    margin: 20px auto 100px auto;
    max-width: 980px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.companies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.companies-logos {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scrollText 30s linear infinite;
    width: max-content;
    padding: 0 40px;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.companies {
    background: #1d1d1f;
    padding: 40px 0 48px 0;
    border-radius: 24px;
    margin: 20px auto 100px auto;
    max-width: 980px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* How Respaldame Works Section */
.how-respaldame-works {
    padding: 100px 0;
    background: #f8f9fa;
}

.respaldame-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.respaldame-grid {
    max-width: 800px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.respaldame-row {
    display: flex;
    gap: 24px;
    width: 100%;
}

.respaldame-row:first-child .respaldame-step {
    flex: 1;
}

.respaldame-row:last-child .respaldame-step {
    flex: 1;
}

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

.step-content {
    flex: 1;
}

/* Dashboard and Visual Elements */
.dashboard-container {
    position: relative;
    max-width: 100%;
    height: auto;
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.metrics-dashboard {
    position: relative;
    max-width: 100%;
    height: auto;
}

/* Power Pitch Section */
.power-pitch {
    padding: 120px 0;
    background-color: #FAFAFA;
    position: relative;
}

.power-pitch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(29, 29, 31, 0.1) 50%, transparent 100%);
}

.pitch-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 40px 0;
}

/* Footer Section */
.footer {
    background-color: #1d1d1f;
    padding: 80px 0 40px 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-left {
    flex: 1;
    max-width: 500px;
}

.footer-logo {
    margin-bottom: 32px;
}

.footer-logo-image {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* About Page Styles */
.about-hero {
    padding: 120px 0 100px 0;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F7 100%);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23000000" fill-opacity="0.02"><circle cx="30" cy="30" r="1"/></g></g></svg>');
    opacity: 0.4;
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mission-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.mission-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.mission-text {
    flex: 1;
    max-width: 600px;
}

.mission-highlights {
    flex: 1;
    background: #FAFAFA;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #F1F5F9;
}

.highlight-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.highlight-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
}

.highlight-content p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

.team-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #F1F5F9 100%);
}

.team-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #F1F5F9;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 53, 0.2);
}

.member-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E7EB 100%);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.member-info {
    padding: 32px;
}

.member-details {
    margin: 20px 0 24px 0;
    padding: 20px;
    background: #FAFAFA;
    border-radius: 12px;
    border-left: 4px solid #FF6B35;
}

.detail-text {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF6B35;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    background: rgba(255, 107, 53, 0.05);
}

.linkedin-link:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.trusted-section {
    padding: 80px 0;
    background-color: #1d1d1f;
    text-align: center;
}

.nav-link.active {
    color: #FF6B35;
    font-weight: 500;
}

/* Apply animations to About page elements */
.about-title {
    animation: aboutTitleReveal 0.8s ease 0.2s both;
}

.about-subtitle {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.mission-text {
    animation: missionSlideIn 0.8s ease 0.3s both;
}

.mission-highlights {
    animation: highlightsFadeIn 0.8s ease 0.5s both;
}

.team-member:nth-child(1) {
    animation: teamCardAppear 0.8s ease 0.2s both;
}

.team-member:nth-child(2) {
    animation: teamCardAppear 0.8s ease 0.4s both;
}

.linkedin-link:hover {
    animation: linkedInPulse 0.3s ease;
}
