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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1c1e21;
    background-color: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #1c1e21;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #1877f2;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1877f2;
    transition: width 0.2s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #1c1e21;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1c1e21;
    border: 1px solid #e4e6ea;
}

.btn-secondary:hover {
    background: #f7f8fa;
    border-color: #d8dadf;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e9ecef" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23e9ecef" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23e9ecef" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23e9ecef" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23e9ecef" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1c1e21;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #65676b;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1c1e21;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #65676b;
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1c1e21, #2d2f33);
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-12deg) rotateX(3deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.app-header {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
    padding: 24px 20px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-logo {
    font-size: 24px;
}

.app-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.app-content {
    padding: 20px;
}

.post-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e4e6ea;
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 2px;
}

.post-info span {
    font-size: 12px;
    color: #65676b;
}

.post-text {
    font-size: 14px;
    line-height: 1.5;
    color: #1c1e21;
    margin-bottom: 16px;
}

.post-actions {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #65676b;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: #ffffff;
}

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

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: #65676b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e4e6ea;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #1877f2;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 16px;
}

.feature-card p {
    color: #65676b;
    line-height: 1.6;
    font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e4e6ea;
    transition: all 0.3s ease;
}

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

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.3);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 16px;
}

.step p {
    color: #65676b;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download-content p {
    font-size: 1.125rem;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.download-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e4e6ea;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 4rem;
    color: #1877f2;
    opacity: 0.1;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #1877f2;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-size: 1.125rem;
    color: #1c1e21;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.875rem;
    color: #65676b;
}

/* Footer */
.footer {
    background: #1c1e21;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo .logo {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
    border-radius: 8px;
}

.footer-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.footer-section p {
    color: #b0b3b8;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    font-size: 1.5rem;
    color: #b0b3b8;
    transition: color 0.2s ease;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #b0b3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #1877f2;
}

.footer-bottom {
    border-top: 1px solid #3a3b3c;
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: #b0b3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
        transform: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .features,
    .how-it-works,
    .download,
    .testimonials {
        padding: 80px 0;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .nav-container {
        padding: 0 16px;
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

.hero-visual {
    animation: fadeIn 0.8s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-links a:focus,
.store-button:focus {
    outline: 2px solid #1877f2;
    outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}