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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Mobile-specific optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

button, input, select, textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1d1d1f;
    text-decoration: none;
}

.logo-text {
    display: flex;
    align-items: baseline;
}

.logo-subtext {
    font-size: 0.75em;
    color: #6e6e73;
    font-weight: 400;
    margin-left: 0.25em;
}

.maker-gully-logo {
    height: 32px;
    width: auto;
    margin-left: 0.5rem;
    transition: opacity 0.2s ease;
    border-radius: 6px;
}

.maker-gully-logo:hover {
    opacity: 1;
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ff0080; /* Neon pink */
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e5e7;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #1d1d1f;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #6e6e73;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink gradient */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 0, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 128, 0.4);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7a);
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
    opacity: 0.6;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
    opacity: 0.6;
}

.coming-soon {
    font-size: 0.875rem;
    color: #6e6e73;
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
}

.hero-buttons,
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: #ffffff;
    color: #1d1d1f;
    border: 1px solid #e5e5e7;
}

.btn-secondary:hover {
    background: #f5f5f7;
    transform: translateY(-2px);
}

/* Phone Image */
.phone-image {
    max-width: 100%;
    height: auto;
    width: 280px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #ffffff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e5e7;
    position: relative;
}

/* Make first 4 cards clickable */
.feature-card:nth-child(1),
.feature-card:nth-child(2),
.feature-card:nth-child(3),
.feature-card:nth-child(4) {
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #00ffff, #0080ff); /* Neon cyan to blue */
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #ffff00, #ffcc00); /* Neon yellow */
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #00ff88, #00cc6a); /* Neon green */
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #00ffff, #0080ff); /* Neon cyan to blue */
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

/* Remove hover effects - now using click events */

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
}

.feature-card p {
    color: #6e6e73;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: #f5f5f7;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e5e7;
    text-align: center;
}

.step-content {
    width: 100%;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #00ffff, #0080ff); /* Neon cyan to blue */
}

.step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #ffff00, #ffcc00); /* Neon yellow */
}

.step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #00ff88, #00cc6a); /* Neon green */
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

.step-content p {
    color: #6e6e73;
    line-height: 1.6;
}

/* App Tabs Section */
.app-tabs {
    padding: 5rem 0;
    background: #ffffff;
}

.app-tabs h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

.tabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.tab-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e5e7;
    text-align: center;
}

