* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.welcome-container {
    width: 100%;
    max-height: 100vh;
    background: transparent;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Illustration Section */
.illustration-section {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.illustration-circle {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.smart-home-illustration {
    width: 85%;
    height: 85%;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Welcome Text */
.welcome-text {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.welcome-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4696d1;
    margin-bottom: 0.75rem;
    animation: slideUp 0.8s ease-out;
}

.welcome-text p {
    font-size: 1rem;
    color: #5face4;
    margin: 0;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Connect Section */
.connect-section {
    animation: slideUp 0.8s ease-out 0.4s backwards;
    flex-shrink: 0;
}

.connect-label {
    font-size: 0.95rem;
    color: #a4d2f4;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Primary Button */
.btn-primary-action {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #5face4 0%, #4696d1 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(95, 172, 228, 0.3);
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 172, 228, 0.4);
    color: white;
}

.btn-primary-action:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary-action {
    display: block;
    width: 100%;
    padding: 1rem;
    background: white;
    color: #5face4;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
}

.btn-secondary-action:hover {
    background: #e3f2fd;
    border-color: #5face4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-secondary-action:active {
    transform: translateY(0);
}

/* Responsive Design */

/* Desktop - Large screens */
@media (min-width: 1200px) {
    .welcome-container {
        max-width: 600px;
        padding: 2rem 3rem;
    }

    .illustration-circle {
        width: 280px;
        height: 280px;
    }

    .illustration-section {
        margin-bottom: 1.5rem;
    }

    .welcome-text {
        margin-bottom: 2rem;
    }

    .welcome-text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .welcome-text p {
        font-size: 1.1rem;
    }

    .btn-primary-action,
    .btn-secondary-action {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
        padding: 1rem;
    }

    .btn-secondary-action {
        margin-top: 1rem;
    }
}

/* Desktop - Medium screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .welcome-container {
        max-width: 550px;
        padding: 2rem 2.5rem;
    }

    .illustration-circle {
        width: 260px;
        height: 260px;
    }

    .illustration-section {
        margin-bottom: 1.5rem;
    }

    .welcome-text {
        margin-bottom: 1.8rem;
    }

    .welcome-text h1 {
        font-size: 1.9rem;
    }

    .welcome-text p {
        font-size: 1.05rem;
    }

    .btn-primary-action,
    .btn-secondary-action {
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tablet - Landscape */
@media (min-width: 769px) and (max-width: 991px) {
    .welcome-container {
        max-width: 500px;
        padding: 2rem;
    }

    .illustration-circle {
        width: 240px;
        height: 240px;
    }

    .illustration-section {
        margin-bottom: 1.5rem;
    }

    .welcome-text {
        margin-bottom: 1.8rem;
    }

    .welcome-text h1 {
        font-size: 1.8rem;
    }

    .welcome-text p {
        font-size: 1rem;
    }
}

/* Tablet - Portrait */
@media (max-width: 768px) {
    .welcome-container {
        max-width: 450px;
        padding: 2.5rem 2rem;
    }

    .illustration-circle {
        width: 240px;
        height: 240px;
    }

    .welcome-text h1 {
        font-size: 1.6rem;
    }

    .welcome-text p {
        font-size: 0.95rem;
    }
}

/* Mobile - Large */
@media (max-width: 576px) {
    .welcome-container {
        max-width: 400px;
        padding: 2rem 1.5rem;
    }

    .illustration-circle {
        width: 220px;
        height: 220px;
    }

    .welcome-text h1 {
        font-size: 1.5rem;
    }

    .welcome-text p {
        font-size: 0.9rem;
    }

    .btn-primary-action,
    .btn-secondary-action {
        font-size: 1rem;
        padding: 0.9rem;
    }
}

/* Mobile - Small */
@media (max-width: 400px) {
    .welcome-container {
        max-width: 360px;
        padding: 2rem 1.25rem;
    }

    .illustration-circle {
        width: 200px;
        height: 200px;
    }

    .welcome-text h1 {
        font-size: 1.35rem;
    }

    .welcome-text p {
        font-size: 0.85rem;
    }
}

/* Smooth page load animation */
@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.welcome-wrapper {
    animation: pageLoad 0.5s ease-out;
}