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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen Animations */
#loadingScreen {
    animation: fadeOut 1s ease-in-out 3s forwards;
}

.logo-spinner {
    animation: float 2s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #06b6d4);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

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

@keyframes loadingProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Full Page Menu */
#fullPageMenu {
    backdrop-filter: blur(10px);
    animation: menuSlideIn 0.5s ease-out;
}

#fullPageMenu.hidden {
    animation: menuSlideOut 0.5s ease-in forwards;
}

.menu-item {
    opacity: 0;
    transform: translateY(30px);
    animation: menuItemSlideIn 0.6s ease-out forwards;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes menuSlideIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes menuSlideOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

@keyframes menuItemSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section Animations */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(74, 222, 128, 0.1), rgba(6, 182, 212, 0.1));
    animation: float 6s ease-in-out infinite;
}

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

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

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

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

/* Hero Content Animations */
.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out 0.5s forwards;
}

.animate-slide-up-delay {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out 1s forwards;
}

.animate-slide-up-delay-2 {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out 1.5s forwards;
}

.animate-slide-up-delay-3 {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out 2s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons */
.cta-button {
    position: relative;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    color: white;
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #374151;
    border: 2px solid rgba(74, 222, 128, 0.5);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.4);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover .button-glow {
    left: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(74, 222, 128, 0.8);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: rgba(74, 222, 128, 0.8);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0%, 20% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ade80, #06b6d4, #8b5cf6);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 12px;
    border-left: 4px solid #4ade80;
}

.checkmark {
    color: #4ade80;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

/* Stats Section */
.stats-grid {
    margin-top: 48px;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #6b7280;
    font-weight: 600;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: #4ade80;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features .feature {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 32px;
}

.pricing-features .feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.pricing-cta {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 2px solid #4ade80;
}

.pricing-cta.featured {
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    color: white;
    border: none;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.3);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 2px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
    transform: translateY(-2px);
}

.submit-button {
    position: relative;
    padding: 20px 40px;
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(74, 222, 128, 0.4);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-6xl { font-size: 3rem; }
    .text-8xl { font-size: 4rem; }
    .text-5xl { font-size: 2.5rem; }
    
    .feature-card,
    .pricing-card,
    .contact-form-container {
        padding: 24px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4ade80, #06b6d4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #22c55e, #0891b2);
}

/* Utility Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

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

/* Navbar Scroll Effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
