:root {
    --bg-dark: #050517;
    --primary: #ff295a;
    --primary-glow: rgba(255, 41, 90, 0.4);
    --text-main: #ffffff;
    --text-muted: #a0a0b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Canvas */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Ambient Shapes */
.ambient-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #411166 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #0a3d8a 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Wrapper */
.wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(5px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 41, 90, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 41, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 41, 90, 0); }
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--primary);
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
}

.aux-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
}

/* Progress Section */
.launch-status {
    width: 100%;
    max-width: 500px;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, #8a1736, var(--primary), #ff7a9b);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 15px var(--primary-glow);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite linear;
    transform: translateX(-100%);
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Countdown */
.countdown-container {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0 3rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.tilt-card {
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.countdown-card {
    width: 110px;
    height: 120px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.08), transparent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tilt-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transform: translateZ(30px);
}

.time-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-main);
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.time-value.pop {
    animation: pop 0.3s ease-out;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: var(--primary); }
    100% { transform: scale(1); }
}

.time-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Social Buttons */
.social-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border-color 0.3s ease;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-btn span:not(.btn-glow) {
    position: relative;
    z-index: 1;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn:hover .btn-glow {
    left: 100%;
}

.social-btn:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

.social-btn:active {
    transform: translateY(1px) scale(0.98);
}

.social-btn.instagram:hover {
    border-color: #E1306C;
    background: linear-gradient(45deg, rgba(253, 29, 29, 0.1), rgba(131, 58, 180, 0.1));
}
.social-btn.instagram:hover svg { stroke: #E1306C; }

.social-btn.behance:hover {
    border-color: #1769ff;
    background: rgba(23, 105, 255, 0.1);
}
.social-btn.behance:hover svg { stroke: #1769ff; }

.social-btn.github:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Services Section */
.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.services-intro {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    max-width: 700px;
    line-height: 1.3;
    color: var(--text-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.service-card .card-content {
    align-items: flex-start;
    text-align: left;
    transform: translateZ(20px);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--glass-border);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Media Queries */
@media (max-width: 768px) {
    .wrapper {
        gap: 5rem;
        padding: 3rem 1.5rem;
    }

    .countdown-container {
        gap: 1rem;
    }
    
    .countdown-card {
        width: calc(50% - 0.5rem);
        max-width: 140px;
    }
    
    .social-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .tilt-card {
        transform: none !important;
    }
}
