/* SquirrelStash Website - Green Nature Theme */

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

:root {
    /* SquirrelStash green color palette */
    --green-dark: #2d4a3e;
    --green: #3d6b56;
    --green-light: #4a8066;
    --green-accent: #4ade80;
    --green-bright: #22c55e;
    --green-beige: #f0f5f2;
    --green-cream: #f8faf9;

    /* Text colors */
    --text-primary: var(--green-dark);
    --text-secondary: var(--green);
    --text-muted: var(--green-light);

    /* Backgrounds */
    --bg-cream: #fafdfb;
    --bg-warm: linear-gradient(180deg, #fafdfb 0%, #f0f5f2 100%);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-strong: rgba(255, 255, 255, 0.85);

    /* Borders and shadows */
    --border-subtle: rgba(61, 107, 86, 0.1);
    --shadow-soft: 0 4px 24px rgba(45, 74, 62, 0.08);
    --shadow-glass: 0 8px 32px rgba(45, 74, 62, 0.12);
    --shadow-glow: 0 0 40px rgba(74, 222, 128, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-warm);
    min-height: 100vh;
}

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

/* Header - Frosted Glass */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: var(--green-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.logo-icon-emoji {
    font-size: 32px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    border-radius: 8px;
}

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

/* Buttons - Green Glass Style */
.btn-primary, .btn-secondary {
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--green-bright);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--green);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-glass-strong);
    color: var(--green-bright);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: var(--bg-warm);
    overflow: hidden;
}

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

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

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--green-dark);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 20px;
    color: var(--green-bright);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* Hero App Badge */
.hero-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px 8px 8px;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green-dark);
}

.hero-app-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

/* App Preview */
.app-preview {
    text-align: center;
}

.preview-image {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
}

.iphone-preview {
    max-width: 320px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(45, 74, 62, 0.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Apps Section */
.apps {
    padding: 100px 0;
    background: var(--bg-warm);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.app-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass);
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.app-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.app-platform {
    font-size: 14px;
    font-weight: 600;
    color: var(--green-bright);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.app-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn-app-store,
.btn-mac-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-app-store {
    background: #000;
    color: white;
}

.btn-app-store:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-mac-download {
    background: var(--green-bright);
    color: white;
}

.btn-mac-download:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--bg-cream);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.screenshot-item img {
    width: 100%;
    max-width: 280px;
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.02);
}

.screenshot-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.screenshot-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Feature Card - Glass Style */
.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-cream);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 28px;
    color: var(--green-accent);
    font-weight: 300;
}

/* Connection Methods Section */
.connection-methods {
    padding: 100px 0;
    background: var(--bg-warm);
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.connection-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
}

.connection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass);
}

.connection-card.coming-soon {
    opacity: 0.7;
    border-style: dashed;
}

.connection-card.coming-soon:hover {
    transform: none;
}

.connection-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.connection-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.connection-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.connection-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(74, 222, 128, 0.15);
    color: var(--green-bright);
}

.connection-status.recommended {
    background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-accent) 100%);
    color: white;
}

/* SquirrelStash Section */
.squirrelstash {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--green-beige) 0%, var(--bg-cream) 100%);
}

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

.squirrelstash-info {
    max-width: 500px;
}

.squirrelstash-info h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--green-dark);
    letter-spacing: -0.5px;
}

.squirrelstash-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.squirrelstash-features {
    list-style: none;
    margin-bottom: 32px;
}

.squirrelstash-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.squirrelstash-features .check {
    color: var(--green-bright);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.squirrelstash-visual {
    display: flex;
    justify-content: center;
}

.squirrelstash-image {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
}

.mac-badge {
    background: linear-gradient(135deg, rgba(45, 74, 62, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
}

/* Requirements Section */
.requirements {
    padding: 60px 0;
    background: var(--bg-warm);
}

.requirements-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

.requirement-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.requirement-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--green-beige) 0%, var(--green-cream) 100%);
    text-align: center;
}

.download-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.download-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 220px;
}

.download-button.ios {
    background: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.download-button.ios:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.download-button.mac {
    background: var(--green-bright);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.download-button.mac:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.download-icon {
    font-size: 24px;
}

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

.download-title {
    font-size: 18px;
    font-weight: 600;
}

.download-version {
    font-size: 13px;
    opacity: 0.9;
}

.download-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 24px !important;
}

.download-note a {
    color: var(--green-bright);
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 32px;
}

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

.footer-section .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--green-accent);
    font-size: 15px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--green-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--green-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .connection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 40px;
    }

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

    .hero-app-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .steps {
        flex-direction: column;
    }

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

    .connection-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

    .squirrelstash-info {
        max-width: 100%;
    }

    .squirrelstash-info h2 {
        font-size: 32px;
    }

    .squirrelstash-features {
        text-align: left;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .squirrelstash-visual {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .screenshot-item img {
        max-width: 160px;
        border-radius: 16px;
    }

    .screenshot-item h4 {
        font-size: 14px;
    }

    .screenshot-item p {
        font-size: 12px;
    }

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

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }

    .requirements-grid {
        flex-direction: column;
        gap: 24px;
    }

    .squirrelstash-info h2 {
        font-size: 26px;
    }

    .squirrelstash-features li {
        font-size: 14px;
    }

    .iphone-preview {
        max-width: 240px;
    }
}
