/*
Theme Name: VerifiNow Payments
Theme URI: https://www.getverifinow.com
Description: Identity-bound payment gateway WordPress theme
Version: 2.0
Author: VerifiNow Inc.
Author URI: https://www.getverifinow.com
License: GPL v2 or later
Text Domain: verifinow
*/

/* ===== ROOT VARIABLES ===== */
:root {
    --brand-green: #1B6D3F;
    --brand-green-dark: #0D4620;
    --accent-blue: #0066FF;
    --accent-blue-dark: #0052CC;
    --light-blue: #E8F4FF;
    --white: #FFFFFF;
    --light-gray: #F7F9FB;
    --dark-text: #1F2937;
    --muted-text: #6B7280;
    --border-gray: #D1D5DB;
    --success-green: #10B981;
    
    --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* ===== RESET & TYPOGRAPHY ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark-text);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-blue-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { 
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 16px 24px;
}

.site-logo {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: fit-content;
}

.site-logo a {
    color: var(--brand-green);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo img {
    max-width: 160px;
    height: auto;
}

/* ===== DESKTOP NAVIGATION ===== */
.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    color: var(--muted-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav .current-menu-item > a {
    color: var(--brand-green);
}

.desktop-cta {
    background: var(--brand-green);
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.desktop-cta:hover {
    background: var(--brand-green-dark);
}

/* ===== MOBILE MENU TOGGLE BUTTON ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    margin: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-navigation.active {
    display: block;
}

.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-navigation li {
    border-bottom: 1px solid var(--light-gray);
}

.mobile-navigation li:last-child {
    border-bottom: none;
}

.mobile-navigation a {
    display: block;
    padding: 16px 0;
    color: var(--dark-text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-navigation a:hover,
.mobile-navigation .current-menu-item > a {
    color: var(--brand-green);
}

.mobile-nav-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--light-gray);
}

.mobile-cta {
    background: var(--brand-green);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.mobile-cta:hover {
    background: var(--brand-green-dark);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 12px 16px;
    }

    .site-logo img {
        max-width: 120px;
    }

    .desktop-nav {
        display: none;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .site-logo {
        order: 1;
        flex: 1;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero .gradient-text {
    background: linear-gradient(90deg, var(--brand-green) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero > p {
    font-size: 18px;
    color: var(--muted-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--brand-green);
    color: white;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--brand-green-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--brand-green);
    border: 2px solid var(--brand-green);
    background: transparent;
    padding: 10px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--light-gray);
}

/* ===== SECTION STYLING ===== */
.section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-light-bg {
    background: var(--light-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header > p {
    font-size: 16px;
    color: var(--muted-text);
}

.section-header .highlight {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-green);
    margin-top: 20px;
    line-height: 1.4;
}

/* ===== CARDS SECTION ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--brand-green);
    margin-bottom: 8px;
    font-size: 18px;
}

.card p {
    color: var(--muted-text);
    font-size: 14px;
    margin-bottom: 0;
}

.stat-badge {
    display: inline-block;
    background: var(--brand-green);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background: var(--light-blue);
    border-radius: 16px;
    padding: 40px;
    margin-top: 32px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.step {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-green), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
    margin: 0 auto 12px;
}

.step h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
}

.step p {
    color: var(--muted-text);
    font-size: 13px;
    margin-bottom: 0;
}

/* ===== FEATURE ITEMS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: inline-block;
}

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.feature-item p {
    color: var(--muted-text);
    font-size: 14px;
    margin-bottom: 0;
}

/* ===== PROOF POINTS ===== */
.proof-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.proof-point {
    padding: 20px;
    background: var(--white);
    border-left: 4px solid var(--success-green);
}

.proof-point h4 {
    color: var(--dark-text);
    margin-bottom: 8px;
    font-size: 16px;
}

.proof-point p {
    color: var(--muted-text);
    font-size: 13px;
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--brand-green);
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    margin-top: 60px;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 2rem;
}

.cta-button-white {
    background: white;
    color: var(--brand-green);
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
    padding: 48px 24px 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    margin-bottom: 16px;
    color: var(--dark-text);
    font-size: 14px;
}

.footer-section a {
    display: block;
    margin-bottom: 8px;
    color: var(--muted-text);
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--brand-green);
}

.footer-section p {
    font-size: 13px;
    color: var(--muted-text);
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-gray);
    padding-top: 24px;
    text-align: center;
    color: var(--muted-text);
    font-size: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FORM STYLES ===== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    color: var(--dark-text);
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    background: var(--white);
    border-color: var(--brand-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 109, 63, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== PAGE STYLES ===== */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    color: var(--muted-text);
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2 {
    margin-top: 48px;
    margin-bottom: 24px;
}

.entry-content h3 {
    margin-top: 36px;
    margin-bottom: 16px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1000px) {
    .cards-grid,
    .features-grid,
    .why-section {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proof-points {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .main-navigation {
        display: none;
        flex-basis: 100%;
    }
    
    .hero {
        padding: 60px 24px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero > p {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 16px;
    }
    
    .section-header .highlight {
        font-size: 20px;
    }
    
    .cta-section {
        padding: 40px 16px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .section-header .highlight {
        font-size: 18px;
    }
}
