/* ============================================
   ASKAN REAL ESTATE - LAUNCHING SOON PAGE
   Premium Design with Animated Background
   ============================================ */

/* CSS Variables */
:root {
    --color-gold: #D4AF37;
    --color-gold-light: #F4E4BC;
    --color-gold-dark: #B8950A;
    --color-bg-dark: #0A0A0F;
    --color-bg-medium: #12121A;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.4);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Gradient Background */
.gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(18, 18, 26, 1) 0%, rgba(10, 10, 15, 1) 100%);
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -10px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 50%;
    animation: floatUp linear infinite;
    pointer-events: none;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: shapeFloat 20s ease-in-out infinite;
    transition: transform 0.3s ease-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    border-radius: 50%;
    animation-delay: -3s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 5%;
    border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%;
    animation-delay: -7s;
}

.shape-6 {
    width: 180px;
    height: 180px;
    top: 5%;
    right: 40%;
    border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
    animation-delay: -12s;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 10px) rotate(-3deg);
    }

    75% {
        transform: translate(15px, 15px) rotate(3deg);
    }
}

/* Glowing Orbs */
.glow-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbPulse 10s ease-in-out infinite;
    transition: transform 0.5s ease-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.15);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(212, 175, 55, 0.1);
    bottom: -150px;
    right: -150px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(184, 149, 10, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-wrapper {
    text-align: center;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BRAND SECTION
   ============================================ */

.brand-section {
    margin-bottom: 25px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
    }
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.3em;
    margin-right: -0.3em;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.5em;
    margin-right: -0.5em;
    color: var(--color-text-secondary);
    margin-top: 10px;
}

/* ============================================
   LAUNCH SECTION
   ============================================ */

.launch-section {
    margin-bottom: 25px;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gold-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    }
}

.launch-badge {
    margin-bottom: 15px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.launch-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.launch-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   DECORATIVE LINE
   ============================================ */

.decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.decorative-line span {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.diamond {
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    transform: rotate(45deg);
    animation: diamondPulse 2s ease-in-out infinite;
}

@keyframes diamondPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: rotate(45deg) scale(1);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.2);
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 16px;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-section {
        flex-direction: row;
        gap: 25px;
        padding: 20px 35px;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 3px;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-primary);
    white-space: nowrap;
}

.contact-link {
    text-decoration: none;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-gold);
}

.contact-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: none;
}

@media (min-width: 768px) {
    .contact-divider {
        display: block;
    }
}

/* WhatsApp Styling */
.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.05);
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.15) !important;
    border-color: rgba(37, 211, 102, 0.3) !important;
    color: #25D366 !important;
}

