:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --background-color: #f9fafb;
    --border-color: #e5e7eb;
    --vpn-card-bg: #ffffff;
    --vpn-button-bg: #2563eb;
    --vpn-button-hover: #1d4ed8;
    --tagline-color: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--tagline-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.ip-display {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

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

.info-section:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    min-width: 120px;
}

.info-value {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    word-break: break-all;
    flex: 1;
}

#ip-address {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.copy-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.copy-button:hover {
    background: var(--vpn-button-hover);
}

.copy-button.copied {
    background: var(--success-color);
}

.education-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    margin-bottom: 1rem;
}

.education-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.content-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.example-box {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border: 1px solid #dbeafe;
}

.ip-types {
    margin: 1.5rem 0;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.type-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

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

.type-card code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    display: block;
    margin: 0.75rem 0;
    font-size: 0.875rem;
}

.type-detail {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.importance-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.importance-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ip-classes {
    margin: 1.5rem 0;
}

.class-table {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.class-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.class-table th,
.class-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.class-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.class-table tr:nth-child(even) {
    background: #f1f5f9;
}

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

.comparison-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.comparison-card.public {
    border-left: 4px solid #ef4444;
}

.comparison-card.private {
    border-left: 4px solid #10b981;
}

.comparison-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.comparison-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.comparison-card li {
    margin-bottom: 0.5rem;
}

.example {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.security-content {
    margin: 1.5rem 0;
}

.security-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
}

.security-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.security-content li {
    margin-bottom: 0.5rem;
}

.protection-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.method {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.method h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

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

.dynamic-info,
.static-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.dynamic-info h3 {
    color: #f59e0b;
}

.static-info h3 {
    color: #8b5cf6;
}

.dynamic-info ul,
.static-info ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.dynamic-info li,
.static-info li {
    margin-bottom: 0.5rem;
}

.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-color);
}

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

.tool-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.tool-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

.tool-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tool-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.tool-button:hover {
    background: var(--vpn-button-hover);
}

.tool-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    min-height: 3rem;
}

.tool-result.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.tool-result.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.tool-result.info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.vpn-recommendations {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

.vpn-recommendations h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.vpn-intro {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.vpn-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.vpn-card {
    background: var(--vpn-card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    max-width: 400px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vpn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.vpn-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.vpn-features {
    margin-bottom: 2rem;
}

.vpn-features ul {
    list-style: none;
    padding: 0;
}

.vpn-features li {
    margin-bottom: 0.75rem;
    color: #374151;
}

.vpn-button {
    display: inline-block;
    background: var(--vpn-button-bg);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.vpn-button:hover {
    background: var(--vpn-button-hover);
}

/* Content Section Styles for Privacy and Terms Pages */
.content-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.25rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.content-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: #6b7280;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .ip-display,
    .education-section,
    .vpn-recommendations,
    .content-section {
        padding: 1.5rem;
    }
    
    .type-grid,
    .importance-grid,
    .comparison-grid,
    .ip-dynamics,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .copy-button {
        align-self: flex-start;
    }
    
    .class-table {
        overflow-x: auto;
        font-size: 0.875rem;
    }
    
    .class-table th,
    .class-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .ip-display,
    .education-section,
    .vpn-recommendations,
    .content-section {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
} 