/* Logout button style */
.logout-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 10px;
}
.navbar ul li a.logout-btn { color: #fff !important; }
.logout-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f9fafb;
    color: #333;
}

/* Common page spacing and container */
.container{
    max-width:1100px;
    margin:0 auto;
    padding:0 20px;
}

.main-content{
    padding:28px 0; /* vertical breathing for main sections */
}

/* Section utility for consistent spacing */
.section{padding:48px 0}

/* Headings & text spacing */
h1,h2,h3{margin-top:0;margin-bottom:0.8rem;line-height:1.2}

/* Container paragraph styles for readable line-length and spacing */
.container p{
    margin-bottom:1.25rem;
    color:#444;
    line-height:1.7;
    font-size:1rem; 
}

/* List spacing */
ul{margin-top:0.6rem;margin-bottom:1.25rem;padding-left:1.2rem}
ul li{margin-bottom:0.6rem;line-height:1.6}

.card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 6px 18px rgba(2,6,23,0.06)}


/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3da8;
    text-decoration: none;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar ul li a:hover {
    color: #e6e4e4;
}

/* Register Button */
.navbar .btn-register {
    background-color: #1a3da8;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    /* keeps it inline */
}

/* Responsive fix for smaller screens */
@media (max-width: 992px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .navbar .btn-register {
        margin-top: 0.5rem;
    }
}


/* Hero */
.hero {
    text-align: center;
    padding: 140px 20px 80px;
    background: linear-gradient(to right, #eff6ff, #dbeafe);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    max-width: 600px;
    margin: 20px auto;
    color: #555;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

/* Features */
.features {
    padding: 80px 20px;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card img {
    width: 80px;
    margin-bottom: 15px;
}

/* Pricing */
.pricing {
    background: #eff6ff;
    padding: 80px 20px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.price-card.highlight {
    border: 2px solid #2563eb;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #2563eb;
}

.price span {
    font-size: 1rem;
    color: #555;
}

/* Custom bullets for pricing features */
.price-card ul { list-style: none; padding-left: 0; margin-top: 0.8rem }
.price-card li { position: relative; padding-left: 36px; margin-bottom: 0.8rem; line-height:1.6 }
.price-card li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #2563eb; background: transparent; box-sizing: border-box }
.price-card li::after { content: ''; position: absolute; left: 5px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #2563eb }

/* Slight spacing tweak for price subtext in cards */
.price-card .price span { display:block; font-size:0.95rem; color:#555; font-weight:600 }

/* Screenshots feature (static images with description) */
.screenshots-feature { padding-top:28px; padding-bottom:48px }
.shots-grid { display:flex; gap:36px; align-items:center; max-width:1400px; margin:0 auto; width:100% }
.shots-text { flex:1; text-align:left }
.feature-hero { font-size:2.6rem; line-height:1.05; margin:0 0 12px; color:#0f172a; font-weight:800 }
.feature-hero span { color:#2563eb }
.shots-text p, .shots-text .lead { margin-bottom:16px; color:#475569; font-size:1.05rem; line-height:1.6 }
.feature-list { margin:0 0 18px 1.1rem }
.feature-list li { margin-bottom:8px }
.shots-visual { flex:1; display:flex; gap:20px; align-items:center; justify-content:flex-end; position:relative }
.main-shot { width:560px; border-radius:18px; box-shadow:0 22px 50px rgba(2,6,23,0.10); border:1px solid #e6eefc; background:#fff; transform:translateX(40px); z-index:3 }
.small-shots { display:flex; flex-direction:column; gap:12px; position:absolute; right: -60px; top:28%; z-index:2 }
.small-shot { width:240px; border-radius:12px; box-shadow:0 10px 26px rgba(2,6,23,0.07); border:1px solid #eef6ff; background:#fff; transform:translateX(0) }
.small-shots .small-shot:first-child { transform:translateY(-18px) }
.small-shots .small-shot:last-child { transform:translateY(18px) }

/* 3D perspective and hover tilt */
.shots-visual { perspective: 1400px }
.main-shot, .small-shot { transform-style: preserve-3d; transition: transform 400ms ease, box-shadow 300ms ease }
.shots-visual:hover .main-shot { transform: translateX(40px) rotateY(-6deg) rotateX(3deg) }
.shots-visual:hover .small-shot:first-child { transform: translateY(-18px) translateX(-6px) rotateY(-8deg) rotateX(3deg) }
.shots-visual:hover .small-shot:last-child { transform: translateY(18px) translateX(-12px) rotateY(-10deg) rotateX(3deg) }

@media (max-width: 1100px) {
    .shots-grid { flex-direction:column-reverse; gap:18px }
    .shots-visual { align-items:center; position:static }
    .main-shot { width:100%; max-width:520px; transform:none }
    .small-shots { position:static; flex-direction:row; gap:12px }
    .small-shot { width:48%; transform:none }
}


/* Buttons */
.btn-outline { display:inline-block; padding:10px 18px; background:transparent; color:#2563eb; border:2px solid rgba(37,99,235,0.15); border-radius:8px; text-decoration:none; font-weight:600 }
.btn-outline:hover { background:rgba(37,99,235,0.05) }


/* ...existing code... */

/* Validation / flash error styling (small, red) */
.alert {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    color: #155724;
    background: transparent;
    font-size: 0.9rem;
}

.alert-danger {
    color: #c0392b;            /* red text */
    background: transparent;   /* keep design consistent */
    border: none;
    font-size: 0.85rem;        /* slightly smaller text */
    line-height: 1.2;
}

/* list inside the error box */
.alert-danger ul {
    margin: 0.25rem 0 0 1rem;
    padding: 0;
}

.alert-danger li {
    color: #c0392b;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

/* optional: per-field error text if you add small.error under inputs */
.small-error {
    color: #c0392b;
    font-size: 0.78rem;
    margin-top: 0.25rem;
    display: block;
}

/* ...existing code... */

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 20px;
    text-align: center;
}
.footer a {
    color: #93a7c4;
    text-decoration: none;
}