/* Gateway Proptech Unified Styles - Combines base + professional */
/* External font imports removed (use system fonts + optional local Inter). */

:root {
    /* Gateway Proptech Brand Colors */
    --gateway-blue: #0066CC;
    --tech-gray: #333333;
    --light-gray: #f8f9fa;
    --text-gray: #666666;
    
    /* Spacing */
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    
    /* Shadows */
    --shadow: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Border Radius */
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--tech-gray);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--tech-gray);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo .gateway {
    color: var(--gateway-blue);
}

.logo .proptech {
    color: var(--tech-gray);
}

.phone-link {
    color: var(--gateway-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav > a {
    color: var(--tech-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav > a:hover {
    color: var(--gateway-blue);
}

.phone-btn {
    background: var(--gateway-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

/* Dropdowns */
.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: var(--tech-gray);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.dropdown-btn:hover {
    color: var(--gateway-blue);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--tech-gray);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: var(--light-gray);
    color: var(--gateway-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gateway-blue);
}

/* Hero Section */
.hero {
    background: var(--light-gray);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--tech-gray);
}

.hero .highlight {
    color: var(--gateway-blue);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gateway-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--gateway-blue);
    border-color: var(--gateway-blue);
}

.btn-secondary:hover {
    background: var(--gateway-blue);
    color: white;
}

/* Stats Section */
.stats {
    background: var(--gateway-blue);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features */
.features {
    padding: 5rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--tech-gray);
}

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

.feature-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--gateway-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Services */
.services {
    padding: 5rem 0;
    background: var(--light-gray);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--tech-gray);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-header {
    background: var(--gateway-blue);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.service-content {
    padding: 2rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gateway-blue);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--tech-gray);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--gateway-blue);
}

.footer-section p, .footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        left: 16px;
        right: 16px;
        background: #fff;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        z-index: 1002;
    }

    .main-nav.is-open .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    color: #fff;
    padding: 15px;
    display: none;
    z-index: 2000;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
}

.cookie-text a {
    color: #93c5fd;
}

.cookie-btn {
    padding: 8px 18px;
    border: 0;
    border-radius: 6px;
    background: #22c55e;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 640px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
