/* ========================================
   NEW TEMPLATE COMPONENTS
   ======================================== */

/* Header Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ffffff, var(--accent-green), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    /* Mantener el logo original del lobo sin filtros */
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #4ade80;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    position: relative;
    padding: 10px 18px;
    border-radius: 25px;
    transition: color 0.3s ease;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
}

.nav-links a:hover {
    color: #22c55e;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
}

.nav-btn {
    background: var(--accent-green);
    color: #000000 !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    transform: translate(0, -50%);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(0, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(0, -50%) scale(1.1); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    font-family: 'Inter', sans-serif;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-green), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-green);
    color: var(--primary-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--green-glow);
}

/* iPhone Mockup */
.iphone-container {
    position: relative;
    animation: fadeInRight 1s ease-out;
    display: flex;
    justify-content: center;
}

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

.iphone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1c1c1e;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 
        0 0 0 12px #2c2c2e,
        0 0 0 14px #000,
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 60px 120px rgba(0, 0, 0, 0.6);
    transform: perspective(1200px) translateZ(0);
    transform-style: preserve-3d;
}

.iphone-mockup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.3) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(16, 185, 129, 0.2) 100%);
    border-radius: 40px;
    opacity: 0;
    animation: glow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes glow {
    0%, 100% { 
        opacity: 0;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

.iphone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transform: translateZ(20px);
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.iphone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.03), 
        transparent);
    animation: shimmer 8s infinite;
}

.iphone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 20%,
        transparent 80%,
        rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1c1c1e;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.app-content {
    padding: 35px 15px 15px;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Status bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.status-time {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 10px;
}

/* App header */
.app-header {
    background: linear-gradient(135deg, var(--green-dark), var(--accent-green));
    padding: 8px 10px;
    border-radius: 16px;
    margin-bottom: 8px;
    border: 2px solid rgba(74, 222, 128, 0.6);
    box-shadow: 
        0 0 15px rgba(74, 222, 128, 0.4),
        0 0 25px rgba(74, 222, 128, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    margin-left: 8px;
    margin-right: 8px;
}

.app-header::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    background: linear-gradient(45deg, 
        rgba(74, 222, 128, 0.8) 0%, 
        rgba(34, 197, 94, 0.8) 25%, 
        rgba(74, 222, 128, 0.8) 50%, 
        rgba(34, 197, 94, 0.8) 75%, 
        rgba(74, 222, 128, 0.8) 100%);
    background-size: 200% 200%;
    animation: borderGlow 3s linear infinite;
    z-index: -1;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.app-logo-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.app-logo-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.app-logo-text {
    color: #000000;
    font-size: 14px;
    font-weight: 700;
}

.app-subtitle {
    color: #000000;
    font-size: 11px;
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-label {
    color: #000000;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 4px;
}

.scroll-arrow {
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-arrow:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

/* Bot list */
.bot-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    scroll-behavior: smooth;
    transition: all 0.1s ease-out;
}

/* Scrollbar personalizado para el teléfono */
.bot-list::-webkit-scrollbar {
    width: 4px;
}

.bot-list::-webkit-scrollbar-track {
    background: rgba(128, 128, 128, 0.2);
    border-radius: 2px;
}

.bot-list::-webkit-scrollbar-thumb {
    background: rgba(96, 96, 96, 0.8);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.bot-list::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 128, 128, 0.9);
}

/* Para Firefox */
.bot-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 96, 96, 0.8) rgba(128, 128, 128, 0.2);
}

/* Section labels */
.section-label {
    color: #666;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0 10px 5px;
    font-weight: 600;
}

.section-label:first-child {
    margin-top: 5px;
}

.bot-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bot-card:nth-child(2) { animation-delay: 0.1s; }
.bot-card:nth-child(3) { animation-delay: 0.2s; }
.bot-card:nth-child(4) { animation-delay: 0.3s; }
.bot-card:nth-child(6) { animation-delay: 0.4s; }
.bot-card:nth-child(8) { animation-delay: 0.5s; }

.bot-card:hover {
    background: #222;
    border-color: var(--accent-green);
    transform: translateX(5px);
}

.bot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-green), var(--green-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bot-info {
    flex: 1;
}

.bot-name {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
}

/* Tags styles */
.bot-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 3px;
}

.tag {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.bot-status {
    color: #888;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.bot-metric {
    text-align: right;
}

.bot-metric-value {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.bot-metric-label {
    color: #666;
    font-size: 8px;
    text-transform: uppercase;
}

/* System cards */
.system-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(42, 42, 42, 0.5);
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: slideIn 0.6s ease-out forwards;
    opacity: 0;
}

.system-card:nth-child(7) { animation-delay: 0.5s; }
.system-card:nth-child(8) { animation-delay: 0.6s; }
.system-card:nth-child(9) { animation-delay: 0.7s; }

.system-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateX(5px);
    background: rgba(26, 26, 26, 0.8);
}

