
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-blue: #5474d4;
    --primary-light: #6b84e0;
    --primary-dark: #3d5ab0;
    --primary-ultra-light: #8fa4f3;
    --bg-blue: #5474d4;
    --bg-card: rgba(255, 255, 255, 0.1);
    --bg-card-hover: rgba(255, 255, 255, 0.15);
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(255, 255, 255, 0.2);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.2);
    --font-family: Poppins, sans-serif;
}

/* poppins-300 - latin-ext_latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    src: local(""), url("./fonts/poppins-v15-latin-ext_latin-300.woff2") format("woff2"), url("./fonts/poppins-v15-latin-ext_latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* poppins-regular - latin-ext_latin */
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: local(""), url("./fonts/poppins-v15-latin-ext_latin-regular.woff2") format("woff2"), url("./fonts/poppins-v15-latin-ext_latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* poppins-600 - latin-ext_latin */
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: local(""), url("./fonts/poppins-v15-latin-ext_latin-600.woff2") format("woff2"), url("./fonts/poppins-v15-latin-ext_latin-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* poppins-700 - latin-ext_latin */
  @font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: local(""), url("./fonts/poppins-v15-latin-ext_latin-700.woff2") format("woff2"), url("./fonts/poppins-v15-latin-ext_latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #5474d4 0%, #6b84e0 25%, #4a63c7 50%, #5d79dd 75%, #5474d4 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(107, 132, 224, 0.3) 0%, transparent 40%);
    animation: patternFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes patternFloat {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(107, 132, 224, 0.3) 0%, transparent 40%);
    }
    50% { 
        background: 
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(61, 90, 176, 0.25) 0%, transparent 40%);
    }
}

/* Navigation */
.navbar {
    padding: 2rem 0;
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-image: url('images/peak_agent_ai_logo_white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-login {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glass);
}


/* Hide the toggle by default (desktop) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Style the three lines of the hamburger */
  .nav-toggle .hamburger {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background-color: var(--text-white);
  }

    .overlay {
        display:none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .overlay.active {
        display:block;
        opacity: 1;
        visibility: visible;
    }


  /* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

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

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-link:hover::after {
    width: 100%;
}

.footer p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Common Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Common Page Styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-hero {
    padding: 6rem 0 4rem 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-white);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.content-section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
    display: block;
  }

  .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #f6f8fd;
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 25px rgba(0,0,0,0.2);
        border-left: 1px solid rgba(255,255,255,0.2);
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        margin-bottom: 0.1rem;
        width: 100%;
        color: var(--primary-blue);
        font-size: 18px;
        font-weight: 600;
        padding: 1rem 0rem;
        border-radius: 12px;
        display: block;
        transition: all 0.3s ease;

    }

    .nav-link.active{
        color: var(--primary-blue);

    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-blue);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 0;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .nav-buttons a{
        width: 100%;
        padding: 1rem 0rem;
    }

    .nav-login {
        color: var(--primary-blue);
        border: 2px solid var(--primary-blue);;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%
    }

    .nav-cta {
        color: var(--primary-blue);
        border: 2px solid var(--primary-blue);;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%
    }

    .page-hero {
        padding: 3rem 0 2rem 0;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 2.3rem;
    }

    .page-hero p {
        font-size: 1.2rem;
        max-width: 400px;
        margin: 0 auto 2rem auto;
        line-height: 1.5;
    }

    .footer-menu {
        gap: 1.5rem;
        flex-direction: column;
    }

    .footer-link {
        font-size: 0.9rem;
    }
}
@media (max-width: 380px) {
    .logo {
        font-size: 1.6rem;
        font-weight: 600;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }
}

/* Cookie Consent */
#cc-main {
    /** Change font **/
    --cc-font-family:  var(--font-family);

    /** Change button primary color **/
    --cc-btn-primary-bg: var(--primary-blue);
    --cc-btn-primary-border-color: var(--primary-blue);
    --cc-btn-primary-hover-bg: var(--primary-light);
    --cc-btn-primary-hover-border-color:var(--primary-light);

    /** Also make toggles the same color as the button **/
    --cc-toggle-on-bg: var(--cc-btn-primary-bg);

    /** Make the buttons a bit rounder **/
    --cc-btn-border-radius: 10px;
}