/* ============================================
   AppStack.gr - Modern Light Theme
   ============================================ */

:root {
    --bg: #F8F9FA;
    --surface: #FFFFFF;
    --text: #1A1A1A;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --accent: #2563EB;
    --accent-light: #3B82F6;
    --accent-dark: #1E40AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-lg: 16px;
    --max: 1200px;
    --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-weight: 800;
    font-size: 24px;
    color: var(--text);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

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

nav a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent);
    opacity: 1;
}

/* ============================================
   Main Content
   ============================================ */

main {
    flex: 1;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 24px;
    font-weight: 800;
    color: var(--text);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 1;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
    opacity: 1;
}

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

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 42px;
    margin: 0 0 24px;
    text-align: center;
    font-weight: 800;
    color: var(--text);
}

.section p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 16px;
    text-align: center;
}

.app-description {
    text-align: center;
}

.bg-light {
    background: var(--surface);
}

/* ============================================
   Apps Grid
   ============================================ */

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

.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.app-icon {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.app-subtitle {
    font-size: 16px;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 20px;
    text-align: center;
}

.app-description {
    color: var(--text-secondary);
    margin: 0 0 24px;
    line-height: 1.7;
    font-size: 15px;
}

.app-features {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    text-align: left;
}

.app-features li {
    color: var(--text-secondary);
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 16px;
}

.app-target {
    color: var(--text-muted);
    font-size: 14px;
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.app-cta {
    margin-top: 32px;
    text-align: center;
}

/* ============================================
   Steps (How It Works)
   ============================================ */

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

.step {
    text-align: center;
    padding: 40px 32px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: var(--shadow);
}

.step h3 {
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--text);
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
    margin: 0;
}

/* ============================================
   Benefits
   ============================================ */

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.benefit:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.benefit-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* ============================================
   App Landing Pages
   ============================================ */

.hero-app {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.app-icon-large {
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon-large img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.hero-app h1 {
    font-size: 42px;
    margin: 0 0 16px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 32px;
    text-align: center;
}

.hero-description {
    font-size: 19px;
    color: var(--text-secondary);
    margin: 0 0 40px;
    line-height: 1.7;
    text-align: center;
}

/* ============================================
   Features Grid
   ============================================ */

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent-light);
}

.feature-card h3 {
    font-size: 20px;
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--text);
}

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

/* ============================================
   Target Audience
   ============================================ */

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

.audience-item {
    text-align: center;
    padding: 40px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.audience-item h3 {
    font-size: 22px;
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--text);
}

.audience-item p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

/* ============================================
   Benefits List
   ============================================ */

.benefits-list {
    list-style: none;
    padding: 0;
    max-width: 750px;
    margin: 60px auto 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.benefits-list li {
    color: var(--text);
    font-size: 16px;
    padding: 16px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   Pricing
   ============================================ */

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

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow);
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h3 {
    font-size: 26px;
    margin: 0 0 20px;
    font-weight: 800;
    color: var(--text);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 24px;
    color: var(--text-secondary);
}

.amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--text);
}

.period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.pricing-features li {
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin: 20px 0 0;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    max-width: 850px;
    margin: 60px auto 0;
}

.faq-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 20px;
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--text);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
    text-align: left;
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 40px;
}

.contact-info {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin: 40px auto;
    max-width: 500px;
    text-align: left;
}

.contact-info p {
    margin: 12px 0;
    text-align: left;
    color: var(--text);
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-content h3 {
    font-size: 24px;
    margin: 0 0 16px;
    font-weight: 800;
    color: var(--text);
}

.footer-content h4 {
    font-size: 18px;
    margin: 0 0 16px;
    font-weight: 700;
    color: var(--text);
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
    text-align: left;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   Contact Form
   ============================================ */

.form-error {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px auto 30px;
    max-width: 700px;
    text-align: center;
    font-size: 15px;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 24px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font);
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    margin: 32px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.business-fields {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.business-fields h3 {
    font-size: 20px;
    margin: 0 0 24px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

.form-actions {
    margin-top: 40px;
    text-align: center;
}

/* ============================================
   Success Page
   ============================================ */

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #10B981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
}

.success-message {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

.success-message h2 {
    font-size: 32px;
    margin: 0 0 24px;
    color: var(--text);
}

.success-message p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.success-actions {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero h1,
    .hero-app h1 {
        font-size: 36px;
    }

    .section h2 {
        font-size: 32px;
    }

    .apps-grid,
    .pricing-grid,
    .features-grid,
    .steps,
    .target-audience {
        grid-template-columns: 1fr;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .container {
        padding: 0 20px;
    }
}
