:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #60a5fa;
    --accent: #93c5fd;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    z-index: -1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(147, 197, 253, 0.2) 0%, transparent 50%);
    animation: moveGradient 15s ease-in-out infinite;
}

@keyframes moveGradient {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-3%, 3%) scale(1.1); }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    animation: pulseOverlay 10s ease-in-out infinite;
}

@keyframes pulseOverlay {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20% 30%, white, transparent),
        radial-gradient(3px 3px at 60% 70%, white, transparent),
        radial-gradient(2px 2px at 50% 50%, white, transparent),
        radial-gradient(2px 2px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(255,255,255,0.7), transparent);
    background-size: 200% 200%, 250% 250%, 300% 300%, 200% 200%, 180% 180%, 220% 220%, 240% 240%;
    animation: particles 25s linear infinite;
    opacity: 0.4;
}

@keyframes particles {
    0%, 100% { 
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; 
    }
    25% { 
        background-position: 100% 100%, 0% 50%, 50% 50%, 100% 0%, 30% 70%, 80% 20%, 60% 90%; 
    }
    50% { 
        background-position: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 60% 40%, 40% 60%, 20% 80%; 
    }
    75% { 
        background-position: 0% 100%, 100% 100%, 50% 50%, 0% 100%, 90% 10%, 10% 90%, 70% 30%; 
    }
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-stat i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.3));
}

.btn-login {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero Content */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1f2937;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    margin: 0 auto;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 30px;
    overflow: hidden;
    padding: 20px;
}

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.user {
    flex-direction: row-reverse;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.bubble {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 200px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.ai .bubble {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.message.user .bubble {
    background: var(--primary);
    color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Features Section */
.features {
    padding: 100px 30px;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 20px;
}

.feature-icon.purple { background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); }
.feature-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.feature-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.feature-icon.orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.feature-icon.red { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.feature-icon.teal { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }
.feature-icon.indigo { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.feature-icon.pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Technology Section */
.technology {
    padding: 100px 30px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: var(--white);
}

.technology .section-title {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tech-item {
    text-align: center;
}

.tech-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.tech-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.tech-item p {
    opacity: 0.8;
}

/* Admin Preview */
.admin-preview {
    padding: 100px 30px;
    background: var(--light);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.preview-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.preview-item i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.preview-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.preview-item p {
    color: #64748b;
    line-height: 1.6;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card {
    position: absolute;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s;
}

.float-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.float-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: floatCard1 6s ease-in-out infinite;
}

.card-2 {
    top: 15%;
    right: 15%;
    animation: floatCard2 7s ease-in-out infinite;
}

.card-3 {
    bottom: 20%;
    left: 15%;
    animation: floatCard3 8s ease-in-out infinite;
}

.card-4 {
    bottom: 15%;
    right: 10%;
    animation: floatCard4 7.5s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -15px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 10px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, 10px); }
}

@keyframes floatCard4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -15px); }
}

/* CTA Section */
.cta {
    padding: 100px 30px;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.btn-cta {
    padding: 18px 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

/* Footer */
.footer {
    background: #0f172a;
    color: var(--white);
    padding: 60px 30px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.7;
    margin-top: 15px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Login Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-overlay.active {
    display: flex;
}

.login-container {
    background: var(--white);
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark);
    transition: all 0.3s;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.login-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-left {
    padding: 60px 50px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.login-brand i {
    font-size: 2.5rem;
    color: var(--primary);
}

.login-brand h2 {
    font-size: 2rem;
    color: var(--dark);
}

.login-left h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.login-left > p {
    color: #64748b;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.login-footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.login-footer p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.login-footer code {
    background: #f1f5f9;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--primary);
}

.login-right {
    background: var(--gradient);
    padding: 60px 50px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-illustration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.login-illustration i {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.login-right h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.login-features {
    list-style: none;
}

.login-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.login-features i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
    }
    
    .login-content {
        grid-template-columns: 1fr;
    }
    
    .login-right {
        display: none;
    }
    
    .nav-info {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-stat {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-info {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .btn-login {
        width: 100%;
        justify-content: center;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-logo-large img {
        width: 160px;
        height: 160px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand,
    .footer-links {
        text-align: center;
    }
    
    .login-left {
        padding: 40px 30px;
    }
    
    .floating-elements {
        height: 300px;
    }
    
    .float-card {
        font-size: 0.85rem;
        padding: 15px 20px;
    }
}


/* Bot¨Žn de descarga */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.btn-download i {
    font-size: 1.5rem;
}

.logo img {
    border-radius: 12px;
    object-fit: contain;
}

/* Logo grande en hero */
.hero-logo-large {
    margin-bottom: 30px;
    position: relative;
}

.hero-logo-large img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 80px rgba(37, 99, 235, 0.4), inset 0 0 40px rgba(255,255,255,0.1);
    animation: floatRotate 8s ease-in-out infinite;
}

@keyframes floatRotate {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 80px rgba(37, 99, 235, 0.4), inset 0 0 40px rgba(255,255,255,0.1);
    }
    33% { 
        transform: translateY(-10px) scale(1.1);
        box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 100px rgba(59, 130, 246, 0.6), inset 0 0 50px rgba(255,255,255,0.15);
    }
    66% { 
        transform: translateY(-5px) scale(1.15);
        box-shadow: 0 35px 90px rgba(0,0,0,0.5), 0 0 120px rgba(96, 165, 250, 0.7), inset 0 0 60px rgba(255,255,255,0.2);
    }
}

/* Avatar en chat preview */
.avatar {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


/* Connections Section */
.connections {
    padding: 100px 30px;
    background: var(--white);
}

.connections-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.connection-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding: 25px;
    background: var(--light);
    border-radius: 16px;
    transition: all 0.3s;
}

.connection-item:hover {
    background: #e2e8f0;
    transform: translateX(10px);
}

.connection-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.connection-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.connection-item p {
    color: #64748b;
    line-height: 1.6;
}

.connections-visual {
    position: sticky;
    top: 100px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 50px 40px;
    border-radius: 24px;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.security-badge {
    text-align: center;
    margin-bottom: 40px;
}

.security-badge i {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.security-badge h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.security-badge p {
    opacity: 0.8;
    font-size: 1.1rem;
}

.encryption-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flow-step i {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 50%;
}

.flow-step span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.flow-arrow {
    font-size: 1.5rem;
    opacity: 0.6;
}

.security-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.security-item i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.security-item span {
    font-weight: 600;
}

@media (max-width: 1024px) {
    .connections-content {
        grid-template-columns: 1fr;
    }
    
    .connections-visual {
        position: relative;
        top: 0;
    }
    
    .encryption-flow {
        flex-direction: column;
        gap: 20px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .connections {
        padding: 60px 20px;
    }
    
    .connection-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .connection-item:hover {
        transform: translateX(0);
        transform: translateY(-5px);
    }
    
    .connection-icon {
        margin: 0 auto;
    }
    
    .connections-visual {
        padding: 30px 20px;
    }
    
    .security-badge i {
        font-size: 3rem;
    }
    
    .security-badge h3 {
        font-size: 1.5rem;
    }
    
    .encryption-flow {
        padding: 20px 15px;
    }
    
    .flow-step i {
        font-size: 2rem;
        padding: 15px;
    }
    
    .flow-step span {
        font-size: 0.8rem;
    }
    
    .flow-arrow {
        font-size: 1.2rem;
    }
}
