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

/* Accessibility improvements */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    line-height: 1.6;
    color: #333;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.logo {
    margin-bottom: 2rem;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    animation: pulse 2s infinite;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out 0.3s both;
    line-height: 1.1;
}

.hello {
    display: block;
    margin-bottom: 0.5rem;
}

.world {
    display: block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: slideInRight 1s ease-out 0.6s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    animation: fadeIn 1s ease-out 0.9s both;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cta-section {
    margin-top: 2rem;
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out 1.2s both;
    min-height: 48px;
    min-width: 120px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ff5252, #26a69a);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}

.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Header and Footer styles */
header[role="banner"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 1rem;
}

footer[role="contentinfo"] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 1rem;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .title {
        font-size: 5rem;
    }
    
    .content {
        padding: 4rem 3rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .features {
        gap: 3rem;
    }
}

/* Medium screens */
@media (max-width: 1199px) and (min-width: 769px) {
    .title {
        font-size: 3.5rem;
    }
    
    .content {
        padding: 3rem 2.5rem;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .content {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .shape {
        display: none;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .content {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .logo-circle::before {
        width: 45px;
        height: 45px;
    }
    
    .features {
        gap: 0.8rem;
    }
    
    .feature {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 1.2rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .content {
        padding: 1.5rem 2rem;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .features {
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .content {
        border-width: 0.5px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo-circle {
        animation: none;
    }
    
    .shape {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .content {
        background: rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content {
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid #000;
        color: #000;
    }
    
    .title {
        background: #000;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .subtitle {
        color: #333;
    }
    
    .feature {
        color: #333;
    }
}

/* Print styles */
@media print {
    .background-shapes,
    .cta-button {
        display: none;
    }
    
    .content {
        background: white;
        color: black;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .title {
        background: black;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}
