:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(22, 29, 47, 0.7);
    --bg-card-hover: rgba(30, 41, 66, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --insta-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #111827;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-glow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --shadow-glow: 0 10px 30px -10px rgba(59, 130, 246, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 40%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.brand-icon {
    color: var(--primary);
}

.btn-icon {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

/* Main Content */
.main-content {
    padding: 40px 0 60px;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.hero-card {
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pulse i {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 30px;
}

/* Phone Card */
.phone-display-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
}

[data-theme="light"] .phone-display-card {
    background: rgba(241, 245, 249, 0.9);
}

.phone-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.phone-number-container {
    margin: 15px 0 20px;
}

.phone-number {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-main);
    font-family: 'Outfit', monospace, sans-serif;
}

.phone-alt-format {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.phone-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px -5px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.btn-accent {
    background: var(--accent-gradient);
    color: #ffffff;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.btn-accent:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Social Grid */
.social-connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.instagram-card {
    background: var(--insta-gradient);
}

.whatsapp-card {
    background: var(--whatsapp-gradient);
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.social-icon {
    font-size: 1.8rem;
    margin-right: 15px;
}

.social-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.social-title {
    font-weight: 700;
    font-size: 1rem;
}

.social-sub {
    font-size: 0.825rem;
    opacity: 0.9;
}

.social-arrow {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Info Section */
.info-section {
    margin-bottom: 30px;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.info-card {
    padding: 25px;
    text-align: left;
}

.card-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
}

.sub-detail {
    font-size: 0.8rem !important;
    margin-top: 4px;
    opacity: 0.75;
}

/* Customizer Section */
.customizer-section {
    padding: 30px;
    margin-bottom: 30px;
}

.customizer-header {
    margin-bottom: 20px;
    text-align: left;
}

.customizer-header h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customizer-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.customizer-form {
    display: grid;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

[data-theme="light"] .form-group input {
    background: #ffffff;
}

.form-group input:focus {
    border-color: var(--primary);
}

/* Footer */
.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    margin-top: 8px;
    font-size: 0.8rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #10b981;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 600px) {
    .hero-card {
        padding: 25px 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .phone-number {
        font-size: 1.6rem;
    }

    .phone-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
