/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.element-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.element-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.element-5 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 60%;
    animation-delay: -20s;
    animation-duration: 28s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 30px 0;
    animation: slideDown 1s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo i {
    font-size: 2.5rem;
    color: #ffd700;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 1s both;
}

/* Safari Jeep Ride Animation */
.safari-container {
    margin: 50px 0;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.safari-track {
    position: relative;
    width: 100%;
    height: 150px;
    background: linear-gradient(90deg, 
        rgba(139, 69, 19, 0.3) 0%, 
        rgba(160, 82, 45, 0.2) 30%,
        rgba(139, 69, 19, 0.3) 70%,
        rgba(160, 82, 45, 0.2) 100%);
    border-radius: 75px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
}

.jeep {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    animation: jeepDrive 12s ease-in-out infinite;
    z-index: 3;
}

.jeep-body {
    position: relative;
    width: 100px;
    height: 60px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    border-radius: 15px 5px 5px 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.jeep-cabin {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 70px;
    height: 40px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 8px;
    border: 2px solid #2c3e50;
}

.jeep-windshield {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 60px;
    height: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jeep-door {
    position: absolute;
    top: 15px;
    right: 5px;
    width: 15px;
    height: 20px;
    background: #2c3e50;
    border-radius: 3px;
}

.jeep-handle {
    position: absolute;
    top: 20px;
    right: 2px;
    width: 3px;
    height: 8px;
    background: #f39c12;
    border-radius: 2px;
}

.jeep-wheels {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 20px;
}

.wheel {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #2c3e50;
    border-radius: 50%;
    border: 3px solid #34495e;
    animation: wheelSpin 0.5s linear infinite;
}

.wheel-front {
    left: 15px;
}

.wheel-rear {
    right: 15px;
}

.wheel-rim {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #7f8c8d;
    border-radius: 50%;
}

.wheel-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 8px;
    background: #95a5a6;
    border-radius: 1px;
}

.jeep-bumper {
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 4px;
}

.jeep-lights {
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 20px;
}

.light {
    position: absolute;
    width: 3px;
    height: 8px;
    background: #f1c40f;
    border-radius: 2px;
    animation: lightBlink 2s ease-in-out infinite;
}

.light-left {
    top: 0;
}

.light-right {
    bottom: 0;
}

.jeep-passengers {
    position: absolute;
    top: -25px;
    left: 20px;
    width: 60px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.passenger {
    font-size: 1.2rem;
    animation: passengerBounce 1s ease-in-out infinite;
}

.passenger-1 { animation-delay: 0s; }
.passenger-2 { animation-delay: 0.2s; }
.passenger-3 { animation-delay: 0.4s; }

.dust-trail {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 30px;
    transform: translateY(-50%);
    pointer-events: none;
}

.dust-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(160, 82, 45, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: dustRise 2s ease-out infinite;
}

.dust-1 { left: 20%; animation-delay: 0.5s; }
.dust-2 { left: 35%; animation-delay: 1s; }
.dust-3 { left: 50%; animation-delay: 1.5s; }
.dust-4 { left: 65%; animation-delay: 2s; }
.dust-5 { left: 80%; animation-delay: 2.5s; }

.wildlife-spotting {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.animal {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    animation: animalAppear 3s ease-in-out infinite;
}

.animal-1 { 
    top: 20px; 
    left: 15%; 
    animation-delay: 2s; 
}
.animal-2 { 
    top: 30px; 
    right: 20%; 
    animation-delay: 4s; 
}
.animal-3 { 
    top: 10px; 
    left: 60%; 
    animation-delay: 6s; 
}
.animal-4 { 
    top: 40px; 
    right: 10%; 
    animation-delay: 8s; 
}

.safari-message {
    text-align: center;
    margin-top: 20px;
}

.safari-message p {
    font-size: 1.3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: messagePulse 2s ease-in-out infinite;
}

/* Safari Animations */
@keyframes jeepDrive {
    0% { left: -120px; }
    20% { left: 20%; }
    40% { left: 50%; }
    60% { left: 70%; }
    80% { left: 90%; }
    100% { left: calc(100% + 50px); }
}

@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes lightBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

@keyframes passengerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes dustRise {
    0% { 
        opacity: 0; 
        transform: translateY(0) scale(0.5); 
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-10px) scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: translateY(-20px) scale(0.3); 
    }
}

@keyframes animalAppear {
    0%, 80%, 100% { 
        opacity: 0; 
        transform: scale(0.5); 
    }
    10%, 70% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

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

/* Subscription Section */
.subscription-section {
    margin: 50px 0;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.subscription-section h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 20px 25px;
    font-size: 1rem;
    color: white;
    outline: none;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-group button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border: none;
    padding: 20px 30px;
    border-radius: 50px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.form-message {
    margin-top: 20px;
    font-size: 1rem;
    text-align: center;
    min-height: 25px;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* Features Preview */
.features-preview {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.6s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 150px;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 2.5rem;
    color: #ffd700;
    animation: bounce 2s ease-in-out infinite;
}

.feature-item:nth-child(2) i {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) i {
    animation-delay: 0.4s;
}

.feature-item:nth-child(4) i {
    animation-delay: 0.6s;
}

.feature-item span {
    color: white;
    font-weight: 600;
    text-align: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    animation: fadeIn 1s ease-out 1.8s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

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

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .features-preview {
        gap: 20px;
    }
    
    .feature-item {
        min-width: 120px;
        padding: 20px 15px;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .input-group button {
        border-radius: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .features-preview {
        gap: 15px;
    }
    
    .feature-item {
        min-width: 100px;
        padding: 15px 10px;
    }
}
