/* =================================================================
   LANDING PAGES - PUBLIC SITE STYLES
   ================================================================= */

/* Public Page Container */
body.public-page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
}

/* =================================================================
   PUBLIC NAVIGATION
   ================================================================= */
.public-nav {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.public-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
}

.public-brand .nav-logo {
    width: 32px;
    height: 32px;
}

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

.public-nav-links .nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.public-nav-links .nav-link:hover {
    color: #667eea;
}

.public-nav-auth {
    display: flex;
    gap: 1rem;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    border: 1px solid #667eea;
    border-radius: 4px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #667eea;
    color: #ffffff;
}

.btn-signup {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.btn-signup:hover {
    transform: translateY(-2px);
}

/* Mobile Hamburger Menu */
.public-nav-hamburger {
    display: none;
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    color: #e0e0e0;
    font-size: 1.5rem;
}

.public-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin-top: 0.5rem;
}

.public-nav-dropdown.expanded {
    display: block;
}

.public-nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.public-nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #667eea;
}

.public-nav-dropdown-item i {
    width: 1.2rem;
    text-align: center;
    color: #667eea;
}

.public-nav-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* =================================================================
   HERO SECTION
   ================================================================= */
.hero-section {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-secondary-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-secondary-large {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-secondary-large:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Domain Hero */
.domain-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =================================================================
   SECTIONS
   ================================================================= */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 3rem;
}

/* =================================================================
   SOLUTION CARDS
   ================================================================= */
.solutions-section {
    background: rgba(22, 33, 62, 0.5);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 3rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.solution-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.solution-card > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.solution-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: #667eea;
}

.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.solution-cta:hover {
    gap: 1rem;
}

/* =================================================================
   BENEFITS & FEATURES
   ================================================================= */
.benefits-grid,
.features-grid,
.challenges-grid,
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card,
.challenge-card,
.use-case {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover,
.challenge-card:hover,
.use-case:hover {
    border-color: #667eea;
    transform: translateY(-3px);
}

.benefit-card i,
.challenge-card i,
.use-case i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.benefit-card h3,
.challenge-card h3,
.use-case h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p,
.challenge-card p,
.use-case p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Features Grid (wider cards) */
.feature-block {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
}

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

.feature-block h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* =================================================================
   PLATFORM STEPS
   ================================================================= */
.platform-section {
    background: rgba(22, 33, 62, 0.3);
}

.platform-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    text-align: center;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.step-arrow {
    font-size: 2rem;
    color: #667eea;
}

/* =================================================================
   STATS SECTION
   ================================================================= */
.stats-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 4rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* =================================================================
   CTA SECTION
   ================================================================= */
.cta-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =================================================================
   SOLUTION/CHALLENGE SECTIONS
   ================================================================= */
.challenge-section,
.solution-section,
.features-section,
.use-cases-section,
.impact-section {
    padding: 5rem 2rem;
}

.challenge-section {
    background: rgba(22, 33, 62, 0.3);
}

.solution-section {
    background: rgba(26, 26, 46, 0.3);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-method {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.solution-method:hover {
    border-color: #667eea;
    transform: translateY(-3px);
}

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

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-card {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* =================================================================
   FOOTER
   ================================================================= */
.public-footer {
    background: rgba(26, 26, 46, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

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

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .platform-steps {
        flex-direction: column;
    }

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

    .public-nav-links {
        display: none;
    }

    .public-nav-auth {
        display: none;
    }

    .public-nav-hamburger {
        display: block;
    }

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