/* Landing Page Styles - Matching Crescent Energy Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Crescent Energy brand colors from website */
    --primary-blue: #1193d4;
    --text-dark: #4c4c4c;
    --text-black: #000000;
    --bg-white: #ffffff;
    --footer-bg: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
}

/* ============================================
   COMPACT BLUE HEADER (matching /bots)
   ============================================ */

.landing-header {
    background: #1193d4;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    height: 40px;
}

.landing-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.landing-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.landing-header-left:hover {
    opacity: 0.85;
}

.landing-header-icon {
    height: 28px;
    width: 28px;
    object-fit: contain;
}

.landing-header-divider {
    width: 1px;
    height: 24px;
    background: rgba(59, 130, 246, 0.3);
}

.landing-header h1 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
    color: white;
}

.landing-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-header-icons {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 4px;
}

.landing-header-icon-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-header-icon-btn:hover:not(:disabled) {
    background: rgba(96, 165, 250, 0.5);
    color: white;
}

.landing-header-icon-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.main-content {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tiles Container */
.tiles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

/* Individual Tile */
.tile {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 260px;
    height: 260px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tile::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.tile:hover::before {
    opacity: 1;
}

.tile:hover::after {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Tile Colors */
.tile-purple {
    background: linear-gradient(135deg, #10a37f 0%, #0d8968 100%);
    color: white;
}

.tile-blue {
    background: linear-gradient(135deg, #1193d4 0%, #0d7ab8 100%);
    color: white;
}

/* Tile Icon */
.tile-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tile:hover .tile-icon {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.tile-icon svg {
    width: 40px;
    height: 40px;
}

/* Tile Title */
.tile-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: white;
}

/* Tile Description */
.tile-description {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* ============================================
   FOOTER STYLES - Matching crescentenergyco.com
   ============================================ */

.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    padding: 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-blue);
}

.footer-address {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
}

.footer-address a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-address a:hover {
    color: #0d7ab8;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal p {
    font-size: 13px;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-links .separator {
    color: var(--border-color);
}

.footer-social a {
    color: var(--primary-blue);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: #0d7ab8;
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        padding: 0 20px;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .top-bar-nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar-icons {
        order: -1;
        width: 100%;
        justify-content: flex-end;
    }

    .header-container {
        padding: 16px 20px;
        flex-direction: column;
        gap: 20px;
    }

    .header-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
    }

    .main-content {
        padding: 40px 20px;
    }

    .tiles-container {
        flex-direction: column;
        gap: 20px;
    }

    .tile {
        padding: 35px 20px;
        flex: 0 0 auto;
        max-width: 100%;
    }

    .tile-icon {
        width: 90px;
        height: 90px;
    }

    .tile-icon svg {
        width: 55px;
        height: 55px;
    }

    .tile-title {
        font-size: 22px;
    }

    .tile-description {
        font-size: 13px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .header-nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 13px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
