:root {
    /* Brand Colors extracted from Logo */
    --brand-navy: #1d466b; /* Matches "CRACK" */
    --brand-sky:  #50b9e9; /* Matches "DAWN" */
    --brand-yellow: #ffeb3b;
    --primary:    #f39c12; /* Matches the Sun Icon */
    
    --primary-dark: #d35400;
    --text:       #2c3e50;
    --text-light: #7f8c8d;
    --bg:         #ffffff;
    --bg-alt:     #f8f9fa;
    --dark-bg:    #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg);
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
/* Update global text styles to use Navy for headers */
h1, h2, h3, h4 {
    color: var(--brand-navy);
}

/* Navbar Hover Effect - Change to Sky Blue */
.nav-links a:hover { 
    color: var(--brand-sky); 
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn:hover{color:white;}

.btn-primary {
    background-color: var(--brand-sky);
    color: white;
}
.btn-primary:hover { background-color: var(--brand-navy); transform: translateY(-2px); color:white;}

/* Block button for full width */
.btn-block {
    display: block;
    width: 100%;
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-secondary:hover { background-color: var(--primary); color: white; }

.highlight { color: var(--primary); }

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* FIX: Added display flex to allow sizing and better alignment */
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    max-width: 300px; 
    text-decoration: none; /* Ensure no underline */
}

/* NEW: Style for the logo image */
.logo img {
    height: 40px; /* Constrain height to fit navbar */
    width: auto;  /* Maintain aspect ratio */
    margin-right: 2px; /* Small gap before trademark if needed */
}

.logo span { color: var(--brand-sky); }

.nav-links a {
    margin-left: 25px;
    font-weight: 500;
    color: var(--text);
}

.nav-links a:hover { color: var(--brand-sky); }
.nav-links a .btn:hover{
    color: white;
}
.nav-links .btn { margin-left: 25px; color: white; }

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('images/dawn.png');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content { flex: 1; }

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-sub {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons { display: flex; gap: 15px; }

.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    border-color: white;
}

.hero-image { flex: 1; display: flex; justify-content: center; }

.product-mockup {
    width: 100%;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    drop-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.fineprint{
    text-align: left;
    font-size:0.8rem;
}

/* --- SHARED SPOTLIGHT SECTION STYLES (Dashboard & History) --- */
.dashboard-section, .history-section {
    padding: 80px 0;
}

.dashboard-section { background-color: var(--bg-alt); }
.history-section { background-color: var(--bg-alt); } /* Can toggle to white if desired */

.spotlight-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Reverse layout for History section to create zig-zag */
.spotlight-layout.reverse {
    flex-direction: row-reverse;
}

.spotlight-info {
    flex: 1;
}

.spotlight-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.spotlight-info .lead {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.dashboard-legend {
    list-style: none;
    margin: 25px 0;
}

.dashboard-legend li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text);
}

.dashboard-legend .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
}

.dashboard-legend .check-icon {
    margin-right: 12px;
    color: var(--primary);
    font-size: 1.1rem;
}

.dashboard-legend .dot.blue { background-color: #50b9e9; }
.dashboard-legend .dot.dark { background-color: #1d466b; }
.dashboard-legend .dot.yellow { background-color: #FFEB3B; border: 1px solid #ccc;}
.dashboard-legend .dot.orange { background-color: #FF5722; }

.spotlight-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* --- APP SCREENSHOT CARDS --- */
.app-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 350px; /* Adjusted to match UI feel */
    width: 100%;
    position: relative;
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    /* border: 1px solid #eee; */
}

.app-card .caption {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .spotlight-layout, .spotlight-layout.reverse {
        flex-direction: column-reverse;
        text-align: center;
    }
    .dashboard-legend {
        display: inline-block;
        text-align: left;
    }
}
/* ----------------------------------- */

/* Features */
.features { padding: 80px 0; background: white; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.icon-box {
    width: 60px;
    height: 60px;
    background: #fff5e6;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-light); }

/* How It Works */
.steps {
    background: var(--dark-bg);
    color: var(--brand-sky);
    font-weight: 600;
    padding: 80px 0;
}
.steps .section-header p { color: #aaa; }
.steps .section-header h2 {
    color: var(--brand-sky); /* "Simple Setup. Powerful Results." */
}

.step h3 {
    color: var(--brand-yellow); /* "Install", "Connect", "Configure" */
}

.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.step { flex: 1; min-width: 250px; }

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--brand-yellow);
    color: var(--brand-navy);
    font-size: 24px;
    font-weight: bold;
    line-height: 50px;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Specs */
.specs { padding: 60px 0; background: var(--bg-alt); }
.specs-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.specs-box h2 { margin-bottom: 20px; }
.specs-box ul { list-style: none; }
.specs-box li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.specs-box li:last-child { border-bottom: none; }

/* NEW PRICING STYLES */
.pricing { padding: 80px 0; background: #fff; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Highlight the "Popular" or Kit option */
.pricing-card.popular {
    border: 2px solid var(--primary);
    background: #fffcf5;
}

.pricing-card:hover { transform: translateY(-5px); }

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text);
}

.pricing-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text);
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-features i {
    color: var(--primary);
    margin-right: 10px;
}
/* Container spacing */
.requirements-footer {
    margin-top: 20px; /* Added a bit more space from the button */
    text-align: left;
    color: #666; 
}

/* Remove default list styling */
.requirements-list {
    list-style-type: none; /* Removes the default black dot */
    padding-left: 0;       /* Clears default browser padding */
    margin: 10px 0 0 5px;  /* Adjust margins as needed */
}

/* Prepare the list item for a custom icon */
.requirements-list li {
    position: relative;    /* Needed to anchor the custom box */
    padding-left: 28px;    /* Make space for the box so text doesn't overlap */
    margin-bottom: 6px;    /* Spacing between items */
    line-height: 1.5;
}

/* DRAW THE EMPTY ORANGE BOX */
.requirements-list li::before {
    content: '';           /* Required for pseudo-elements to render */
    position: absolute;    /* Allows us to place it precisely */
    left: 0;               /* Stick it to the left side */
    top: 3px;              /* Adjust down slightly to align with text center */
    
    /* Define the box shape and color */
    width: 16px;
    height: 16px;
    border: 2px solid orange; /* Change 'orange' to your brand hex code if desired */
    background-color: transparent; /* Ensures it's empty inside */
    box-sizing: border-box; /* Keeps the size consistent */
    border-radius: 3px;     /* Slight rounding so it doesn't look like a 1990s website */
}

/* Link styling within the list */
.requirements-list a {
    text-decoration: none;
    color: #555;
    border-bottom: 1px dotted #999; /* A subtle dotted underline for links */
}

.requirements-list a:hover {
    color: orange; /* Highlight text orange on hover */
    border-bottom: 1px solid orange;
}
/* FAQ */
.faq { padding: 80px 0; background: var(--bg-alt); }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.faq-item h4 { margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { color: var(--text-light); }

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col h3 { color: var(--primary); margin-bottom: 20px; }
.footer-col a { display: block; color: #aaa; margin-bottom: 10px; }
.footer-col a:hover { color: white; }

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .nav-links { display: none; } 
    .pricing-card { margin-bottom: 20px; }
}

/* Mobile */
@media (max-width: 500px) {
    .logo {
        max-width: 200px; 
    }
}