.system-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.system-info {
    flex: 1;
}

.system-name {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.system-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tag-system {
    background: rgba(16, 185, 129, 0.08);
    color: #888;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 500;
    border: 1px solid rgba(42, 42, 42, 0.8);
}

.system-arrow {
    color: rgba(16, 185, 129, 0.6);
    font-size: 16px;
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 100px 40px;
    background: var(--secondary-dark);
}

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

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.2px;
    font-family: 'Inter', sans-serif;
}

.section-title .highlight {
    color: var(--accent-green);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--green-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 40px;
    background: var(--primary-dark);
    text-align: center;
    position: relative;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-green);
    color: var(--primary-dark);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--green-glow);
}

/* Automation Info Section */
.automation-info {
    margin-top: 60px;
    padding: 40px;
    background: rgba(74, 222, 128, 0.05);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 20px;
    text-align: center;
}

.automation-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 16px;
}

.automation-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.automation-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.automation-tag {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(74, 222, 128, 0.3);
    transition: all 0.3s ease;
}

.automation-tag:hover {
    background: rgba(74, 222, 128, 0.2);
    transform: translateY(-2px);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-cta {
    background: #25D366 !important;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-cta:hover {
    background: #128C7E !important;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.consultation-cta {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.consultation-cta:hover {
    background: var(--accent-green);
    color: var(--primary-dark);
}

/* Clickable Cards in iPhone Mockup */
.bot-card-clickable,
.system-card-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bot-card-clickable:hover,
.system-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.3);
}

.bot-card-clickable::before,
.system-card-clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.bot-card-clickable:hover::before,
.system-card-clickable:hover::before {
    left: 100%;
}

/* Click feedback */
.bot-card-clickable:active,
.system-card-clickable:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.2);
}

/* Click indicator */
.bot-card-clickable::after,
.system-card-clickable::after {
    content: '👆';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bot-card-clickable:hover::after,
.system-card-clickable:hover::after {
    opacity: 0.7;
}

/* Modern Footer */
.modern-footer {
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-gray);
    padding: 60px 40px 30px;
}

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

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-nav-section h4 {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-nav-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-green);
    border-radius: 1px;
}

.footer-nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-section li {
    margin-bottom: 12px;
}

.footer-nav-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

.footer-nav-section a:hover {
    color: var(--accent-green);
    padding-left: 8px;
}

.footer-nav-section a:hover::before {
    content: '→';
    position: absolute;
    left: -8px;
    color: var(--accent-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-gray);
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-tech {
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px var(--green-glow);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--green-glow);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-dark);
}

/* AI Agents Section */
.ai-agents-section {
    background: var(--secondary-dark);
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.ai-agents-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, var(--green-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--green-glow) 0%, transparent 50%);
    pointer-events: none;
}

.ai-agents-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.ai-agents-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
    letter-spacing: -1px;
}

.ai-agents-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--green-light) 100%);
    border-radius: 2px;
}

.ai-agents-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.ai-agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.ai-agent-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.ai-agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.ai-agent-card:hover::before {
    transform: translateX(100%);
}

.ai-agent-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px var(--green-glow);
}

.agent-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--green-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-dark);
    position: relative;
    overflow: hidden;
    font-size: 28px;
}

.agent-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.agent-icon svg {
    width: 48px;
    height: 48px;
    z-index: 1;
    position: relative;
}

.agent-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.agent-description {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
}

.agent-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.feature-tag {
    background: var(--green-glow);
    color: var(--accent-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--green-glow);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.agent-cta {
    width: 100%;
    background: var(--accent-green);
    color: var(--primary-dark);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.agent-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.agent-cta:hover::before {
    left: 100%;
}

.agent-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--green-glow);
}

.agent-cta:active {
    transform: translateY(0);
}

/* Demo link styles */
.agent-demo {
    margin-bottom: 20px;
    margin-top: auto;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 59, 48, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-link:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.2);
    color: #ff3b30;
}

.demo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.demo-link:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .iphone-container {
        margin-top: 50px;
    }

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

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .ai-agents-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .iphone-mockup {
        width: 250px;
        height: 500px;
    }

    .ai-agents-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-agent-card {
        padding: 24px;
        min-height: 420px;
    }
    
    .agent-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }
    
    .agent-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .agent-title {
        font-size: 20px;
    }
    
    .agent-description {
        font-size: 14px;
    }
    
    .agent-cta {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .demo-link {
        font-size: 13px;
        padding: 8px 14px;
    }
}