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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Top Right Buttons */
.top-right-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 1rem;
    z-index: 1000;
}

.btn-signup, .btn-signin {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-signup {
    background: transparent;
    color: #374151;
    border: 2px solid #9ca3af;
}

.btn-signup:hover {
    background: #f9fafb;
    border-color: #0a5d56;
    color: #0a5d56;
}

.btn-signin {
    background: #0a5d56;
    color: white;
}

.btn-signin:hover {
    background: #064e47;
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 30px 0 30px;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 90vh;
    padding-top: 1rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
}

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

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1.5rem;
    margin-top: 0;
}

.logo-image {
    height: 300px;
    width: auto;
    object-fit: contain;
}

.company-name {
    font-size: 4.5rem;
    font-weight: 800;
    color: #111827;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #111827;
}

.teal-text {
    color: #0a5d56;
}

.hero-text p {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}


.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #0a5d56;
    color: white;
}

.btn-primary:hover {
    background: #064e47;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 93, 86, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #374151;
    border: 2px solid #9ca3af;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #0a5d56;
    color: #0a5d56;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Dashboard Container */
.hero-dashboard {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.dashboard-mockup {
    width: 100%;
    max-width: 1400px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    object-fit: contain;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.4rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid #0a5d56;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #0a5d56;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 4.5rem;
    font-weight: 800;
    color: #111827;
}

.price-period {
    font-size: 1rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkmark {
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.feature-item span:not(.checkmark) {
    color: #374151;
    line-height: 1.5;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f9fafb;
    text-align: center;
}

.about .container {
    text-align: left;
}

/* Feature Showcase */
.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
    margin: 0 auto;
    transform: translateX(-15px);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
    margin: 0 auto;
    position: relative;
    left: -15px;
}

.showcase-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.showcase-item.reverse .showcase-text {
    order: 2;
}

.showcase-item.reverse .showcase-image {
    order: 1;
}

.showcase-text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.showcase-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.description-image, .feature-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Ensure all images load properly */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

.description-image {
    max-width: 700px;
    margin: 0 auto;
}

.feature-screenshot {
    max-width: 800px;
    margin: 0 auto;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a5d56 0%, #064e47 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download .btn-primary {
    background: white;
    color: #0a5d56;
}

.download .btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-2px);
}

.download .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.download .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #0a5d56;
}

.modal-content h2 {
    color: #111827;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a5d56;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Larger screens - fill even more of side margins */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    .hero-container {
        max-width: 1600px;
        padding: 10px 40px 0 40px;
    }
    
    
    .hero-text h1 {
        font-size: 5rem;
    }
    
    .hero-text p {
        font-size: 1.65rem;
    }
    
    .section-header h2 {
        font-size: 4rem;
    }
    
    .section-header p {
        font-size: 1.5rem;
    }
    
    .company-name {
        font-size: 5rem;
    }
    
    .logo-image {
        height: 350px;
    }
    
    .description-image {
        max-width: 800px;
    }
    
    .feature-screenshot {
        max-width: 900px;
    }
    
    .pricing-header h3 {
        font-size: 2.25rem;
    }
    
    .price-amount {
        font-size: 5rem;
    }
    
    .download-content h2 {
        font-size: 4rem;
    }
    
    .download-content p {
        font-size: 1.5rem;
    }
    
    .showcase-item {
        gap: 5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-right-buttons {
        top: 15px;
        right: 15px;
    }
    
    .hero-container {
        padding: 10px 15px 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding-top: 2rem;
    }
    
    .logo-section {
        justify-content: center;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    
    .dashboard-container {
        transform: none;
        margin: 0 auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 2rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .showcase-item, .showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        left: 0;
    }
    
    .showcase-item.reverse .showcase-text,
    .showcase-item.reverse .showcase-image {
        order: unset;
    }
    
    .feature-showcase {
        transform: none;
    }
    
    .description-image, .feature-screenshot {
        max-width: 100%;
        height: auto;
        display: block;
        width: 100%;
    }
    
    .showcase-text, .showcase-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .download-buttons {
        justify-content: center;
        align-items: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .top-right-buttons {
        top: 15px;
        right: 15px;
        gap: 0.5rem;
    }
    
    .btn-signup, .btn-signin {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .logo-image {
        height: 120px;
        flex-shrink: 0;
    }
    
    .company-name {
        font-size: 2rem;
        line-height: 1.2;
        word-break: keep-all;
        flex-shrink: 1;
    }
    
    .logo-section {
        gap: 0.75rem;
        padding: 0 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .description-image, .feature-screenshot {
        max-width: 100%;
        height: auto;
        display: block;
        width: 100%;
    }
    
    .showcase-text, .showcase-image {
        width: 100%;
    }
    
    .feature-showcase {
        gap: 3rem;
    }
    
    .showcase-item {
        padding: 1rem 0;
        left: 0;
    }
    
    .feature-showcase {
        transform: none;
    }
}

/* Additional mobile fixes for very small screens */
@media (max-width: 375px) {
    .company-name {
        font-size: 1.75rem;
    }
    
    .logo-image {
        height: 100px;
    }
    
    .logo-section {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-container {
        padding: 10px 10px 0 10px;
    }
}

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

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-dashboard,
.feature-card {
    animation: fadeInUp 0.8s ease-out;
}
