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

:root {
    --primary-blue: #0A4D68;
    --vibrant-coral: #FF6B6B;
    --electric-teal: #05C7CF;
    --warm-apricot: #FFB084;
    --soft-lavender: #C9B6E4;
    --fresh-mint: #7FEFBD;
    --charcoal: #2D3142;
    --warm-gray: #BFC0C0;
    --off-white: #F8F9FA;
    --pure-white: #FFFFFF;
    --golden-yellow: #FFD93D;
    --deep-purple: #6C5CE7;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--off-white);
    overflow-x: hidden;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


.main-nav {
    background: var(--pure-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    background: var(--pure-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    padding: 2rem 0;
    justify-content: end;
}

#phone {
  width: 100%;
}

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

.nav-menu li {
    padding: 0.75rem 2rem;
}

.nav-menu a {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
}

.nav-menu a:hover {
    color: var(--electric-teal);
}


.hero-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-purple) 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--pure-white);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.btn-primary {
    background: var(--vibrant-coral);
    color: var(--pure-white);
}

.btn-primary:hover {
    background: var(--electric-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(5, 199, 207, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

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

.hero-image-wrapper {
    width: 100%;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--golden-yellow);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    opacity: 0.9;
    margin: 0;
}


.intro-section {
    padding: 4rem 0;
    background: var(--pure-white);
}

.intro-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-text h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.intro-image {
    width: 100%;
}

.rounded-image {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
}


.communities-section {
    padding: 4rem 0;
    background: var(--off-white);
}

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

.section-header h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 700px;
    margin: 0 auto;
}

.community-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    font-size: 2.5rem;
    color: var(--vibrant-coral);
}

.category-header h3 {
    color: var(--primary-blue);
    font-size: 2rem;
}

.category-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.community-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--electric-teal);
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.community-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--electric-teal), var(--vibrant-coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.community-icon i {
    font-size: 1.8rem;
    color: var(--pure-white);
}

.community-card h4 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.community-card p {
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.community-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--soft-lavender);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}


.discord-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.discord-feature {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.discord-feature i {
    font-size: 2.5rem;
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

.discord-feature h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}


.forum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.forum-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid var(--golden-yellow);
}

.forum-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}


.resources-section {
    padding: 4rem 0;
    background: var(--pure-white);
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.resource-major {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--off-white);
    padding: 2rem;
    border-radius: 20px;
}

.resource-image {
    width: 100%;
}

.resource-content h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.resource-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.resource-category {
    margin-bottom: 3rem;
}

.resource-category h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.category-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.blog-card i {
    font-size: 3rem;
    color: var(--vibrant-coral);
    margin-bottom: 1.5rem;
}

.blog-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}


.youtube-section {
    margin-top: 2rem;
}

.youtube-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.youtube-text {
    flex: 1;
}

.channel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.channel-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid var(--vibrant-coral);
}

.channel-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}


.podcast-section {
    margin-top: 2rem;
}

.podcast-intro {
    margin-bottom: 2rem;
}

.podcast-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.podcast-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.podcast-feature {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.podcast-feature i {
    font-size: 2.5rem;
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

.podcast-feature h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}


.visualizers-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.visualizers-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.visualizers-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visualizers-text {
    flex: 1;
}

.visualizers-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.visualization-types {
    margin-top: 3rem;
}

.visualization-types h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.viz-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.viz-type-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.viz-type-card i {
    font-size: 3rem;
    color: var(--golden-yellow);
    margin-bottom: 1.5rem;
}

.viz-type-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.visualization-tools {
    margin-top: 3rem;
}

.visualization-tools h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tools-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tools-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


.contests-section {
    padding: 4rem 0;
    background: var(--pure-white);
}

.contests-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contest-feature {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contest-content h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contest-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contest-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contest-type {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
}

.contest-type i {
    font-size: 2.5rem;
    color: var(--vibrant-coral);
    margin-bottom: 1rem;
}

.contest-type h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.challenge-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}


.opendata-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.opendata-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.opendata-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.opendata-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.dataset-categories h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.dataset-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.dataset-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dataset-card i {
    font-size: 2.5rem;
    color: var(--deep-purple);
    margin-bottom: 1.5rem;
}

.dataset-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.data-usage {
    margin-top: 3rem;
}

.data-usage h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.usage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.usage-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid var(--electric-teal);
}

.usage-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}


.twitter-section {
    padding: 4rem 0;
    background: var(--pure-white);
}

.twitter-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.twitter-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.twitter-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.analyst-categories h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.analyst-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.analyst-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid var(--vibrant-coral);
}

.analyst-card i {
    font-size: 2.5rem;
    color: var(--vibrant-coral);
    margin-bottom: 1.5rem;
}

.analyst-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.following-benefits {
    margin-top: 3rem;
}

.following-benefits h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-point {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
}

.benefit-point i {
    font-size: 2.5rem;
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

.benefit-point h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}


.contact-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--vibrant-coral);
    margin-top: 0.25rem;
}

.info-text h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.info-text p {
    margin: 0;
}

.contact-image {
    margin-top: 2rem;
}


.contact-form-wrapper {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--warm-gray);
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-teal);
    box-shadow: 0 0 0 3px rgba(5, 199, 207, 0.1);
}

.iti {
    width: 100%;
}

.btn-submit {
    padding: 1rem 2rem;
    background: var(--vibrant-coral);
    color: var(--pure-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--electric-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(5, 199, 207, 0.3);
}


.main-footer {
    background: var(--charcoal);
    color: var(--pure-white);
    padding: 3rem 0 1.5rem;
}

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

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

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

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

.footer-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--electric-teal);
}

