/* Custom Styles for Construction Page */

:root {
    --bg-dark: #0f172a;
    --bg-slate: #1e293b;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --orange-400: #fb923c;
    --orange-500: #f97316;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.05;
}

.glow-1 {
    width: 280px;
    height: 280px;
    background: var(--amber-500);
    top: 80px;
    left: 40px;
}

.glow-2 {
    width: 380px;
    height: 380px;
    background: var(--orange-500);
    bottom: 80px;
    right: 40px;
}

.glow-3 {
    width: 800px;
    height: 800px;
    background: #eab308;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.03;
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 20px;
}

/* Logo Section */
.logo-section {
    animation: fadeInDown 0.8s ease-out;
}

.logo-box {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-letter {
    color: #0f172a;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* Icon Section */
.icon-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

.main-icon {
    position: relative;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    border-radius: 16px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25);
}

.main-icon i {
    font-size: 3rem;
    color: #0f172a;
    animation: bounceSlow 2s ease-in-out infinite;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-gear {
    width: 32px;
    height: 32px;
    top: -8px;
    right: calc(50% - 60px);
    animation: floatDelayed 3s ease-in-out infinite;
}

.floating-gear span {
    color: var(--amber-400);
    font-size: 1.1rem;
}

.floating-wrench {
    width: 24px;
    height: 24px;
    bottom: -4px;
    left: calc(50% - 55px);
    animation: float 3s ease-in-out infinite;
}

.floating-wrench span {
    color: var(--orange-400);
    font-size: 0.8rem;
}

/* Main Heading */
.main-heading {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.gradient-text {
    background: linear-gradient(90deg, var(--amber-400), var(--orange-400), var(--amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.subtitle {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Progress Section */
.progress-section {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.progress-label {
    color: #cbd5e1;
    font-weight: 500;
}

.progress-percent {
    color: var(--amber-400);
    font-weight: 700;
}

.progress {
    height: 12px;
    background: #334155;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--amber-400), var(--orange-500));
    border-radius: 6px;
    transition: width 1s ease-out;
}

/* Subscription Section */
.subscription-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.input-group-text {
    border-right: none;
}

.form-control {
    border-left: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--amber-500);
}

.btn-warning {
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    border: none;
    color: #0f172a;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(90deg, var(--amber-400), var(--orange-400));
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

/* Success Message */
.success-message {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    padding: 1rem;
    animation: fadeIn 0.5s ease-out;
}

/* Social Links */
.social-links {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--amber-400);
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.1rem;
}

/* Footer */
.footer-text {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes floatDelayed {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-5deg);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .main-heading {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-icon {
        width: 80px;
        height: 80px;
    }
    
    .main-icon i {
        font-size: 2.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group > * {
        width: 100%;
        border-radius: 0.375rem !important;
        margin-bottom: 0.5rem;
    }
    
    .input-group-text {
        border-right: 1px solid #475569;
        justify-content: center;
    }
    
    .form-control {
        border-left: 1px solid #475569;
    }
}

/* Selection */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
