/* Custom styles for LibertyX Bitcoin ATM */

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #102a43;
    background-color: #f0f4f8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

/* Utility classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px -10px rgba(16, 42, 67, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    space-x: 0.5rem;
}

.navbar-brand svg {
    width: 2.5rem;
    height: 2.5rem;
}

.navbar-links {
    display: flex;
    align-items: center;
    space-x: 2rem;
}

.navbar-links a {
    color: #334e68;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-links a:hover {
    color: #16a34a;
}

.navbar-cta {
    background: #22c55e;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.4);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #334e68;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -20rem;
    width: 20rem;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 1.5rem;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #334e68;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    space-y: 1rem;
}

.mobile-menu-links a {
    color: #334e68;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid #d9e2ec;
    transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
    color: #16a34a;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 50%, #f0fdf4 100%);
    overflow: hidden;
    position: relative;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-blob-1 {
    width: 24rem;
    height: 24rem;
    background: #bbf7d0;
    top: -5rem;
    left: -5rem;
}

.hero-blob-2 {
    width: 16rem;
    height: 16rem;
    background: #bcccdc;
    bottom: 5rem;
    right: 5rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    space-x: 0.5rem;
    background: #dcfce7;
    color: #15803d;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 600;
    color: #102a43;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #486581;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-btn-primary {
    background: #22c55e;
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px -10px rgba(16, 42, 67, 0.15);
}

.hero-btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.4);
}

.hero-btn-secondary {
    background: white;
    color: #334e68;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #d9e2ec;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    space-x: 2rem;
    padding-top: 1rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: #102a43;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: #627d98;
}

.hero-stat-divider {
    width: 1px;
    height: 3rem;
    background: #d9e2ec;
}

.hero-image {
    position: relative;
}

.hero-image-frame {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(16, 42, 67, 0.2);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-frame:hover img {
    transform: scale(1.05);
}

.hero-floating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    max-width: 16rem;
    box-shadow: 0 20px 60px -15px rgba(16, 42, 67, 0.2);
}

.hero-floating-card-content {
    display: flex;
    align-items: center;
    space-x: 0.75rem;
}

.hero-floating-card-icon {
    width: 3rem;
    height: 3rem;
    background: #dcfce7;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
}

.hero-floating-card-text {
    display: flex;
    flex-direction: column;
}

.hero-floating-card-title {
    font-weight: 600;
    color: #102a43;
}

.hero-floating-card-subtitle {
    font-size: 0.875rem;
    color: #627d98;
}

/* Services section */
.services {
    padding: 6rem 0;
    background: white;
}

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

.services-header-badge {
    color: #16a34a;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.services-header-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #102a43;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .services-header-title {
        font-size: 3rem;
    }
}

.services-header-description {
    font-size: 1.125rem;
    color: #486581;
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f0f4f8;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 60px -15px rgba(16, 42, 67, 0.25);
}

.service-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #dcfce7;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #16a34a;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #102a43;
    margin-bottom: 1rem;
}

.service-card-description {
    color: #486581;
    line-height: 1.75;
}

/* About section */
.about {
    padding: 6rem 0;
    background: #f0f4f8;
}

.about .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about.reverse .container {
    grid-template-columns: 0.8fr 1.2fr;
}

@media (max-width: 1023px) {
    .about .container,
    .about.reverse .container {
        grid-template-columns: 1fr;
    }
    
    .about.reverse .about-image {
        order: -1;
    }
}

.about-image {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(16, 42, 67, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-badge {
    color: #16a34a;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #102a43;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 3rem;
    }
}

.about-description {
    font-size: 1.125rem;
    color: #486581;
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 1rem;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-stat-value {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: #102a43;
}

.about-stat-label {
    font-size: 0.875rem;
    color: #627d98;
}

/* How it works section */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 4rem;
}

.how-it-works-header-badge {
    color: #16a34a;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.how-it-works-header-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #102a43;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .how-it-works-header-title {
        font-size: 3rem;
    }
}

.how-it-works-header-description {
    font-size: 1.125rem;
    color: #486581;
    max-width: 48rem;
    margin: 0 auto;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
}

.how-it-works-step {
    text-align: center;
}

.how-it-works-step-number {
    width: 5rem;
    height: 5rem;
    background: #dcfce7;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.how-it-works-step-number span {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: #16a34a;
}

.how-it-works-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #102a43;
    margin-bottom: 1rem;
}

.how-it-works-step-description {
    color: #486581;
    line-height: 1.75;
}

/* Location section */
.location {
    padding: 6rem 0;
    background: #102a43;
}

.location .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.location.reverse .container {
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 1023px) {
    .location .container,
    .location.reverse .container {
        grid-template-columns: 1fr;
    }
    
    .location.reverse .location-content {
        order: -1;
    }
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: white;
}

.location-badge {
    color: #86efac;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .location-title {
        font-size: 3rem;
    }
}

.location-description {
    font-size: 1.125rem;
    color: #bcccdc;
    line-height: 1.75;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.location-info-item {
    display: flex;
    align-items: flex-start;
    space-x: 1rem;
}

.location-info-icon {
    width: 3rem;
    height: 3rem;
    background: #22c55e;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.location-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.location-info-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
}

.location-info-subtitle {
    color: #bcccdc;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    space-x: 0.5rem;
    background: #22c55e;
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px -10px rgba(16, 42, 67, 0.15);
    margin-top: 1.5rem;
}

.location-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.4);
}

.location-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.location-map {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(16, 42, 67, 0.2);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 25rem;
    border: 0;
}

/* Contact section */
.contact {
    padding: 6rem 0;
    background: #f0f4f8;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header-badge {
    color: #16a34a;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-header-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #102a43;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-header-title {
        font-size: 3rem;
    }
}

.contact-header-description {
    font-size: 1.125rem;
    color: #486581;
}

.contact-form-container {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 60px -15px rgba(16, 42, 67, 0.2);
}

@media (min-width: 768px) {
    .contact-form-container {
        padding: 3rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334e68;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d9e2ec;
    border-radius: 1rem;
    font-size: 1rem;
    color: #102a43;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    outline: none;
}

.form-input::placeholder {
    color: #9fb3c8;
}

.form-textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    background: #22c55e;
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px -10px rgba(16, 42, 67, 0.15);
}

.form-submit:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.4);
}

.form-success {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success-content {
    display: flex;
    align-items: center;
    justify-content: center;
    space-x: 0.5rem;
}

.form-success svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
}

.form-success p {
    color: #15803d;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #102a43;
    color: white;
    padding: 3rem 0;
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    space-x: 0.5rem;
}

.footer-brand-logo svg {
    width: 2.5rem;
    height: 2.5rem;
}

.footer-brand-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-brand-description {
    color: #bcccdc;
    line-height: 1.75;
}

.footer-heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #bcccdc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #86efac;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #bcccdc;
}

.footer-contact a {
    color: #bcccdc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #86efac;
}

.footer-divider {
    border: none;
    border-top: 1px solid #334e68;
    margin: 2rem 0;
}

.footer-copyright {
    text-align: center;
    color: #9fb3c8;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(1.875rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 0.625rem;
}

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #627d98;
    border-radius: 0.3125rem;
}

::-webkit-scrollbar-thumb:hover {
    background: #486581;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .navbar-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1.5rem;
    }
}
