:root {
    --primary-color: #e74433;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --text-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

/* Navbar */
.navbar {
    background: var(--white);
    color: var(--black);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar .logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 22%;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    padding: 10px 20px;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    background: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--black);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 800;
    transition: background 0.3s;
    border: 2px solid transparent;
    vertical-align: middle;
}

.btn:hover {
    background: #c0392b;
}

/* Features */
.features {
    padding: 4rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    padding: 0 2rem;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height:1.2;
    color: var(--primary-color);
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    max-height: 500px;
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
}

footer .footer-links {
    margin-bottom: 1rem;
}

footer .footer-links a {
    margin: 0 10px;
}

footer .footer-links a:hover {
    color: var(--primary-color);
}

footer p {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Content Pages */
.content-page {
    padding: 4rem 0;
}

.content-page h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.content-page h2 {
    margin: 1.5rem 0 1rem;
}

.content-page p {
    margin-bottom: 1rem;
}

.content-page ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-page ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

code {
    background: var(--gray-light);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
}

pre {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

/* Responsive */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar ul li {
        padding: 1rem 2rem;
        text-align: center;
    }

    .feature-item, .feature-item:nth-child(even) {
        flex-direction: column;
    }

    .feature-text {
        padding: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .storage {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    list-style: none;
}

.pricing-card ul li i {
    color: #2ecc71;
    margin-right: 10px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Utility Classes */
.bg-light {
    background: var(--gray-light) !important;
}

.mt-3 {
    margin-top: 3rem !important;
}

.mt-1-5 {
    margin-top: 1.5rem !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.icon-primary {
    color: var(--primary-color) !important;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.vertical-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vertical-list .pricing-card {
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2.5rem;
    gap: 2rem;
}

.vertical-list .card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 60px;
    display: flex;
    justify-content: center;
}

.vertical-list .card-content {
    flex-grow: 1;
}

.vertical-list .pricing-card h3 {
    margin-bottom: 0.25rem;
}

.vertical-list .pricing-card p {
    margin-bottom: 0;
}

.vertical-list .pricing-card .btn {
    width: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .vertical-list .pricing-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .vertical-list .card-icon {
        margin-bottom: 1rem;
    }

    .vertical-list .pricing-card .btn {
        width: 100%;
        margin-top: 1.5rem;
    }
}

/* Auth Pages */
.auth-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.error-message {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--primary-color);
    font-weight: 800;
}

.forgot-password {
    float: right;
    font-weight: 400;
    font-size: 0.8rem;
}

.message {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.message.error-message {
    color: var(--primary-color);
    display: block;
}

.message.success-message {
    color: #2ecc71;
    display: block;
}


/* Structural Layout */
.body {
    width: 900px;
    margin: 0 auto;
}

/* Grid System for Footer Columns */
.col-md-3 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-md-3 {
        float: left;
        width: 25%;
    }
}

/* Main Footer Container */
.footer { 
    background: #202428; 
    padding: 40px 0 10px 0; 
    border-top: 2px solid var(--primary-color); 
    clear: both;
}

/* Footer List Styling */
.footer ul {
    list-style-type: none; 
    width: 300px; 
    margin: 0 auto;
    padding: 0;
}

.footer ul li {
    margin-bottom: 20px; 
    height: 40px; 
}

/* Icons within Footer */
.footer ul img {
    border-radius: 22%; 
    width: 40px; 
    height: 40px; 
    float: left;
}

/* Footer Links - Updated for Vertical Alignment */
.footer a {
    color: #CFCFCF;
}

.footer ul a {
    color: #CFCFCF; 
    font-size: 24px; 
    margin-left: 10px;
    display: inline-block;  
    line-height: 40px; /* Matches the 40px height of the icon/li for centering */
    vertical-align: middle;
    text-decoration: none;
}

.footer ul a:hover {
    border-bottom: 3px solid #3560B0; 
    padding-bottom: 5px; 
    text-decoration: none;
}

/* Footer Text and Helpers */
.footer p {
    color: #B0B0B0;
    font-size: 20px;
    line-height: 1.6;
    padding-bottom: 10px;
}

.text-center {
    text-align: center;
}

.small {
    font-size: 85%;
}

.spacer {
    clear: both;
}

/* Responsive Adjustments */
@media (min-width: 620px) and (max-width: 920px) {
    .body { width: 600px; }
    .footer ul { width: 460px; }    
}

@media (max-width: 620px) {
    .body { width: 300px; }
    .footer ul { width: 240px; }
}