.tab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tab-card:nth-child(1) .tab-icon {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.tab-card:nth-child(2) .tab-icon {
    background: linear-gradient(135deg, #00ffff, #0080ff); /* Neon cyan to blue */
}

.tab-card:nth-child(3) .tab-icon {
    background: linear-gradient(135deg, #ffff00, #ffcc00); /* Neon yellow */
}

.tab-card:nth-child(4) .tab-icon {
    background: linear-gradient(135deg, #00ff88, #00cc6a); /* Neon green */
}

.tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.tab-icon i {
    font-size: 1.25rem;
    color: #ffffff;
}

.tab-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
}

.tab-card p {
    color: #6e6e73;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Disabled tab card styling */
.tab-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.tab-card.disabled:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b9d, #ff4d7a);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ff0080, #00ffff); /* Neon pink to cyan */
    color: #1d1d1f;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #888D92;
    color: #fff;
    padding: 2.5rem 0 1.2rem 0;
    font-size: 0.97rem;
    border-top: 1px solid #b0b8c1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    max-width: 100vw;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    flex-wrap: wrap;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.97rem;
    letter-spacing: 0.01em;
    padding: 0;
    transition: color 0.2s, text-decoration 0.2s;
    border-radius: 0;
    background: none;
}

.footer-link:hover,
.footer-link:focus {
    color: #b7c1c8;
    text-decoration: underline;
    background: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.97rem;
    letter-spacing: 0.01em;
}

/* Mobile-First Responsive Design */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .tabs-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features,
    .how-it-works,
    .app-tabs,
    .cta {
        padding: 3rem 0;
    }
    
    .features h2,
    .how-it-works h2,
    .app-tabs h2,
    .cta h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .tabs-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .phone-image {
        width: 240px;
    }
    
    /* Ensure touch targets are large enough */
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.75rem;
    }
}

/* Mobile Portrait */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .logo-image {
        width: 28px;
        height: 28px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        min-height: 44px;
        width: 100%;
        max-width: 280px;
    }
    
    .features,
    .how-it-works,
    .app-tabs,
    .cta {
        padding: 2.5rem 0;
    }
    
    .features h2,
    .how-it-works h2,
    .app-tabs h2,
    .cta h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card,
    .step,
    .tab-card {
        padding: 1.5rem;
    }
    
    .feature-icon,
    .tab-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon i,
    .tab-icon i {
        font-size: 1.25rem;
    }
    
    .feature-icon-img {
        width: 36px;
        height: 36px;
    }
    
    .feature-card:hover .feature-icon-img {
        transform: translate(-50%, -50%) scale(6);
        width: 36px;
        height: 36px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .tabs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .phone-image {
        width: 200px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 1.2rem;
        margin-top: 0.5rem;
        align-items: center;
        padding: 0 16px;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .logo-image {
        width: 24px;
        height: 24px;
    }
    
    .logo-subtext {
        font-size: 0.7em;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        min-height: 44px;
        width: 100%;
    }
    
    .features,
    .how-it-works,
    .app-tabs,
    .cta {
        padding: 2rem 0;
    }
    
    .features h2,
    .how-it-works h2,
    .app-tabs h2,
    .cta h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-card,
    .step,
    .tab-card {
        padding: 1.25rem;
    }
    
    .feature-icon,
    .tab-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i,
    .tab-icon i {
        font-size: 1rem;
    }
    
    .feature-icon-img {
        width: 28px;
        height: 28px;
    }
    
    .feature-card:hover .feature-icon-img {
        transform: translate(-50%, -50%) scale(5);
        width: 28px;
        height: 28px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .phone-image {
        width: 160px;
    }
    
    .footer-links {
        gap: 1rem;
        padding: 0 8px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .features h2,
    .how-it-works h2,
    .app-tabs h2,
    .cta h2 {
        font-size: 1.375rem;
    }
    
    .feature-card,
    .step,
    .tab-card {
        padding: 1rem;
    }
    
    .phone-image {
        width: 140px;
    }
}

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

.feature-card,
.step,
.tab-card {
    animation: fadeInUp 0.6s ease-out;
}

/* New Gridlocks Visual Design */

/* Hero Section - Completely New Design */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-tiles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tile {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.tile-1 { top: 20%; left: 10%; animation-delay: 0s; }
.tile-2 { top: 30%; right: 15%; animation-delay: 1s; }
.tile-3 { top: 60%; left: 20%; animation-delay: 2s; }
.tile-4 { top: 70%; right: 25%; animation-delay: 3s; }
.tile-5 { top: 40%; left: 70%; animation-delay: 4s; }
.tile-6 { top: 80%; left: 60%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-label {
    font-size: 1rem;
    opacity: 1 !important;
    color: white !important;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #667eea;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
}

/* Game Modes Section */
.game-modes {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.mode-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mode-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.mode-card.campaign {
    border-top: 4px solid #ff6b9d;
}

.mode-card.speedrun {
    border-top: 4px solid #ffaa00;
}

.mode-card.classic {
    border-top: 4px solid #00d4ff;
}

.mode-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mode-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.campaign .mode-icon {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7a);
}

.speedrun .mode-icon {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
}

.classic .mode-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.mode-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.mode-badge {
    background: #f0f0f0;
    color: #6e6e73;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.mode-card p {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 24px;
}

.mode-stats {
    display: flex;
    gap: 16px;
}

.mode-stats .stat {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}


/* Special Tiles Section */
.special-tiles {
    padding: 100px 0;
    background: white;
}

.tiles-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tile-demo {
    display: flex;
    justify-content: center;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 200px;
    height: 200px;
}

.demo-tile {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.demo-tile.anchor {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7a);
}

.demo-tile.halve {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.demo-tile.double {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
}

.demo-tile.reset {
    background: linear-gradient(135deg, #00ff88, #00cc66);
}

.tiles-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tile-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e5e5e7;
    min-height: 80px;
    position: relative;
}

.tile-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tile-icon.anchor {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7a);
}

.tile-icon.halve {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.tile-icon.double {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
}

.tile-icon.reset {
    background: linear-gradient(135deg, #00ff88, #00cc66);
}

.tile-details {
    flex: 1;
    position: relative;
    z-index: 1;
}

.tile-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.tile-details p {
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6e6e73;
    line-height: 1.5;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.download-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.download-feature i {
    color: #ffd700;
    font-size: 1.2rem;
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.puzzle-demo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 200px;
    height: 200px;
}

.demo-tile {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
    animation: tileGlow 2s ease-in-out infinite alternate;
}

.demo-tile:nth-child(1) { animation-delay: 0s; }
.demo-tile:nth-child(2) { animation-delay: 0.2s; }
.demo-tile:nth-child(3) { animation-delay: 0.4s; }
.demo-tile:nth-child(4) { animation-delay: 0.6s; }
.demo-tile:nth-child(5) { animation-delay: 0.8s; }
.demo-tile:nth-child(6) { animation-delay: 1s; }
.demo-tile:nth-child(7) { animation-delay: 1.2s; }
.demo-tile:nth-child(8) { animation-delay: 1.4s; }
.demo-tile:nth-child(9) { animation-delay: 1.6s; }

@keyframes tileGlow {
    0% { background: rgba(255, 255, 255, 0.2); }
    100% { background: rgba(255, 255, 255, 0.4); }
}

.download-actions {
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff6b6b;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.download-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stats .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.9rem;
    }
    
    .modes-grid {
        grid-template-columns: 1fr;
    }
    
    .tiles-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .download-text h2 {
        font-size: 2rem;
    }
    
    .download-features {
        align-items: center;
    }
    
    .demo-grid {
        width: 150px;
        height: 150px;
    }
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.showcase-subtitle {
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 40px;
    line-height: 1.5;
}

.game-mode {
    margin-bottom: 32px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e7;
}

.mode-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mode-header i {
    font-size: 1.5rem;
    color: #ff0080;
}

.mode-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
}

.game-mode p {
    color: #6e6e73;
    line-height: 1.5;
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    max-width: 300px;
}

/* Special Tiles Section */

.tile-card {
    text-align: center;
    padding: 32px 24px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e5e5e7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}


.tile-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.tile-card p {
    color: #6e6e73;
    line-height: 1.5;
}

/* Why Gridlocks Section */
.why-gridlocks {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.benefit i {
    font-size: 1.5rem;
    color: #ff0080;
    margin-top: 4px;
}

.benefit h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.benefit p {
    color: #6e6e73;
    line-height: 1.5;
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e7;
}


/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showcase-text h2 {
        font-size: 2rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-text h2 {
        font-size: 2rem;
    }
    
    .tiles-grid {
        grid-template-columns: 1fr;
    }
    
    .why-stats {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 120px;
    }
    
    .footer-copyright {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .footer-copyright p {
        margin: 0 !important;
    }
    
    .maker-gully-footer-link img {
        width: 28px !important;
        height: 28px !important;
    }
}
