/* Smart-Syncs Custom Styles - Refined by AI UI/UX Designer */

.smart-syncs-page {
    background-color: #080C16; /* Deep dark mode */
    color: #E2E8F0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

.sync-text-cyan { color: #00F0FF; text-shadow: 0 0 10px rgba(0, 240, 255, 0.4); }
.sync-text-emerald { color: #10B981; text-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
.sync-font-mono { font-family: 'Fira Code', monospace; }

/* Glassmorphism utility */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
}

/* 1. Sync Hero Section */
.sync-hero {
    padding: 140px 5% 80px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.sync-hero-glass-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 24px;
    padding: 60px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.sync-hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.sync-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.sync-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #94A3B8;
}

.sync-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sync-hero-actions a {
    flex: 1;
    min-width: 240px;
    text-align: center;
}

.btn-outline-blue {
    background: transparent;
    color: #00F0FF;
    border: 2px solid #00F0FF;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-outline-blue:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-solid-emerald {
    background: #10B981;
    color: #080C16;
    border: 2px solid #10B981;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.btn-solid-emerald:hover {
    background: #0ea5e9; /* Switch color on hover for dynamic effect */
    border-color: #0ea5e9;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

.full-width {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    box-sizing: border-box;
}

.sync-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-laptop {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 240, 255, 0.2));
    /* Bordes difusos (Fade out towards the edges) */
    -webkit-mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Tech Icon Colors */
.electric-blue { color: #00F0FF; filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4)); }
.emerald-green { color: #10B981; filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4)); }
.cyber-purple { color: #A855F7; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4)); }

/* Aurora Text Effect */
.aurora-text {
    background-image: linear-gradient(
        to right,
        #00F0FF,
        #10B981,
        #A855F7,
        #00F0FF
    );
    background-size: 200% auto;
    color: #FFFFFF;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aurora 4s linear infinite;
    display: inline-block;
}

@keyframes aurora {
    to {
        background-position: 200% center;
    }
}

/* 2. Core Tech Section */
.sync-section {
    padding: 80px 5%;
    position: relative;
    z-index: 10;
}

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

.section-header h2 {
    font-size: 2.8rem;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #94A3B8;
}

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

.tech-card {
    padding: 40px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.4);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.tech-card h3 {
    color: #FFFFFF;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.tech-sub {
    font-size: 1rem;
    color: #00F0FF;
    font-family: 'Fira Code', monospace;
}

.tech-card p {
    color: #94A3B8;
    line-height: 1.7;
}

/* 3. Matrix Section */
.matrix-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.matrix-table th, .matrix-table td {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.matrix-table th {
    background: rgba(15, 23, 42, 0.8);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
}

.matrix-table tr:last-child td {
    border-bottom: none;
}

.matrix-table tbody tr {
    transition: background 0.3s ease;
}

.matrix-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

.matrix-table td {
    color: #94A3B8;
    font-size: 0.9rem;
}

.matrix-table td strong {
    color: #E2E8F0;
}

.highlight-col {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981 !important;
}

.highlight-cell {
    background: rgba(16, 185, 129, 0.05);
    color: #10B981 !important;
    font-weight: 600;
}

.matrix-table code {
    background: rgba(0,0,0,0.3);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #00F0FF;
}

/* 4. Pricing Section */
.pricing-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    min-width: 320px;
    padding: 50px 40px;
    position: relative;
    border-top: 4px solid #334155;
}

.pricing-card.recommended {
    border-top: 4px solid #10B981;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.recommended-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #10B981;
    color: #080C16;
    padding: 8px 45px;
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
}

.price span {
    font-size: 1.2rem;
    color: #94A3B8;
    font-weight: 500;
}

.price-dual {
    margin-bottom: 30px;
}

.price-local {
    font-size: 2.8rem;
    font-weight: 900;
    color: #10B981;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
}

.price-local span {
    font-size: 1.1rem;
    color: #94A3B8;
    font-weight: 500;
}

.price-intl {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 10px;
}

.price-intl span {
    font-size: 1rem;
    color: #94A3B8;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.pricing-features li {
    margin-bottom: 16px;
    color: #E2E8F0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.pricing-features li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    font-size: 1.2rem;
}

.limit-feature {
    color: #F87171 !important;
}

.limit-feature::before {
    content: "⚠️" !important;
}

/* =========================================
   CHECKOUT PAGE STYLES
========================================= */

.checkout-section {
    padding: 120px 5% 80px;
    position: relative;
    z-index: 10;
}

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

.checkout-header {
    text-align: center;
    margin-bottom: 50px;
}

.checkout-header h1 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.checkout-header p {
    color: #94A3B8;
    font-size: 1.1rem;
}

.checkout-step {
    display: flex;
    gap: 30px;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #10B981;
    color: #080C16;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h2 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-desc {
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #E2E8F0;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

.required {
    color: #F87171;
}

.form-input, .cyber-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cyber-input {
    font-family: 'Fira Code', monospace;
    color: #39FF14;
    border-color: rgba(57, 255, 20, 0.3);
    background: rgba(0,0,0,0.5);
}

.form-input:focus, .cyber-input:focus {
    outline: none;
    border-color: #00F0FF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.method-card {
    cursor: pointer;
    height: 100%;
}

.method-card input {
    display: none;
}

.method-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    color: #94A3B8;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    box-sizing: border-box;
}

.method-card input:checked + .method-box {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10B981;
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.payment-details {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.payment-info {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 30px;
}

.payment-info p {
    color: #E2E8F0;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.85rem;
}

.copy-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.copy-row p {
    margin-bottom: 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-grid .form-group {
    margin-bottom: 0;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10B981;
    color: #10B981;
    transform: translateY(-2px);
}

.copy-btn.copied {
    background: #10B981;
    color: #080C16;
    border-color: #10B981;
}

/* Custom File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-input-hidden {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.8);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: #94A3B8;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.file-upload-label:hover {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.05);
    color: #FFFFFF;
}

.file-upload-label svg {
    color: #10B981;
    flex-shrink: 0;
}

#file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.text-small {
    font-size: 0.85rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Confirm Payment Button (Darker Emerald) */
.btn-confirm-payment {
    background: #047857; /* Tailwind emerald-700 */
    color: #FFFFFF;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.3);
}

.btn-confirm-payment:hover {
    background: #065F46; /* Tailwind emerald-800 */
    border-color: #10B981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Magic Card Effect */
.magic-card {
    position: relative;
    overflow: hidden;
}

.magic-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        160px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(0, 240, 255, 0.15),
        transparent 40%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.magic-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(
        120px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(0, 240, 255, 0.4),
        transparent 40%
    );
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.magic-card:hover::before,
.magic-card:hover::after {
    opacity: 1;
}

.magic-card > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .checkout-step {
        flex-direction: column;
        padding: 25px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .payment-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .payment-info {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 20px;
        margin-bottom: 0;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .sync-hero-glass-panel {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .sync-hero-actions {
        justify-content: center;
    }
    .pricing-card.recommended {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .sync-hero-title {
        font-size: 2.5rem;
    }
    .price-local {
        font-size: 2.2rem;
    }
}