.footer-contact h4 {
    color: var(--electric-teal);
    margin-bottom: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--vibrant-coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-legal-links a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-legal-links a:hover {
    opacity: 1;
    color: var(--electric-teal);
}

.cookie-settings-link {
    background: none;
    border: none;
    color: var(--electric-teal);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.cookie-settings-link:hover {
    color: var(--vibrant-coral);
}


.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pure-white);
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cookie-content p {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-accept, .btn-reject, .btn-customize {
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.btn-accept {
    background: var(--vibrant-coral);
    color: var(--pure-white);
}

.btn-accept:hover {
    background: var(--electric-teal);
}

.btn-reject {
    background: var(--warm-gray);
    color: var(--charcoal);
}

.btn-reject:hover {
    background: var(--charcoal);
    color: var(--pure-white);
}

.btn-customize {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-customize:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
}


.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
    overflow-y: auto;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: var(--pure-white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--warm-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--pure-white);
    z-index: 1;
}

.cookie-modal-header h2 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 1.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--charcoal);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--warm-gray);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-header h3 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 1.2rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--warm-gray);
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--electric-teal);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category p {
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--warm-gray);
    position: sticky;
    bottom: 0;
    background: var(--pure-white);
}

.btn-save {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--vibrant-coral);
    color: var(--pure-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save:hover {
    background: var(--electric-teal);
}


.legal-section {
    padding: 4rem 0;
    background: var(--pure-white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-date {
    color: var(--warm-gray);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-block {
    margin-bottom: 3rem;
}

.legal-block h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-block h3 {
    color: var(--charcoal);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-block p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-block ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-block li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.contact-details {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow-x: auto;
    display: block;
}

.cookie-table thead {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--warm-gray);
}

.cookie-table tbody tr:nth-child(even) {
    background: var(--off-white);
}

.cookie-settings-cta {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.cookie-settings-cta h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}


.thanks-section {
    padding: 4rem 0;
    background: var(--off-white);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--electric-teal);
    margin-bottom: 2rem;
}

.thanks-content h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.thanks-message {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--charcoal);
}

.thanks-info {
    margin-bottom: 3rem;
}

.thanks-info h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

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

.step {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.step i {
    font-size: 2.5rem;
    color: var(--vibrant-coral);
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--charcoal);
    margin: 0;
}

.thanks-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.thanks-contact {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.thanks-contact h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--electric-teal);
    margin-top: 1rem;
}

.phone-number i {
    margin-right: 0.5rem;
}


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

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
    }

    .nav-menu li {
        padding: 0;
    }

    .hero-grid {
        flex-direction: row;
        align-items: center;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

    .hero-image-wrapper {
        flex: 1;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn-primary, .btn-secondary {
        width: auto;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .intro-grid {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .intro-text {
        flex: 1;
    }

    .intro-image {
        flex: 1;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discord-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .forum-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .podcast-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .viz-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contest-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .dataset-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .analyst-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cookie-buttons {
        flex-direction: row;
    }

    .btn-accept, .btn-reject, .btn-customize {
        width: auto;
        flex: 1;
    }

    .next-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .thanks-cta {
        flex-direction: row;
        justify-content: center;
    }

    .cookie-table {
        display: table;
    }
}


@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discord-info {
        grid-template-columns: repeat(3, 1fr);
    }

    .forum-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .resource-major {
        flex-direction: row;
        align-items: center;
    }

    .resource-image {
        flex: 1;
    }

    .resource-content {
        flex: 1;
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .youtube-intro {
        flex-direction: row;
        align-items: center;
    }

    .youtube-intro img {
        flex: 1;
    }

    .youtube-text {
        flex: 1;
    }

    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .podcast-content {
        flex-direction: row;
        align-items: center;
    }

    .podcast-intro {
        flex: 1;
    }

    .podcast-features {
        flex: 1;
        grid-template-columns: 1fr;
    }

    .visualizers-intro {
        flex-direction: row;
        align-items: center;
    }

    .visualizers-intro img {
        flex: 1;
    }

    .visualizers-text {
        flex: 1;
    }

    .viz-type-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tools-content {
        flex-direction: row;
        align-items: center;
    }

    .tools-content img {
        flex: 1;
    }

    .tools-text {
        flex: 1;
    }

    .contest-feature.reverse {
        flex-direction: row-reverse;
    }

    .contest-feature img {
        flex: 1;
    }

    .contest-content {
        flex: 1;
    }

    .opendata-intro {
        flex-direction: row;
        align-items: center;
    }

    .opendata-intro img {
        flex: 1;
    }

    .opendata-text {
        flex: 1;
    }

    .dataset-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .usage-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .twitter-intro {
        flex-direction: row;
        align-items: center;
    }

    .twitter-intro img {
        flex: 1;
    }

    .twitter-text {
        flex: 1;
    }

    .analyst-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .benefits-content {
        flex-direction: row;
        align-items: center;
    }

    .benefits-content img {
        flex: 1;
    }

    .benefits-list {
        flex: 1;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cookie-consent {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(100%);
        max-width: 600px;
        border-radius: 20px 20px 0 0;
    }

    .cookie-consent.active {
        transform: translateX(-50%) translateY(0);
    }
}


@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
}


@media print {
    .main-nav,
    .cookie-consent,
    .cookie-modal,
    .footer-bottom button {
        display: none;
    }

    body {
        background: white;
    }

    .legal-content {
        max-width: 100%;
    }
}