
/* Custom styles for Twitter Developer iOS App Landing Page */

/* Global font and body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header nav link focus state */
nav a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Hero section styling */
.hero-main {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    clip-path: ellipse(120% 120% at 5% 5%);
    transform: rotate(-2deg);
}

/* App screen reveal styles */
.app-screen-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.app-screen-container img {
    transition: transform 0.4s ease-in-out;
}
.app-screen-container:hover img {
    transform: scale(1.05) translateX(-10px);
}
.app-screen-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: glow 6s infinite;
}
@keyframes glow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Feature card enhancements */
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(9,9,225,0.125), 0 10px 10px -5px rgba(9,9,225,0.05);
    transition: all 0.3s ease;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, transparent 0%, rgba(99, 102, 241, 0.1) 50%);
    pointer-events: none;
}

/* Call-to-action button animations */
.cta-button {
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

/* Feature statistics card */
.stats-card {
    background: linear-gradient(145deg, #6366f1 0%, #818cf8 100%);
    color: white;
    border-radius: 20px;
    overflow: hidden;
}
.stats-card h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
}
.stats-card p {
    font-style: italic;
}

/* Support section card enhancements */
.support-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Contact form styling */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}
.contact-form button {
    transition: all 0.3s ease;
}
.contact-form button:hover {
    transform: scale(1.02) translate3d(0,-1px,0);
}

/* Footer enhancements */
footer a {
    transition: color 0.2s ease;
}
footer a:hover {
    color: #3b82f6;
}
footer hr {
    border-color: rgba(0,0,0,0.1);
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .hero-main {
        background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    }
    .stats-card {
        background: linear-gradient(145deg, #2563eb 0%, #60a5fa 100%);
    }
    .feature-card:hover {
        background: #1f2937;
        border-radius: 16px;
    }
}

/* Custom gradients */
.gradient-purple-blue {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}
.gradient-blue-sky {
    background: linear-gradient(145deg, #38bdf8 0%, #38bdf840 100%);
}

/* Hover effects with animation delays */
.animation-delay-1 {
    transition-delay: 0.1s;
}
.animation-delay-2 {
    transition-delay: 0.2s;
}
