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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 400;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link:hover::after {
    width: 100%;
}

.maker-gully-logo {
    height: 20px;
    width: auto;
    margin-left: 0.5rem;
    opacity: 0.7;
}

.maker-gully-toplink {
    text-decoration: none;
}

.maker-gully-toplink img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.maker-gully-toplink img:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #344CB3 0%, #1E88E5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
    z-index: 1;
}

.hero-left {
    color: white;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon {
    position: relative;
}

.logo-image {
    width: 160px;
    height: 160px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 8px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #FF8C00 0%, #FFA07A 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, #FFA07A 0%, #FF8C00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.download-btn i {
    font-size: 1.25rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #fafafa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    position: relative;
    padding-left: 3rem;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #344CB3 0%, #1E88E5 100%);
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 2.5rem;
    width: 14px;
    height: 14px;
    background: #344CB3;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #fafafa;
}

.step-content {
    padding: 1.5rem 0;
}

.step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #344CB3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.step-content p {
    color: #6b6b6b;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: #fafafa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1120px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.feature {
    text-align: left;
    padding: 3rem 2.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
}

.feature:last-child {
    border-right: none;
}

.feature:hover {
    background: #fafafa;
}

.feature i {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.feature h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    margin-bottom: 0.875rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.feature p {
    color: #6b6b6b;
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: #ffffff;
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(52, 76, 179, 0.05) 0%, rgba(30, 136, 229, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(52, 76, 179, 0.1);
}

.download-info {
    text-align: left;
}

.download-info h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.download-info > p {
    color: #6b6b6b;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.download-subtext {
    color: #9b9b9b;
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

.download-action {
    display: flex;
    justify-content: flex-end;
}

.download-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.download-btn .btn-small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
}

.download-btn .btn-large {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-link {
    color: #6b6b6b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    font-weight: 400;
}

.footer-link:hover {
    color: #1a1a1a;
}

.footer-copyright {
    color: #9b9b9b;
    font-size: 0.8125rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature {
        border-right: 1px solid rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .feature:nth-child(2n) {
        border-right: none;
    }
    
    .feature:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .download-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .download-info {
        text-align: center;
    }
    
    .download-action {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 120px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
    }
    
    .nav-right {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .nav-links {
        gap: 0.7rem;
        flex-wrap: wrap;
        font-size: 0.97rem;
        padding-top: 0.5rem;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0 0.1em;
    }
    
    .maker-gully-toplink {
        margin-left: 0;
        margin-top: 0;
        align-self: flex-end;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .logo-image {
        width: 120px;
        height: 120px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .steps-list {
        gap: 2.5rem;
    }
    
    .step-item {
        padding-left: 2.5rem;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        border-radius: 8px;
    }
    
    .feature {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding: 2.5rem 2rem;
        text-align: center;
    }
    
    .feature:last-child {
        border-bottom: none;
    }
    
    .download-wrapper {
        padding: 2rem;
    }
    
    .download-info h2 {
        font-size: 2rem;
    }
    
    .download-info > p {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-copyright p {
        margin: 0;
    }
    
    .maker-gully-footer-link img {
        width: 28px;
        height: 28px;
    }
    
    .maker-gully-toplink img {
        width: 32px;
        height: 32px;
    }
}

