/* Autestme Website Styles */
/* Color Palette from App Logo */
:root {
    --teal: #0D6B5D;
    --teal-dark: #095248;
    --coral: #E85A5A;
    --coral-dark: #D14545;
    --purple: #7B5EA7;
    --blue: #007AFF;
    --green-bg: #1A4D45;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--teal);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--teal);
}

.lang-toggle {
    background: var(--teal);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-toggle:hover {
    background: var(--teal-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--gray-800);
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: var(--gray-100);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--green-bg) 0%, var(--teal) 100%);
    color: white;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

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

.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 60px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--coral);
    color: white;
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: white;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: var(--gray-50);
}

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

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.card p {
    color: var(--gray-600);
}

/* Wallet Steps */
.wallet-steps {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.wallet-step {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--teal);
}

.wallet-step h3 {
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.wallet-step p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contract-address code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.875rem;
    color: var(--gray-800);
    word-break: break-all;
}

.copy-btn {
    background: var(--teal);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--teal-dark);
}

/* Earn Section */
.earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.earn-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s;
}

.earn-card:hover {
    transform: translateY(-5px);
}

.earn-card.highlight {
    border: 2px solid var(--coral);
    background: linear-gradient(to bottom, white, #FFF5F5);
}

.earn-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.earn-card h3 {
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.earn-card p {
    color: var(--gray-600);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--coral);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Developers Section */
.tech-stack {
    margin: 3rem 0;
    text-align: center;
}

.tech-stack h3 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.tech-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tech-badge {
    background: var(--teal);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.contribute-info {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
}

.contribute-info h3 {
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.contribute-info ol {
    padding-left: 1.5rem;
}

.contribute-info li {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

#developers .btn-primary {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    opacity: 0.7;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

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

    .hero-image img {
        width: 200px;
        height: 200px;
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

    .mobile-menu-btn {
        display: flex;
    }

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

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