.whatsapp-link:hover .whatsapp-icon {
    background: rgba(37, 211, 102, 0.25) !important;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-5 {
        width: 180px;
        height: 180px;
    }

    .orb-1,
    .orb-2 {
        filter: blur(60px);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .main-content {
        padding: 15px;
        padding-top: env(safe-area-inset-top, 15px);
        padding-bottom: env(safe-area-inset-bottom, 15px);
    }

    .brand-section {
        margin-bottom: 20px;
    }

    .logo-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }

    .brand-name {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: 0.2em;
        margin-right: -0.2em;
    }

    .brand-tagline {
        font-size: 0.85rem;
        letter-spacing: 0.3em;
        margin-right: -0.3em;
        margin-top: 8px;
    }

    .launch-section {
        margin-bottom: 20px;
    }

    .launch-badge {
        padding: 8px 18px;
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .launch-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 8px;
    }

    .launch-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .decorative-line {
        margin-bottom: 20px;
        gap: 12px;
    }

    .decorative-line span {
        width: 50px;
    }

    .diamond {
        width: 8px;
        height: 8px;
    }

    /* Hide some shapes on tablet */
    .shape-1,
    .shape-5,
    .shape-6 {
        display: none;
    }

    .orb-1,
    .orb-2,
    .orb-3 {
        filter: blur(50px);
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .main-content {
        padding: 12px;
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .content-wrapper {
        max-width: 100%;
    }

    .brand-section {
        margin-bottom: 18px;
    }

    .logo-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .brand-name {
        font-size: 2.2rem;
        letter-spacing: 0.15em;
        margin-right: -0.15em;
    }

    .brand-tagline {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
        margin-right: -0.25em;
        margin-top: 6px;
    }

    .launch-section {
        margin-bottom: 18px;
    }

    .launch-badge {
        padding: 7px 14px;
        font-size: 0.7rem;
        gap: 8px;
        margin-bottom: 10px;
    }

    .pulse-dot {
        width: 6px;
        height: 6px;
    }

    .launch-title {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .launch-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .decorative-line {
        margin-bottom: 18px;
        gap: 10px;
    }

    .decorative-line span {
        width: 35px;
    }

    .diamond {
        width: 7px;
        height: 7px;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 15px 12px;
        gap: 12px;
        border-radius: 14px;
        width: calc(100% - 10px);
    }

    .contact-item {
        gap: 10px;
        width: 100%;
        justify-content: flex-start;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 10px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-label {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }

    .contact-value {
        font-size: 0.85rem;
    }

    .whatsapp-link {
        width: 100%;
        justify-content: flex-start;
    }

    /* Hide most shapes on mobile for performance */
    .shape-1,
    .shape-2,
    .shape-3,
    .shape-5,
    .shape-6 {
        display: none;
    }

    .shape-4 {
        width: 60px;
        height: 60px;
        opacity: 0.5;
    }

    /* Reduce orb complexity on mobile */
    .orb-1 {
        width: 250px;
        height: 250px;
        filter: blur(40px);
    }

    .orb-2 {
        width: 300px;
        height: 300px;
        filter: blur(40px);
    }

    .orb-3 {
        width: 200px;
        height: 200px;
        filter: blur(30px);
    }
}

/* Very Small Phones (iPhone SE, etc.) */
@media (max-width: 375px) {
    html {
        font-size: 14px;
    }

    .main-content {
        padding: 10px;
    }

    .brand-name {
        font-size: 1.9rem;
        letter-spacing: 0.1em;
        margin-right: -0.1em;
    }

    .brand-tagline {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        margin-right: -0.2em;
    }

    .launch-badge {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    .launch-title {
        font-size: 1.25rem;
    }

    .launch-subtitle {
        font-size: 0.8rem;
    }

    .contact-section {
        padding: 12px 10px;
        gap: 10px;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-value {
        font-size: 0.8rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .main-content {
        padding: 10px 20px;
        min-height: auto;
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .brand-section {
        margin-bottom: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 5px;
    }

    .brand-name {
        font-size: 1.8rem;
    }

    .brand-tagline {
        font-size: 0.7rem;
        margin-top: 4px;
    }

    .launch-section {
        margin-bottom: 10px;
    }

    .launch-badge {
        margin-bottom: 8px;
        padding: 5px 12px;
    }

    .launch-title {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .launch-subtitle {
        font-size: 0.8rem;
    }

    .decorative-line {
        margin-bottom: 10px;
    }

    .contact-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 15px;
        gap: 15px;
    }

    .contact-divider {
        display: none;
    }

    /* Hide shapes in landscape */
    .floating-shapes {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .contact-icon {
        min-width: 44px;
        min-height: 44px;
    }

    .contact-link,
    .whatsapp-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Disable hover effects on touch */
    .whatsapp-link:hover {
        transform: none;
    }

    .whatsapp-link:active {
        transform: scale(0.98);
    }

    .contact-link:hover {
        color: var(--color-text-primary);
    }

    .contact-link:active {
        color: var(--color-gold);
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .shape {
        border-width: 0.5px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particles,
    .floating-shapes,
    .glow-orbs {
        display: none;
    }
}

/* Dark mode adjustments (if system prefers) */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* Print Styles */
@media print {
    .background-container {
        display: none;
    }

    .main-content {
        background: white;
        color: black;
    }

    .brand-name {
        -webkit-text-fill-color: #D4AF37;
        color: #D4AF37;
    }
}