/* ================================================
   DateViser Website Styles
   ================================================ */

/* === BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(88, 66, 230, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(180, 58, 170, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(64, 46, 140, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, #1a0b33 0%, #2a1a4d 30%, #3d2456 60%, #1f1642 100%);
    min-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === LAYOUT === */
.main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* === ANIMATED BUBBLES === */
.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
    animation: float-bubble 25s ease-in-out infinite;
    border: 2px solid rgba(168, 85, 247, 0.2);
}

.bubble-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.15), transparent 70%);
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.15), transparent 70%);
    top: 55%;
    right: 12%;
    animation-delay: 8s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 35% 35%, rgba(139, 92, 246, 0.12), transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.1), transparent 70%);
    top: 35%;
    right: 8%;
    animation-delay: 6s;
}

.bubble-5 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.12), transparent 70%);
    top: 65%;
    left: 45%;
    animation-delay: 12s;
}

.bubble-6 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.1), transparent 70%);
    top: 15%;
    right: 25%;
    animation-delay: 3s;
}

@keyframes float-bubble {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(15px, -20px);
    }
    50% {
        transform: translate(-15px, 25px);
    }
    75% {
        transform: translate(20px, 15px);
    }
}

/* === PHONE MOCKUP === */
.phone-mockup {
    width: fit-content;
    height: fit-content;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

/* Hover effect only on desktop (pointer devices) */
@media (hover: hover) and (pointer: fine) {
    .phone-mockup {
        transition: transform 0.3s ease;
    }

    .phone-mockup:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

.phone-screen {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 20px rgba(0, 0, 0, 0.8);
    height: 770px;
    width: 355px;
}

.phone-screen img {
    display: block;
}

/* === CAROUSEL === */
.screenshot-carousel {
    display: flex;
    background: #000;
    height: 100%;
    transition: transform 0.5s ease-out;
    cursor: grab;
}

.screenshot-carousel:active {
    cursor: grabbing;
}

.screenshot-carousel img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* === CONTENT === */
.content {
    color: white;
    max-width: 450px;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.app-title {
    font-size: 64px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 400;
}

/* === HERO BADGE === */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge .laurel {
    font-size: 18px;
}

.hero-badge .badge-text {
    font-size: 14px;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 1px;
}

/* === FEATURES === */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-content {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.feature-desc {
    font-size: 13px;
    opacity: 0.75;
    color: white;
}

/* === DOWNLOAD BUTTONS === */
.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
}

.download-btn-wrapper {
    position: relative;
    display: inline-block;
}

.coming-soon-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a0b33;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.5px;
    z-index: 10;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.download-btn .badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.download-btn .badge-small {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.download-btn .badge-large {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.download-btn svg {
    width: 34px;
    height: 34px;
    fill: white;
}

/* === FIXED DOWNLOAD BUTTONS (MOBILE) === */
.download-buttons-fixed {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(26, 11, 51, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.lang-dropdown {
    position: relative;
}

.lang-current {
    background: rgba(26, 11, 51, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 35px 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.lang-current:hover {
    background: rgba(26, 11, 51, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-current::after {
    content: '▼';
    position: absolute;
    right: 12px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-dropdown.active .lang-current::after {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(26, 11, 51, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    padding: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 16px;
    width: 100%;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-option.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.lang-flag {
    font-size: 18px;
}

/* === LINKS === */
.links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.85;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
    font-weight: 500;
}

.link:hover {
    opacity: 1;
    border-bottom-color: white;
    transform: translateY(-2px);
}

/* === SOCIAL LINKS === */
.social-section {
    margin-top: 20px;
}

.social-title {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal:target {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 50px;
    max-width: 650px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.modal-content h2 {
    color: #1a1a1a;
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 700;
}

.modal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 16px;
}

.modal-content strong {
    color: #333;
    font-weight: 600;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* === TABLET & MOBILE === */
@media (max-width: 968px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
        display: block;
        padding: 50px 20px 120px 20px;
    }

    .main-wrapper {
        min-height: auto;
        overflow: visible;
        padding: 0;
    }

    .container {
        flex-direction: column;
        gap: 50px;
        padding-top: 0;
    }

    .download-buttons {
        display: none !important;
    }

    .download-buttons-fixed {
        display: flex !important;
    }

    .download-buttons-fixed .download-btn-wrapper {
        display: none !important;
    }

    .download-buttons-fixed .download-btn.show {
        display: inline-flex !important;
    }

    .download-buttons-fixed .download-btn-wrapper:has(.download-btn.show) {
        display: inline-block !important;
    }

    .download-buttons-fixed {
        width: auto;
        max-width: 90%;
    }

    .phone-mockup {
        padding: 8px;
        border-radius: 35px;
    }

    .phone-screen {
        height: 550px;
        width: 254px;
        border-radius: 30px;
    }

    .carousel-dots {
        bottom: 20px;
        padding: 6px 12px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .content {
        max-width: 100%;
    }

    .hero-badge {
        margin-left: 0;
        margin-right: auto;
    }

    .hero-badge .laurel {
        font-size: 16px;
    }

    .hero-badge .badge-text {
        font-size: 12px;
    }

    .logo-title {
        justify-content: flex-start;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .app-title {
        font-size: 48px;
    }

    .tagline {
        font-size: 20px;
    }

    .features-list {
        align-items: flex-start;
        gap: 12px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-desc {
        font-size: 12px;
    }

    .download-buttons-fixed .download-btn {
        padding: 10px 20px;
    }

    .download-buttons-fixed .download-btn svg {
        width: 26px;
        height: 26px;
    }

    .download-buttons-fixed .download-btn .badge-small {
        font-size: 9px;
    }

    .download-buttons-fixed .download-btn .badge-large {
        font-size: 15px;
    }

    .links {
        justify-content: flex-start;
        gap: 24px;
    }

    .link {
        font-size: 14px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* === MOBILE SMALL === */
@media (max-width: 480px) {
    body {
        padding: 40px 16px 140px 16px;
    }

    .main-wrapper {
        padding: 0;
    }

    .container {
        gap: 40px;
        padding-top: 0;
    }

    .phone-mockup {
        padding: 6px;
        border-radius: 30px;
    }

    .phone-screen {
        height: 462px;
        width: 213px;
        border-radius: 26px;
    }

    .carousel-dots {
        bottom: 15px;
        padding: 5px 10px;
        gap: 8px;
    }

    .dot {
        width: 5px;
        height: 5px;
    }

    .hero-badge {
        padding: 6px 16px;
    }

    .hero-badge .laurel {
        font-size: 14px;
    }

    .hero-badge .badge-text {
        font-size: 11px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .app-title {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .features-list {
        gap: 10px;
        margin-bottom: 30px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .feature-title {
        font-size: 13px;
    }

    .feature-desc {
        font-size: 11px;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .download-btn svg {
        width: 26px;
        height: 26px;
    }

    .download-btn .badge-small {
        font-size: 9px;
    }

    .download-btn .badge-large {
        font-size: 15px;
    }

    .links {
        gap: 20px;
        margin-bottom: 30px;
    }

    .link {
        font-size: 13px;
    }

    .social-title {
        font-size: 12px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .modal-content {
        padding: 35px 25px;
    }

    .modal-content h2 {
        font-size: 26px;
    }

    .bubble {
        display: none;
    }
}

