/* ========================================================================= */
/* CSS Variables & Reset
/* ========================================================================= */
:root {
    --bg-color: #ffffff;
    --primary-color: #2F4571;
    /* Logo Lacivert */
    --primary-hover: #1F2E4D;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent: #C24A35;
    /* Logo Kırmızı/Kiremit */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(47, 69, 113, 0.1);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Brand Colors */
    --whatsapp: #25D366;
    --youtube: #FF0000;
    --twitter: #fff;
    --instagram-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    background: radial-gradient(circle at center, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
}

/* ========================================================================= */
/* Background Animations 
/* ========================================================================= */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    animation: moveShapes 15s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.35);
    /* primary */
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(147, 51, 234, 0.25);
    /* purple */
    bottom: -20%;
    right: -10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(14, 165, 233, 0.3);
    /* sky */
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes moveShapes {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }

    50% {
        transform: translateY(50px) translateX(60px) scale(1.1);
    }

    100% {
        transform: translateY(-50px) translateX(-30px) scale(0.9);
    }
}

/* ========================================================================= */
/* Layout & Container 
/* ========================================================================= */
.container {
    max-width: 1300px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    z-index: 10;
}

.brand-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease forwards;
}

.brand-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.brand-logo-img:hover {
    transform: scale(1.05);
}

/* ========================================================================= */
/* Main Content (Glassmorphism Effect & Layout)
/* ========================================================================= */
.content-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.bg-machine-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: floatBg 8s ease-in-out infinite alternate;
}

@keyframes floatBg {
    from {
        transform: translate(-50%, -50%) scale(0.98);
    }

    to {
        transform: translate(-50%, -50%) scale(1.02);
    }
}

.tech-badge-center {
    margin-top: 1.5rem;
    display: inline-flex;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    align-items: center;
    gap: 0.5rem;
}

/* ========================================================================= */
/* Typography & Badges 
/* ========================================================================= */
.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(47, 69, 113, 0.05);
    /* Logo lacivertinden hafif bg */
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 0.75rem;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.main-title span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    /* Başlık parlaması lacivert/kırmızı gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ========================================================================= */
/* Countdown Timer 
/* ========================================================================= */
.countdown-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 69, 113, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.time-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.time-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* ========================================================================= */
/* Subscribe Form / Notification
/* ========================================================================= */
.notify-section {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.notify-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    position: relative;
}

.subscribe-form input {
    flex: 1;
    background: rgba(255, 255, 255, 1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.subscribe-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(47, 69, 113, 0.15);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    width: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 69, 113, 0.2);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #10b981;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* ========================================================================= */
/* Footer & Contact Section
/* ========================================================================= */
.footer {
    width: 100%;
    margin-top: 3rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-soft);
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.contact-info p.address {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-numbers a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.contact-numbers a:hover {
    color: var(--primary-color);
}

.contact-numbers i {
    color: var(--accent);
}

/* Right Side: Action/Social Links */
.action-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
}

.whatsapp-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-card:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: var(--whatsapp);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.15);
}

.wa-icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.wa-text {
    display: flex;
    flex-direction: column;
}

.wa-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.wa-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Colorful Social Links */
.social-links-colored {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-secondary);
    background: transparent;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Original colors on hover (Simplified for Image Icons) */
.social-btn.instagram:hover {
    filter: drop-shadow(0 5px 10px rgba(225, 48, 108, 0.6));
}

.social-btn.x-twitter:hover {
    filter: drop-shadow(0 5px 10px rgba(255, 255, 255, 0.6));
}

.social-btn.youtube:hover {
    filter: drop-shadow(0 5px 10px rgba(255, 0, 0, 0.6));
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 2rem;
}

/* ========================================================================= */
/* Keyframe Animations 
/* ========================================================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================================= */
/* Responsive Design 
/* ========================================================================= */
@media (max-width: 992px) {
    .countdown-container {
        justify-content: center;
    }

    .subscribe-form {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .footer-layout {
        flex-direction: column;
        text-align: center;
    }

    .contact-info p.address,
    .contact-numbers {
        justify-content: center;
    }

    .action-links {
        align-items: center;
    }

    .time-box {
        min-width: 75px;
        padding: 1rem 0.5rem;
    }

    .time-value {
        font-size: 1.8rem;
    }
}