/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 
                 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fafafa;
    color: #1a1a1a;
    line-height: 1.6;
    position: relative;
}

/* ===========================
   Background Gradient Shapes
   =========================== */

.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.bg-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -200px;
    right: -200px;
}

.bg-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -150px;
    left: -150px;
}

/* ===========================
   Main Container
   =========================== */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===========================
   Success Icon Animation
   =========================== */

.icon-wrapper {
    margin-bottom: 40px;
    animation: fadeInScale 0.6s ease-out;
}

.success-icon {
    width: 64px;
    height: 64px;
}

.success-circle {
    stroke: #10b981;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    animation: circleDraw 0.6s ease-out 0.2s forwards;
}

.success-check {
    stroke: #10b981;
    stroke-width: 2;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-linecap: round;
    animation: checkDraw 0.3s ease-out 0.6s forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes circleDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes checkDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* ===========================
   Typography
   =========================== */

.heading {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.subheading {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    color: #666;
    margin-bottom: 48px;
    max-width: 600px;
}

/* ===========================
   Fade-in Animation
   =========================== */

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.6s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.8s;
}

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

/* ===========================
   Divider
   =========================== */

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    margin-bottom: 48px;
}

/* ===========================
   Action Buttons
   =========================== */

.button-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin: 0 auto;
}

.product-button,
.call-button {
    display: inline-block;
    padding: 16px 48px;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.product-button {
    background: linear-gradient(135deg, #4A90E2 0%, #2E5FCC 100%);
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

.call-button {
    background: linear-gradient(135deg, #5BA3F5 0%, #3B82F6 100%);
    box-shadow: 0 10px 40px rgba(91, 163, 245, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-button::before,
.call-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.product-button:hover,
.call-button:hover {
    transform: translateY(-2px);
}

.product-button:hover {
    box-shadow: 0 15px 50px rgba(74, 144, 226, 0.4),
                0 4px 16px rgba(0, 0, 0, 0.15);
}

.call-button:hover {
    box-shadow: 0 15px 50px rgba(91, 163, 245, 0.4),
                0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-button:hover::before,
.call-button:hover::before {
    left: 100%;
}

.product-button:active,
.call-button:active {
    transform: translateY(0);
}

.product-button:active {
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

.call-button:active {
    box-shadow: 0 5px 20px rgba(91, 163, 245, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Contact Button (floating)
   =========================== */

.contact-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25D366; /* WhatsApp-like green */
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.22), 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    z-index: 9999;
    display: inline-block;
    font-size: 0.95rem;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.28), 0 6px 16px rgba(0,0,0,0.14);
}

@media (max-width: 480px) {
    .contact-button {
        right: 16px;
        bottom: 16px;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* ===========================
   Status Message (Optional)
   =========================== */

.status-message {
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.status-message.show {
    opacity: 1;
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .container {
        padding: 100px 20px;
        justify-content: flex-start;
    }

    .icon-wrapper {
        margin-bottom: 24px;
        margin-top: 40px;
    }

    .heading {
        font-size: 2rem;
    }

    .subheading {
        font-size: 1.125rem;
    }

    .success-icon {
        width: 52px;
        height: 52px;
    }

    .video-container {
        border-radius: 12px;
    }

    .bg-shape-1 {
        width: 300px;
        height: 300px;
    }

    .bg-shape-2 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 1.75rem;
    }

    .subheading {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .divider {
        margin-bottom: 32px;
    }
}
