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

:root {
    /* Awary Brand Colors */
    --awary-dark-blue: #022E5B;
    --awary-purple: #7560EE;
    --awary-light-blue: #01B9F6;
    
    /* UI Colors */
    --text-primary: #022E5B;
    --text-secondary: #64748B;
    --background: #FFFFFF;
    --surface: #F8FAFC;
    --success: #22C55E;
    --warning: #FB923C;
    --error: #EF4444;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: 0 1px 3px rgba(2, 46, 91, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.logo {
    height: 40px;
    width: auto;
    max-width: 150px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--awary-light-blue);
    color: white;
}

.btn-primary:hover {
    background: #00A6DD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 185, 246, 0.3);
}

.btn-secondary {
    background: rgba(117, 96, 238, 0.1);
    color: var(--awary-purple);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    border-color: var(--awary-purple);
    background: rgba(117, 96, 238, 0.15);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: var(--space-lg) 0;
    background: linear-gradient(135deg, rgba(2, 46, 91, 0.02) 0%, rgba(117, 96, 238, 0.05) 100%);
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-md) 0;
}

.hero-content {
    text-align: left;
}

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

.app-screenshot {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(2, 46, 91, 0.15);
}

.gradient-text {
    background: linear-gradient(135deg, var(--awary-purple) 0%, var(--awary-light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.hero-buttons .app-store-btn {
    display: inline-block;
}

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

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

/* Features Section */
.features {
    padding: var(--space-xl) 0;
    background: var(--surface);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--background);
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(2, 46, 91, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 46, 91, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.feature-icon.purple {
    background: rgba(117, 96, 238, 0.1);
    color: var(--awary-purple);
}

.feature-icon.light-blue {
    background: rgba(1, 185, 246, 0.1);
    color: var(--awary-light-blue);
}

.feature-icon.orange {
    background: rgba(251, 146, 60, 0.1);
    color: var(--warning);
}

.feature-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

/* How It Works Section */
.how-it-works {
    padding: var(--space-xl) 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--awary-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

/* Download Section */
.download {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--awary-dark-blue) 0%, #033E7D 100%);
    color: white;
    text-align: center;
}

.download h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.download p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.download-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-btn img {
    height: 48px;
    width: auto;
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

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

/* About Page Styles */
.mission {
    padding: 4rem 0 3rem;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.mission-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Team Section */
.team {
    padding: 3rem 0 4rem;
    background: var(--surface);
}

.team .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.team-member {
    text-align: center;
    max-width: 280px;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-md);
    display: block;
    box-shadow: 0 4px 12px rgba(2, 46, 91, 0.1);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.linkedin-link {
    color: var(--awary-light-blue);
    transition: transform 0.3s ease;
    display: inline-block;
}

.linkedin-link:hover {
    transform: scale(1.1);
}

/* CTA Section */
.cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--awary-dark-blue) 0%, #033E7D 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

/* Partners Page Styles */
.partners-hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.partners-hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.partners-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.value-prop {
    padding: var(--space-xl) 0;
    background: var(--surface);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.value-card {
    background: var(--background);
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(2, 46, 91, 0.05);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: rgba(1, 185, 246, 0.1);
    color: var(--awary-light-blue);
}

.value-card h3 {
    margin-bottom: var(--space-sm);
}

.partners-how {
    padding: var(--space-xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

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

.mutual-benefits {
    padding: var(--space-xl) 0;
    background: var(--surface);
}

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

.benefits-content h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.benefit-group h3 {
    color: var(--awary-purple);
    margin-bottom: var(--space-md);
}

.benefit-group ul {
    list-style: none;
    padding: 0;
}

.benefit-group li {
    padding: var(--space-sm) 0;
    padding-left: 2rem;
    position: relative;
}

.benefit-group li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--awary-light-blue);
    font-weight: bold;
}

.partners-cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--awary-dark-blue) 0%, #033E7D 100%);
    color: white;
    text-align: center;
}

.partners-cta h2 {
    color: white;
}

.partners-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

/* Footer */
.footer {
    background: var(--awary-dark-blue);
    color: white;
    padding: var(--space-lg) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo {
    height: 30px;
    width: auto;
    max-width: 120px;
    filter: brightness(0) invert(1);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .mission-content h1 {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
    
    .partners-hero-content h1 {
        font-size: 2rem;
    }
    
    .partners-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-links {
        gap: var(--space-md);
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-sm) 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: var(--space-lg);
    }
    
    .app-screenshot {
        max-width: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links a:not(.btn-primary) {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }
}