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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', Segoe UI, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    border-bottom: none;
    transition: transform 0.3s ease-in-out;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
}

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

.logo-image {
    height: 32px;
    width: auto;
}

.nav-logo h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

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

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    color: #66cdaa;
}

.nav-link.cta-button {
    background: #66cdaa;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.nav-link.cta-button:hover {
    background: #5ab899;
    color: white;
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    background: url('images/auth-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    align-items: center;
}

.hero-logo {
    height: 128px;
    width: auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 90%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.btn-primary {
    background: #66cdaa;
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #5ab899;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 205, 170, 0.3);
}

.btn-secondary {
    background: #66cdaa;
    color: white;
    padding: 16px 32px;
    border: 1px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #66cdaa;
    color: white;
    transform: translateY(-2px);
}

/* Hero Visual */
.split-screen {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.screen-left, .screen-right {
    text-align: left;
    flex: 1;
}

.screen-mockup {
    width: 280px;
    height: 380px;
    border-radius: 25px;
    margin: 0 auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 2px solid #ddd;
}

.problem-screen {
    background: linear-gradient(135deg, #f18f8f, #cea4a2);
    color: white;
    border: 1px solid #ff6b6b;
}

.solution-screen {
    background: linear-gradient(135deg, #66cdaa, #5ab899);
    color: white;
    border: 1px solid #66cdaa;
}

.screen-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

.screen-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screen-list li {
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 0.9rem;
    padding-left: 15px;
    position: relative;
}

.screen-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.problem-screen .screen-list li::before {
    color: #ffcccb;
}

.solution-screen .screen-list li::before {
    color: #b8e6d3;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: #fafafa;
}

.problem h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.problem-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.problem-item p {
    color: #666;
    font-size: 1rem;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: white;
}

.solution h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
    line-height: 1.3;
}

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

.solution-item {
    text-align: center;
    padding: 30px 20px;
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.solution-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #66cdaa;
}

.solution-item p {
    color: #666;
    font-size: 1rem;
}

/* Use Cases Section */
.use-cases {
    padding: 80px 0;
    background: #fafafa;
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.case-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.case-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.case-avatar.newcomer {
    background: linear-gradient(135deg, #66cdaa, #5ab899);
}

.case-avatar.explorer {
    background: linear-gradient(135deg, #ff7b7b, #ff6b6b);
}

.case-avatar.connector {
    background: linear-gradient(135deg, #ffa726, #ff9800);
}

.case-info h3 {
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.case-info p {
    color: #666;
    font-size: 0.9rem;
}

.case-story {
    margin-bottom: 20px;
}

.case-story p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.result-tag {
    background: #66cdaa;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

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

.step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #66cdaa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

.step-arrow {
    color: #66cdaa;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Features */
.features {
    padding: 80px 0;
    background: #fafafa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Success Section */
.success {
    padding: 80px 0;
    background: white;
}

.success h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

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

.success-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #66cdaa;
}

.success-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.graduation-timeline {
    background: #fafafa;
    padding: 30px;
    border-radius: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

.timeline-dot.success {
    background: #66cdaa;
}

.timeline-item p {
    color: #666;
    font-weight: 500;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #66cdaa, #5ab899);
    color: white;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.app-store-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-btn:hover img {
    transform: scale(1.05);
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.qr-placeholder {
    color: #666;
    font-weight: 600;
    font-size: 0.8rem;
}

.qr-text {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #333;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #66cdaa;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .screen-mockup {
        width: 240px;
        height: 340px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        background-attachment: scroll; /* Fixed backgrounds can be problematic on mobile */
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 24px;
    }
    
    .split-screen {
        flex-direction: column;
        gap: 24px;
    }
    
    .screen-mockup {
        width: 100%;
        max-width: 320px;
        height: 280px;
        padding: 18px;
        margin: 0 auto;
    }
    
    .screen-title {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .screen-list li {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    /* Navigation responsive */
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .nav-logo h2 {
        font-size: 20px;
    }
    
    /* Sections responsive */
    .problem, .solution, .use-cases, .how-it-works, .features, .success {
        padding: 60px 0;
    }
    
    .problem h2, .solution h2, .use-cases h2, .how-it-works h2, .features h2, .success h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
    }
    
    .success-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-card {
        padding: 24px;
    }
    
    /* Features and other grids */
    .problem-grid, .solution-grid, .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .problem-item, .solution-item, .feature-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Navigation mobile */
    .nav-container {
        height: 55px;
        padding: 0 12px;
    }
    
    .nav-logo h2 {
        font-size: 18px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    /* Sections mobile */
    .problem, .solution, .use-cases, .how-it-works, .features, .success {
        padding: 50px 0;
    }
    
    .problem h2, .solution h2, .use-cases h2, .how-it-works h2, .features h2, .success h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .screen-mockup {
        max-width: 280px;
        height: 240px;
        padding: 16px;
    }
    
    .screen-title {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .screen-list li {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    /* Steps mobile */
    .step {
        min-width: 120px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.85rem;
    }
    
    /* Cards mobile */
    .case-card, .problem-item, .solution-item, .feature-card {
        padding: 20px 16px;
    }
    
    .case-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .case-avatar {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus States */
.btn-primary:focus,
.btn-secondary:focus,
.nav-link:focus {
    outline: 2px solid #66cdaa;
    outline-offset: 2px;
}