/* Smilexa Bridge - Elegant Purple Theme */
:root {
    --primary-color: #8B5CF6; /* Vibrant Purple */
    --secondary-color: #06B6D4; /* Cyan Teal */
    --accent-color: #EC4899; /* Pink Magenta */
    --dark-bg: #0F0B1E; /* Deep Purple Dark */
    --card-bg: rgba(30, 20, 45, 0.85);
    --card-border: rgba(139, 92, 246, 0.2);
    --text-primary: #FFFFFF;
    --text-secondary: #C4B5FD;
    --text-muted: #7C6FA8;
    --success-color: #10B981;
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.4);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #EC4899 0%, #06B6D4 100%);
    --gradient-bg: linear-gradient(135deg, #0F0B1E 0%, #1E1B3E 50%, #0F0B1E 100%);
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Modern Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--gradient-bg);
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-accent);
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    top: 70%;
    right: 10%;
    animation-delay: 6s;
}

.shape-5 {
    width: 220px;
    height: 220px;
    background: var(--gradient-secondary);
    bottom: 50%;
    right: 40%;
    animation-delay: 8s;
}

.shape-6 {
    width: 160px;
    height: 160px;
    background: var(--gradient-accent);
    top: 30%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
    75% { transform: translate(50px, 20px) scale(1.05); }
}

/* Particle System */
.particle-system {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-color);
    animation: particleFloat 12s ease-in-out infinite;
}

.particle:nth-child(1) { top: 15%; left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { top: 25%; right: 25%; animation-delay: 1.5s; }
.particle:nth-child(3) { bottom: 35%; left: 35%; animation-delay: 3s; }
.particle:nth-child(4) { top: 55%; right: 35%; animation-delay: 4.5s; }
.particle:nth-child(5) { bottom: 25%; right: 45%; animation-delay: 6s; }
.particle:nth-child(6) { top: 45%; left: 55%; animation-delay: 7.5s; }
.particle:nth-child(7) { bottom: 15%; left: 20%; animation-delay: 9s; }
.particle:nth-child(8) { top: 70%; right: 15%; animation-delay: 10.5s; }

@keyframes particleFloat {
    0%, 100% { opacity: 0.3; transform: translateY(0) scale(1); }
    50% { opacity: 1; transform: translateY(-100px) scale(1.5); }
}

/* Gradient Mesh */
.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    animation: meshPulse 10s ease-in-out infinite;
}

@keyframes meshPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Coming Soon Container */
.coming-soon-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.logo-icon {
    margin-bottom: 2rem;
}

.icon-wrapper {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-glow);
    animation: iconGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: iconShine 3s ease-in-out infinite;
}

.icon-wrapper i {
    color: white;
    font-size: 3rem;
    z-index: 1;
    position: relative;
}

@keyframes iconGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 60px rgba(139, 92, 246, 0.7); }
}

@keyframes iconShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    line-height: 1;
    animation: titleSlideIn 1.2s ease-out;
}

.title-main {
    color: var(--text-primary);
    display: block;
}

/* .title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
} */

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: subtitleFadeIn 1.2s ease-out 0.3s both;
}

.hero-divider {
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
    animation: dividerGrow 1.2s ease-out 0.6s both;
}

@keyframes titleSlideIn {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes dividerGrow {
    from { width: 0; opacity: 0; }
    to { width: 120px; opacity: 1; }
}

/* Contact Section - Redesigned */
.contact-section {
    margin-bottom: 4rem;
}

.contact-container {
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
    animation: containerSlideUp 1.2s ease-out 0.9s both;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@keyframes containerSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Cards - Redesigned */
.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--card-border);
    border-radius: 30px;
    padding: 4rem 3.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), transparent);
    transition: left 0.8s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: rgba(139, 92, 246, 0.5);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
}

.card-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    padding: 4px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover .card-icon::after {
    opacity: 0.6;
}

.contact-card:hover .card-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: var(--shadow-glow);
}

.card-icon i {
    color: white;
    font-size: 2.2rem;
    z-index: 1;
    position: relative;
}

.card-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-content p {
    color: var(--text-primary);
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
    font-family: var(--font-primary);
    word-break: break-word;
    transition: color 0.3s ease;
}

.contact-card:hover .card-content p {
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Page Styles */
.contact-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    margin-bottom: 4rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1;
    animation: titleSlideIn 1.2s ease-out;
}

.page-subtitle {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    animation: subtitleFadeIn 1.2s ease-out 0.3s both;
}

.header-icon {
    margin-bottom: 2rem;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.info-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

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

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 108, 0, 0.4);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.info-header i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.info-header h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--card-border);
    border-radius: 30px;
    padding: 3.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 108, 0, 0.1), transparent);
    transition: left 0.8s;
}

.contact-form-card:hover::before {
    left: 100%;
}

.contact-form-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 108, 0, 0.4);
}

/* Form Header */
.form-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--card-border);
}

.form-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    animation: iconPulse 3s ease-in-out infinite;
}

.form-icon i {
    color: white;
    font-size: 2rem;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-soft); }
    50% { transform: scale(1.05); box-shadow: var(--shadow-glow); }
}

.form-title h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.form-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    font-family: var(--font-primary);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Form Groups */
.contact-form .form-group {
    margin-bottom: 2rem;
}

.contact-form .form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.contact-form .form-label i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1rem;
}

.contact-form .form-control {
    background: rgba(30, 20, 45, 0.9);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.3rem 1.8rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    font-weight: 500;
    font-family: var(--font-primary);
    width: 100%;
}

.contact-form .form-control:focus {
    background: rgba(40, 30, 55, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
    font-family: var(--font-primary);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-primary);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1.3rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: var(--shadow-soft);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(4px);
}

/* New Message Button */
.btn-new-message {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1.2rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    cursor: pointer;
}

.btn-new-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s;
}

.btn-new-message:hover::before {
    left: 100%;
}

.btn-new-message:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.contact-form {
    position: relative;
    z-index: 1;
}

.success-message {
    background: rgba(0, 255, 148, 0.1);
    border: 2px solid rgba(0, 255, 148, 0.3);
    border-radius: 25px;
    padding: 3.5rem;
    text-align: center;
    margin-top: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 30px rgba(0, 255, 148, 0.15);
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 5rem;
    color: var(--success-color);
    animation: pulse 2s ease-in-out infinite;
}

.success-message h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.8rem;
    font-family: var(--font-display);
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    font-family: var(--font-primary);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .logo-icon .icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .logo-icon .icon-wrapper i {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 2rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .card-content p {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .form-icon {
        width: 70px;
        height: 70px;
    }
    
    .form-icon i {
        font-size: 1.8rem;
    }
    
    .form-title h3 {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .info-header i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-container {
        padding: 2rem;
    }

    .page-title {
        font-size: 3.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo-icon .icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .logo-icon .icon-wrapper i {
        font-size: 2rem;
    }

    .contact-container {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .contact-form .form-control {
        padding: 1.1rem 1.5rem;
    }

    .btn-submit {
        padding: 1.1rem 2rem;
    }

    .success-message {
        padding: 2.5rem;
    }

    .success-icon i {
        font-size: 4rem;
    }

    .success-message h4 {
        font-size: 1.5rem;
    }

    .success-message p {
        font-size: 1rem;
    }
}
